Jump to content

[SOLVED] How to re-size the table row bg height of featured product?


Recommended Posts

Hi everyone,

As I tried to re-size the height of the table row of the Featured Product on homepage
and has ended up that the bg color does not change to the table row's height which has
sticking out half way down to the next row as you can see in the attachment.

Could someone help me please? Thanks in advanced.


The following highlighted code has been changed in red.


<!-- MODULE Home Featured Products -->


{l s='Featured products' mod='homefeatured'}


{if isset($products) AND $products}

{assign var='liHeight' value=180}
{assign var='nbItemsPerLine' value=4}
{assign var='nbLi' value=$products|@count}
{assign var='nbLines' value=$nbLi/$nbItemsPerLine|ceil}
{assign var='ulHeight' value=$nbLines*$liHeight}

  • ----------------------------------------------------------------------------------------------------

    I've played around with value on this line below and fixed the problem.

    {assign var=‘liHeight’ value=180}

38595_HdBFyRYTSB3HuwmJNJVu_t

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...