Post by nickiflex » Wed Aug 17, 2016 4:49 am

I'm using version 2.2.0 When I go into the template settings to adjust the image size, the size doesnt seem to change for category images. the default is 200 x 200 when I change to 150 x 150 the image being used is still the 200x200 How can I fix this so it uses the category image size that I set?

Newbie

Posts

Joined
Sat May 23, 2015 3:50 am

Post by algeriano » Wed Aug 17, 2016 5:09 am

Have the same problem hope someone can assist

Salafi bookshop - Hadith books - Islamic Bookshop - Librairie musulmane - Librairie salafi
Last edited by algeriano on Wed Apr 18, 2018 7:39 am, edited 1 time in total.

Cigarette electronique Grossiste - E liquide Grossiste - Joyetech Grossiste - Kangertech Grossiste - Electronic Cigarette Wholesale
- E liquid Wholesale - E cigarette Wholesale


Newbie

Posts

Joined
Tue Aug 16, 2016 8:21 am


Post by opencartboost » Wed Aug 17, 2016 7:19 am

Are you using third party theme?

Active Member

Posts

Joined
Thu Jul 09, 2015 5:59 am

Post by nickiflex » Wed Aug 17, 2016 7:25 am

Just using the default theme

Newbie

Posts

Joined
Sat May 23, 2015 3:50 am

Post by opencartboost » Wed Aug 17, 2016 12:52 pm

nickiflex wrote:Just using the default theme
For default theme, try open file category.tpl at catalog/view/theme/default/template/product/category.tpl
Find :

Code: Select all

        <div class="col-sm-2"><img src="<?php echo $thumb; ?>" alt="<?php echo $heading_title; ?>" title="<?php echo $heading_title; ?>" class="img-thumbnail" /></div>
Replace with :

Code: Select all

        <div class="col-sm-3"><img src="<?php echo $thumb; ?>" alt="<?php echo $heading_title; ?>" title="<?php echo $heading_title; ?>" class="img-thumbnail" /></div>
col-sm-2 to col-sm-3 or col-sm-4

As reference you can read about bootstrap grid
http://getbootstrap.com/css/#grid

Active Member

Posts

Joined
Thu Jul 09, 2015 5:59 am
Who is online

Users browsing this forum: No registered users and 239 guests