full width submenu

More
10 years 3 months ago #21192 by crossbow
full width submenu was created by crossbow
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.

More
10 years 3 months ago #21194 by ced1870
Replied by ced1870 on topic full width submenu
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

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

More
10 years 3 months ago - 10 years 3 months ago #21253 by crossbow
Replied by crossbow on topic full width submenu
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: 10 years 3 months ago by crossbow.

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

More
10 years 3 months ago #21259 by ced1870
Replied by ced1870 on topic full width submenu
write me here
www.joomlack.fr/contact
and put the link of this page in your message

Joomlack Webmaster and Developer

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

More
10 years 3 months ago #21336 by ced1870
Replied by ced1870 on topic full width submenu
add this in your css
Code:
div.maximenuckh ul.maximenuck { position: static !imoprtant; }

Joomlack Webmaster and Developer

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

More
10 years 3 months ago - 10 years 3 months ago #21342 by crossbow
Replied by crossbow on topic full width submenu
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: 10 years 3 months ago by crossbow.

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

Time to create page: 0.221 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1070 guests and one member online