Hello,
I try to display 3 featured products in a row.
Instead of modifying .CenteredContent I added a new class .33-prozent
Code:
.33-prozent{width:33%!important;}
and modified modules/featured_products.php
Code:
$list_box_contents[$row][$col] = array('params' =>'class="centerBoxContentsFeatured centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
Code:
$list_box_contents[$row][$col] = array('params' =>'class="centerBoxContentsFeatured centeredContent back 33-prozent"' . ' ' . 'style="width:' . $col_width . '%;"',
In chrome inspector the class is being displayed at the "Elements" view but not at the "Styles" view.
Or is another approach better for this?
Bookmarks