Viewing 7 reply threads
You must be logged in to reply to this topic.
Hi,
I’m activating the sticky menu option, but I only want it for the home page, not the rest. How I can customize this?
Best,
Hatem
Hello,
You have to customize by adding a custom css code and disable the sticky menu:
.home .header-top{ position:fixed }
The code above can be added in the General > Custom code.
Let us know.
Regards!
Hi,
I turned the sticky menu off and then added this code to the general custom CSS. The menu is not sticky on any pages even the home page, it’s not working.
check website
Best,
Hatem
So basically I want the home page to have sticky menu while other pages have it disabled. how I can achieve that?
Hello,
Please can you edit this file folie\includes\codeless_html_attrs.php:
edit the function codeless_extra_classes_header( $classes ) and replace the line:
if( codeless_get_mod( 'header_sticky', false ) )
replace with:
if( codeless_get_mod( 'header_sticky', false ) && is_home() )
Save the file and let us know. Please activate the sticky header.
Let us know.
Regards!
Hi,
Now when I activate the sticky menu, it does not work anymore. its always fixed!
What to do now?
Hello,
Sorry please replace the is_home() with is_front_page(). Keep in mind to switch on the sticky option.
The css lines i gave you in the previous replies need to be removed.
Let me know.
Have a nice day!
You must be logged in to reply to this topic.