Kunena Menu
Fullwidth Background Sub menu of Maximenu CK
6 years 8 months ago #55228
by WST
Fullwidth Background Sub menu of Maximenu CK was created 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); }
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.
6 years 8 months ago #55231
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Fullwidth Background Sub menu of Maximenu CK
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
Please Log in or Create an account to join the conversation.
6 years 8 months ago #55232
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Fullwidth Background Sub menu of Maximenu CK
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.
6 years 8 months ago #55233
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Fullwidth Background Sub menu of Maximenu CK
PS : and remove your margins code
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
6 years 8 months ago #55234
by WST
Replied by WST on topic Fullwidth Background Sub menu of Maximenu CK
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).
Please Log in or Create an account to join the conversation.
6 years 8 months ago #55235
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Fullwidth Background Sub menu of Maximenu CK
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.231 seconds




