Subcategory Layout

Phoca Cart - complex e-commerce extension
fredlmyers
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 20 Sep 2020, 15:14

Subcategory Layout

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Subcategory Layout

Post by Jan »

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

Jan
If you find Phoca extensions useful, please support the project
fredlmyers
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 20 Sep 2020, 15:14

Re: Subcategory Layout

Post by fredlmyers »

Ok, I will do that tomorrow.
fredlmyers
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 20 Sep 2020, 15:14

Re: Subcategory Layout

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Subcategory Layout

Post 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
If you find Phoca extensions useful, please support the project
fredlmyers
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 20 Sep 2020, 15:14

Re: Subcategory Layout

Post by fredlmyers »

Thank you, that works.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Subcategory Layout

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply