Results 1 to 9 of 9

Thread: Columns in Isotope

  1. #1
    New user
    Join Date
    12-04-12.
    Posts
    24

    Default Columns in Isotope

    This is my first attempt using Isotope and was wondering how to get several columns for the product list instead of one.

    When I created the module it has an option to "Enter a number of columns to display width-wise in the listing template." so I entered 4 expecting 4 columns in each row.

    Obviously this didn't work.

    Does this have to be done with CSS?
    If it does where can I go to learn this or can someone help me out?

    Thanks
    Don

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Columns in Isotope

    Not sure about this being "columnized" automatically, but you should inspoect the products classes. If you set column size to 4, then each forth column will have the class col_last, each 4th+1 will be col_first and many more handy column names (like col_0, col_1, col_even and everything for rows as well). With those you should be able to style the columns.

    I couldn't find any col_ or row_ classes, so I guess this has to be done manually. I had not expected that, though it is hard to apply a general css that works for everyone...

  3. #3
    New user
    Join Date
    12-04-12.
    Posts
    24

    Default Re: Columns in Isotope

    Thanks Rudd

    It worked great!

  4. #4
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Columns in Isotope

    Ruud. Common English mistake!

  5. #5
    New user
    Join Date
    12-04-12.
    Posts
    24

    Default Re: Columns in Isotope

    Sorry for the error Ruud.

    Thanks again for your help.

    Can I ask you one more question?
    How do you line up the thumbnails in the details page under the main image?

    thanks for everything in advance.

  6. #6
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Columns in Isotope

    Depends on your html. Need more info.

    Usually some floating and positioning...

  7. #7
    New user
    Join Date
    12-04-12.
    Posts
    24

    Default Re: Columns in Isotope

    All I have done is take the Music Academy template and put the Isotope eCommerce module in it under the public_html/ file of my server.

    This is my first time with Isotope and am trying to learn how to format it.
    Do you know where I might find a tutorial or even a good class to take?

    Any help you can offer is greatly appreciated.

    Thanks in advance.

  8. #8
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Columns in Isotope

    What you are trying to do has little to do with Isotope itself. Yes, because it is Isotope I know what the HTML looks like, but you are asking help with CSS. So, look at the HTML that is generated and construct the CSS you need based on that. All Isotope templates contain enough class names and id's for you to select elements from, and Contao by default allows you to add any id/class to any module/element.

    Sorry, but I don't have any Isotope shop with thumbnail gallery and in the default template there is no container around the code that generates the thumbnail gallery (probably because the code generates the container). So I can't give you ready made code if you do not give me the html.

    You should read up on CSS, otherwise working with Contao/Isotope might become frustrating. Knowing HTML/CSS I think is required, PHP is helpful.

  9. #9
    New user
    Join Date
    12-04-12.
    Posts
    24

    Default Re: Columns in Isotope

    Thank you for your time. I appreciate it.

    Don

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •