full width submenu

full width submenu was created by crossbow

Posted 9 years 8 months ago #21192
I've followed the tutorial for the full width submenu, but from what I realise, full width = full width of the menu. In my case I get something like that:


What I want to do is get the full width of the screen (browser). This:


The only way I managed to do it, is by changing div#maximenuck li.fullwidth > div.floatck to position: fixed;

It works, but of course when you scroll down and the submenu is open, it stays there, instead of scrolling up along with the rest of the menu.
Is there a way to do it?
Attachments:

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

Replied by ced1870 on topic full width submenu

Posted 9 years 8 months ago #21194
Hi
right, by default it takes the width of the menu, this is what happened in your case
give me your url to check this, and removed the position:fixed to the div.floatck
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by crossbow on topic full width submenu

Posted 9 years 8 months ago #21253
the url is postcereals.co.uk
I have to send you the username and password because the site is locked at the moment
should I email it to you? I don't see a private message option
Last Edit:9 years 8 months ago by crossbow
Last edit: 9 years 8 months ago by crossbow.

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

Replied by ced1870 on topic full width submenu

Posted 9 years 8 months ago #21259
write me here
www.joomlack.fr/contact
and put the link of this page in your message

Joomlack Webmaster and Developer

by ced1870

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

Replied by ced1870 on topic full width submenu

Posted 9 years 8 months ago #21336
add this in your css
Code:
div.maximenuckh ul.maximenuck { position: static !imoprtant; }

Joomlack Webmaster and Developer

by ced1870

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

Replied by crossbow on topic full width submenu

Posted 9 years 8 months ago #21342
it works but it has the same effect as putting div#maximenuck li.fullwidth > div.floatck to position: fixed;

If you scroll down while having the submenu open, it stays there and it doesn't scroll up with the rest of the menu.

I think simple css might not be able to do this. Is it possible to have the div floatck, open outside the main menu's ul?
Last Edit:9 years 8 months ago by crossbow
Last edit: 9 years 8 months ago by crossbow.

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

Time to create page: 0.705 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 2304 guests and one member online