End of Support for Joomla 3 - Forum closed

[SOLVED] Mainmenu zentriert

Mainmenu zentriert was created by info@webmediacontent.com

Posted 6 years 6 months ago #18344
Hallo

Ich möchte gerne das Mainmenu zentriert angezeigt bekommen. Kann ich das irgendwo einstellen?

Gruss Adrian

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

Replied by joomlaplates on topic Mainmenu zentriert

Posted 6 years 6 months ago #18345
Hallo wie bereits erwähnt geht das nur mit CSS.
Fügen sie folgenden CSS code in die css/custom.css ein
www.joomlaplates.com/support/documentation/custom-css-in-joomla

.uk-dropdown .uk-nav {
text-align: left;
}
.jp-menu-outer {
float:none;
text-align:center;
}

.uk-navbar-nav {
display: inline-block!important;
float: none!important;
text-align: center!important;
}


PS. Das Suchmodule muss dann natürlich ausgeblendet werden!
Last Edit:6 years 6 months ago by joomlaplates
Last edit: 6 years 6 months ago by joomlaplates.

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

Replied by info@webmediacontent.com on topic Mainmenu zentriert

Posted 6 years 6 months ago #18348
Hallo

Danke für den Code. Hat so aber keine Änderung ergeben. kann momentan leider keinen Link angeben.

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

Replied by joomlaplates on topic Mainmenu zentriert

Posted 6 years 6 months ago #18351
Sollte aber gehen!
Wenn die Seite online ist, senden sie mir eine Mail und ich schaue mir das dann mal an.

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

Replied by info@webmediacontent.com on topic Mainmenu zentriert

Posted 5 years 3 months ago #22448
Hallo

Ich habe dies nun nochmals woanders testen können. Soweit funktioniert der Code auch und das Menu wird zentriert.
Das Problem ist nun aber die mobile Ansicht. Da werden dann beide Menu (Bobile und Desktop) angezeigt)
Verursacht wird dies wohl durch
Code:
display: inline-block!important; */

Hier mal der Link

Wäre super wenn das noch funktionieren würde.
Danke schon mal für die Hilfe.

Adrian

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

Replied by joomlaplates on topic Mainmenu zentriert

Posted 5 years 3 months ago #22450
Hallo,
entfernen sie bitte das "important"

display: inline-block

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

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License