Post by fatelvis » Mon Mar 25, 2019 7:22 am

Hi,

I'm using opencart 2.2.0.0,

I'm looking to either centre align or remove the subcategory name from the grid view. I have managed to remove the padding and the border from the image but cannot figure out how to edit the name.
Ideally I would have the image with the subcategory name link centred directly below but if not I would prefer to just use the image link and remove the name link.

Any help would be greatly appreciated.

Cheers

Fats

Newbie

Posts

Joined
Mon Sep 09, 2013 4:51 am

User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by fatelvis » Mon Mar 25, 2019 4:56 pm

Thanks for the reply, i'm not sure that is what I am looking for. I already have all the subcategories displayed in a grid layout but the subcategory names are left aligned below the images and I would like them centred.

I have attached a pic of how it currently looks, there is a lot of empty categories as I am still working on the images its the alignment I am looking to fix.

Cheers.

Attachments

Subcategories.jpg

Subcategories.jpg (158.65 KiB) Viewed 275 times


Newbie

Posts

Joined
Mon Sep 09, 2013 4:51 am

Post by xxvirusxx » Mon Mar 25, 2019 5:50 pm

fatelvis wrote:
Mon Mar 25, 2019 4:56 pm
Thanks for the reply, i'm not sure that is what I am looking for.
I give an extension to change without deleting code....

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by fatelvis » Mon Mar 25, 2019 6:04 pm

Oops sorry I didn't reaIise, I will give it a try, thanks very much for your help. :)

Newbie

Posts

Joined
Mon Sep 09, 2013 4:51 am

Post by xxvirusxx » Mon Mar 25, 2019 6:32 pm

Upload back old category.tpl and should work.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 266 guests