• Resolved rusticartistry

    (@rusticartistry)


    Just added the plugin and it is working great at pulling in products related by Tag. However, I added the above code to functions.php but still got 2 rows with 3 columns, instead of 1 row with 6 columns. (Also the code itself showed at the top of the website, so I had to remove it.)

    Any suggestions for how to get 1 row with 6 products? I want much smaller thumbnails of the product images in the Related Products section.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Vagelis

    (@eboxnet)

    Hello again and thanks for opening a new one.
    The fact that the code was getting displayed on the front end means that code didn’t run at all.

    Are you familiar with editing functions.php ?
    Any chance you pasted the code after a PHP closing tag ?

     ?>
    
    • This reply was modified 5 years, 4 months ago by Vagelis.
    Plugin Author Vagelis

    (@eboxnet)

    Ahh I see you use Flatsome theme as well, the code you tried was for the carousel.
    Try adding this to your child theme’s style.css

    .woo-related-products-container .large-columns-4>.col {
        max-width: 16.66667%!important;
    }
    Thread Starter rusticartistry

    (@rusticartistry)

    I added the css to my theme, no change yet. Do I also need to add the php code?

    Plugin Author Vagelis

    (@eboxnet)

    No, you don’t.
    Let’s try this one

    .woo-related-products-container .col {
        max-width: 16.66667%!important;
    }
    • This reply was modified 5 years, 4 months ago by Vagelis.
    Plugin Author Vagelis

    (@eboxnet)

    You can also add this to fix the container’s width

    .woo-related-products-container {
        max-width: 1040px;
        margin: 0 auto;
    }
    Thread Starter rusticartistry

    (@rusticartistry)

    That worked like a charm!! Thank you

    Plugin Author Vagelis

    (@eboxnet)

    Thanks for letting me know.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Create 1 row of 6 columns’ is closed to new replies.