End of Support for Joomla 3 - Forum closed

[SOLVED] Sticky main menu

Sticky main menu was created by TorstenL

Posted 8 years 10 months ago #11157
Good morning,

I got a question regarding the behaviour of the main menu: currently, if the option "Fixed Navigation" is turned on, the menu is using the "uk-animation-slide-top"-markup so the menu disappears for a second if I scroll down the page and then it appears again.

I want to use the "Fixed Navigation" but without the menu disappearing. How can I change this?

I wish you all a healthy start into the New Year 2016.

Best regards
Torsten

Please Log in or Create an account to join the conversation.

Replied by TorstenL on topic Sticky main menu

Posted 8 years 10 months ago #11158
I´ve changed the following value in the file "templates/jp-adventures/layouts/theme.php" to "0":
{top:-200, animation: 'uk-animation-slide-top'}

I guess this value will be overwritten with the next template update? Can I put this string in a custom php-file so that the changes persist?

Thanks again
Torsten

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Sticky main menu

Posted 8 years 10 months ago #11161
To do so, create the /styles/YOUR STYLE/layouts directory, copy the file in there and start adding your own PHP code.
1.) Create your own style ( Customizer > Copy Style > Save)
2.) Select the new created Style as default ( Template Options > Layouts)
3.) Copy the folder layouts into your new created style folder

You own styles will not be overridden while template updating


Attachment layouts.jpg not found

Last Edit:8 years 10 months ago by joomlaplates
Attachments:
Last edit: 8 years 10 months ago by joomlaplates.

Please Log in or Create an account to join the conversation.

Replied by TorstenL on topic Sticky main menu

Posted 8 years 10 months ago #11162
Hello Peter,

thanks again for your quick and helpful post, followed your instructions and all is setup now.

Best wishes
Torsten

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic [SOLVED] Sticky main menu

Posted 8 years 10 months ago #11173
Problem solved.

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License