How to center featu…
 
Notifications
Clear all

How to center featured products in module template

1 Posts
1 Users
0 Reactions
155 Views
(@cipher5)
Posts: 152
Member Admin
Topic starter
 

Use align attribute or an html code.
find the featured.tpl file located: catalog/view/theme/default/template/module and open the featured.tpl file. Another place it can be is
in the controller file, but the featured.tpl is where the featured module gets
its front end display view from. Remember to find the string of code where its
pulling both the image and product name text. It will look something like,

[PHP]

<a href="”><img src="” alt=”” />
<a href="”>

<img src="catalog/view/theme/default/image/stars-.png” alt=”” />
<input type="button" value="” onclick=”addToCart(”);” class=”button” />

[/PHP]

 
Posted : 17/02/2020 12:32 pm
Share: