Fullwidth Background Sub menu of Maximenu CK
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); }
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); }
by WST
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Fullwidth Background Sub menu of Maximenu CK
Posted 4 years 1 month ago #55231
Hi
please give me your url to check the menu, you shall not use the margins to do that
CEd
please give me your url to check the menu, you shall not use the margins to do that
CEd
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Fullwidth Background Sub menu of Maximenu CK
Posted 4 years 1 month ago #55232
add this css code
Code:
#section3 > .bd-container-inner { position: static; }
div#maximenuck151 ul.maximenuck { position: static !important; }
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Fullwidth Background Sub menu of Maximenu CK
Posted 4 years 1 month ago #55233
PS : and remove your margins code
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Replied by WST on topic Fullwidth Background Sub menu of Maximenu CK
Posted 4 years 1 month ago #55234
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).
But the texts (links) of the sub menu are still on fullwidth. But they should be in the box (see image 3).
by WST
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Fullwidth Background Sub menu of Maximenu CK
Posted 4 years 1 month ago #55235
ok, then add this
Code:
.maxidrop-main {
max-width: 970px;
margin: auto;
}
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Time to create page: 0.722 seconds