How can I have a DIV under another DIV?
17:17 27 May 2026

I have a module, which presents all my products on the home page (prestashop). Each product category is in a DIV. My problem is that the DIVs appear next to each other, instead of one under/after the other.

The URL is: https://uat.westcoastrhythmics.com/ - I would like the ROPES category to show under the RIBBONS category etc. Please see what I mean in the attached image.

The DIV code is this:

{foreach from=$blocks item=block}
    

{if $block->head_url==1}{/if}{$block->name|escape:'html':'utf-8'}{if $block->head_url==1}{/if}{if $block->carousell_controls==1 && $block->carousell==1}{/if}

{if isset($block->products) && $block->products}
    {foreach from=$block->products item="product"}
  • {include file=$hpp_customtplpath product=$product}
  • {/foreach}
{else}
  • {l s='No products at this time.' mod='hpp'}
{/if}
{/foreach}

Thank you for any help.

html prestashop