Make topnavmenu a fixed menu

More
3 years 4 months ago #9199 by aurogirl
aurogirl created the topic: Make topnavmenu a fixed menu
Hi,
so, I tried the simple thing like just selecting the top bar1 position, and then erasing the topbar 2 position in order to get centered but I'm doing it wrong. And it's no what I need, then tried to do it with topnavmenu directly, it just gained tho topbar menu position

All I want is for the menu to be shown in the topnavmenu position and to be fixed when scroling down the page. Can this be done?

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

More
3 years 4 months ago #9200 by marcin
marcin replied the topic: Make topnavmenu a fixed menu
Hello,

I am not sure what is the relation between centering the top-bar modules and making the top-menu-nav sticky. I you provide me with any screenshot maybe I would be able to tell you something more.

In the case of making the top-menu-nav sticky, this is a customization issue.
Fore more details please contact our customization department:
joomla-monster.com/contact

Regards,
Marcin

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

More
3 years 4 months ago #9201 by aurogirl
aurogirl replied the topic: Make topnavmenu a fixed menu
I thought by making sticky was to make it position fixed, but now I know it's not the same, so I just added position: fixed line on layout.less and it is fixed, but it looks like it's set up to be in top bar1 position, and it's actually on top nav menu.

In the image attached you'll see in green how it looks, and in blue where I want it to be, plus in the second image you'll see how it looks like when the menu is on a picture, ti disappears.

How can I make the menu to be center in top nav menu position and no get behind the photos. I'm using DJ slider extension for that. Just in case

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

More
3 years 4 months ago #9204 by marcin
marcin replied the topic: Make topnavmenu a fixed menu
Thank your for your reply but it seems the images are missing.

Regards,
Marcin

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

More
3 years 4 months ago - 3 years 4 months ago #9209 by aurogirl
aurogirl replied the topic: Make topnavmenu a fixed menu
Actually thank you! I didn't notice before! I'm sorry! Let me see if I can do it now
Attachments:
Last Edit: 3 years 4 months ago by aurogirl.

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

More
3 years 4 months ago #9214 by marcin
marcin replied the topic: Make topnavmenu a fixed menu
Thank you for the screenshots.

I assume that you added the fixed position to the menu wrapper but you will need also to add these styles:

position: fixed;
width: 100%;
left: 0;
top: 0;
z-index: 999;

This way the wrapper will be on full width and it will not be overlapped by other elements.

If you want to display the topmenu below the logo and make it sticky on scroll, this requires to write a script. If you want us to implement such functionality to your template, you need to contact our customization department as I mentioned earlier in my previous post.

Regards,
Marcin

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

Time to create page: 0.256 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.