Post by nic3108 » Wed Mar 18, 2015 9:57 pm

Hi, I have bought a theme, which I have been adding to/changing. I would like to change the border around the products for (I think it's the 'product-list'). I prefer the default template, which has a thin grey border but this theme has wider border. I can't find where to change it in the css.
Default page: http://demo.opencart.com/index.php?rout ... ry&path=33

Any ideas?
Thank you.

Newbie

Posts

Joined
Thu Nov 05, 2009 10:55 pm

Post by labeshops » Wed Mar 18, 2015 10:25 pm

Easiest way to figure this out is to view the source code for the page and see what class is called for what you want to change.

You can also install a browser extension like firebug that lets you highlight a part of the page and view the code for that section.

If the template you bought follows the same as the default names, you are probably looking for the product-grid section which is what displays the products as the boxes. product-list is used when you view the list version instead of grid.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by nic3108 » Wed Mar 18, 2015 10:40 pm

Thank you for your reply. This is what I have done. I use the source code, then refer to the css. In product-list and product-grid, I can't find css anywhere that has 'border:' for a 4-sided border, with width. Have looked through the stylesheet.css many times with no answer! Wondered if anyone has changed this and knows where it would be? Thank you.

Newbie

Posts

Joined
Thu Nov 05, 2009 10:55 pm

Post by labeshops » Wed Mar 18, 2015 10:48 pm

It's impossible to say what a 3rd party template uses for their code. If you want to give a link to your site, it might help.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by nic3108 » Thu Mar 19, 2015 12:31 am


Newbie

Posts

Joined
Thu Nov 05, 2009 10:55 pm
Who is online

Users browsing this forum: No registered users and 5 guests