Change header only on homepage
-
Hello,
How can i change the header of the site only on the homepage?
Is there any CSS code to add?
Thank you very much for your help
In fact on the homepage i would like to have the menu color, the logo and the elements all white (except on the fixed menu) and on all other pages of the site, i would like to have them black.
Is it possible?
Thank you very much
Hello,
WoodMart provides an option to create different headers for specific pages, so you don’t need to use custom CSS for this.
You can follow the instructions in our documentation to create a different header for the homepage:
https://xtemos.com/docs-topic/how-to-set-different-header-for-specific-page/
After creating the custom header, you can assign it to the homepage from the Page Settings in the page editing screen. Please refer to the following documentation for more information:
https://xtemos.com/docs-topic/options-for-pages/
Best Regards
Ok thank you!
I have just failed in editing the elements color
https://www.rheinerparis.com/
I need them white on the homepage and black on the fixed menu and on the other pages
That’s ok for me i think
I have add this css code
.home .wd-tools-element {
–wd-header-el-color: #FFF !important;
}
Hello,
I have checked your website, and the header is currently working as expected. The logo and menu elements are white on the homepage, while the sticky header displays them in black.
You can control these colors directly from the WoodMart Header Builder. Edit the corresponding header row and go to the Style tab, where you can change the text color scheme and background color. You can also configure the menu color and logo separately for each header.
Since the current result looks correct, If you have any questions feel free to contact us.
Best Regards