Header (Text) of Categories / Image Boxes of Subcategories

Phoca Cart - complex e-commerce extension
adm
Phoca Member
Phoca Member
Posts: 41
Joined: 19 Nov 2008, 12:12

Header (Text) of Categories / Image Boxes of Subcategories

Post by adm »

Phoca Cart 5 Beta 30:
Display on the Frontpage:

Categories:
The images are displayed centered in the category, but the text is aligned on the left.

Sub-Categorys are displayed exactly in the other way (images: left, text: center). Please display the images and the text in both cases centered.

You can choose in the "Phoca Cart Configuration" under Tab "Display" - "Categories View" - "Display Category Header (Categories View)" h1, h2, h3,...
However, the setting is only used in the category, but not in the subcategory.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Header (Text) of Categories / Image Boxes of Subcategories

Post by Jan »

Hi, can you paste a screenshot of what do you exactly mean?

Mostly there is some default option (and mostly categories are displayed in bootstrap cards, subcategories not) and such is mostly overriden by template

Image

Jan
If you find Phoca extensions useful, please support the project
adm
Phoca Member
Phoca Member
Posts: 41
Joined: 19 Nov 2008, 12:12

Re: Header (Text) of Categories / Image Boxes of Subcategories

Post by adm »

Category:
https://imgur.com/a/4PfmKn6

Subcategory:
https://imgur.com/MZPmVaV

It doesn't matter whether Cassiopeia or nature is used.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Header (Text) of Categories / Image Boxes of Subcategories

Post by Jan »

Hi, and if you test some Phoca Cart child template, like e.g. Toys:

https://www.phoca.cz/phocacart-extensio ... emplate-j5

Jan
If you find Phoca extensions useful, please support the project
adm
Phoca Member
Phoca Member
Posts: 41
Joined: 19 Nov 2008, 12:12

Re: Header (Text) of Categories / Image Boxes of Subcategories

Post by adm »

tmpl_child_cassiopeia_phocacart_beauty_v5.0.0

Categories:
The images and text are displayed centered. OK!

Sub-Categorys:
images: left / text: center -> Same result as template nature ans cassiopeia
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Header (Text) of Categories / Image Boxes of Subcategories

Post by Jan »

Hi, thank you for the info, the subcategories image should be centered, will be added to next version.

Now, just add following to your user.css:

Code: Select all

.ph-item-subcategory-box {
   text-align: center;
}
Thank you, Jan
If you find Phoca extensions useful, please support the project
Post Reply