• Resolved HumbleApprentice

    (@humbleapprentice)


    I am using WooCommerce with Wootique Theme. On the product page, which is the index page, I am trying to have only 2 images on the same line. When I add the 3rd image it does not go to a new line but sits on the same line with the other 2 images. If I try to enlarge the images they cover each other. I do not know how to specific in the code that I only want 2 images on a line.

    I tried different adjustment in my custom CSS style sheet but nothing is working.

    The code below was given for a similar question, but I do not know if it will solve my problem since I would like to have 2 images and not 1 on the same line. I would like to have the 3rd and 4th images on a new line, the 5th and 6th on a new line etc.

    {assign var=lines value=”\n”|explode:$product.description|strip_tags}

      {foreach key=k item=line from=$lines}

    • {$line}
    • {/foreach}

    If this is the correct code, where would I put it?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘WooCommerce, Wootique, product images not aligning vertically’ is closed to new replies.