Home › Forums › WoodMart support forum › Different Styling Setup per category
Different Styling Setup per category
- This topic has 3 replies, 2 voices, and was last updated 4 years, 7 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
April 17, 2020 at 2:20 am #187637
m0seRParticipantHello,
I’m creating a new shop with your theme and i would like to ask a “quick” question.
It’s a fashion store, and i would like to seperate it in two main categories: MEN & WOMEN, but in each category i would like to have a seperate styling in the header & different menu.
e.g. in MEN section i would like to have a black header with a menu that has the subcategories of this parent category
and in WOMEN section i would like to have pink header with a menu that has different subcategories.
Is this possible somehow with the theme? e.g. like changing headers in pages. Or do i need to add some custom css or a function?
If not, would you suggest a multistore plugin that is compatible with your theme?
Thank you in advance.
April 17, 2020 at 11:02 am #187773
Aizaz Imtiaz AwanKeymasterHello,
Unfortunately, there is no option in theme settings available to use different headers and styles for different categories pages.
Because the categories pages inherits from the shop page that is controlled by WooCommerce and our theme doesn’t influence this. It requires customization and this is beyond limitations and our support policy.
Best Regards.
May 4, 2020 at 3:59 pm #192274
m0seRParticipantHello again,
i found a way to do it, but i would like to ask how/or which file from, i can get the headers that i create inside the theme here : http://prntscr.com/sasdcl
I’m posting an example below, this is for a post category, not a woocommerce, but i will modify it. The thing i’m trying to find out, is where to get the headers from, that i’ve created in the theme.
e.g. <?php $post = $wp_query->post; if ( in_category('109') ) { get_header('videos'); // use header-videos.php } else { get_header(); // use default header.php } ?>
Thank you in advance.
May 5, 2020 at 6:19 am #192368
Aizaz Imtiaz AwanKeymasterHello,
We are Glad that you found the solution yourself. You are Great!!
Your solution might be helpful for someone.
The data for the elements we save from the dashboard are stored in the database So, i am unable to tell you about the file.
Unfortunately, we cannot help you with this as you are asking for core file customization and this is beyond our limitations and supports policy.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register