Page 1 of 1

Subcategory Layout

Posted: 30 Jan 2023, 14:20
by fredlmyers
Hello,
I have created subcategories and I let them be shown as pictures with the Categoryname below. The Textheigt in the category-view (main-level) and in the view of the productslist is as choosen in the options (h4).
All Subcategories have the textheight h3.
Where can I change that?
I cant find it. Or is that the same option field as for the products-title?
Thanks for help.
best regards
Sascha

Re: Subcategory Layout

Posted: 30 Jan 2023, 16:50
by Jan
Hi, can you paste a screenshot of what do you exactly mean?

Jan

Re: Subcategory Layout

Posted: 30 Jan 2023, 17:21
by fredlmyers
Ok, I will do that tomorrow.

Re: Subcategory Layout

Posted: 31 Jan 2023, 08:38
by fredlmyers
Hello, the code for the screenshot is at the end of this post. I hope I have done it correct!

My problem is, thet the text size of the (main) category (left side of the screenshot) is h3, as I have choose it in the cart options and that the text size of the subcategory (right side of the screenshot) has a text size of h5. And here is the question where I can set the text size of the subcategories?
I have set all the text sizes of the category/product headers to h5 in the cart options!
thank you and best regards
Sascha

Image

Re: Subcategory Layout

Posted: 31 Jan 2023, 20:25
by Jan
Hi, there is no option for subcategory header, so the only way for now is to customize or override the output:

components/com_phocacart/views/category/tmpl/default_subcategories.php

Jan

Re: Subcategory Layout

Posted: 31 Jan 2023, 20:30
by fredlmyers
Thank you, that works.

Re: Subcategory Layout

Posted: 31 Jan 2023, 20:30
by Jan
Ok