Fullwidth Background Sub menu of Maximenu CK

More
6 years 8 months ago #55228 by WST
Hi,
i want the background of the sub menu to be displayed over the full width of the homepage.
but the links of the sub menu should only appear in the width (box) of the main menu.

I use the Custum CSS code:
|ID| li.maximenuck div.floatck {margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw); }

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

More
6 years 8 months ago #55231 by ced1870
Hi
please give me your url to check the menu, you shall not use the margins to do that
CEd

Joomlack Webmaster and Developer

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

More
6 years 8 months ago #55232 by ced1870
add this css code
Code:
#section3 > .bd-container-inner { position: static; } div#maximenuck151 ul.maximenuck { position: static !important; }

Joomlack Webmaster and Developer

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

More
6 years 8 months ago #55233 by ced1870
PS : and remove your margins code ;)

Joomlack Webmaster and Developer

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

More
6 years 8 months ago #55234 by WST
Thank you, the background of the sub menu is now across the entire width.
But the texts (links) of the sub menu are still on fullwidth. But they should be in the box (see image 3).

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

More
6 years 8 months ago #55235 by ced1870
ok, then add this
Code:
.maxidrop-main { max-width: 970px; margin: auto; }

Joomlack Webmaster and Developer

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

Time to create page: 0.205 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 4265 guests and no members online