End of Support for Joomla 3 - Forum closed

jp-classic Hauptmenü zentrieren?

jp-classic Hauptmenü zentrieren? was created by BMueller

Posted 6 years 10 months ago #23713
Hallo,
ich bin echt am verzweifeln.
Gibt es irgendwie im Template jp-classic die Möglichkeit, das Hauptmenü zu zentrieren?
Ich habe alles versucht. Im Backend bietet sich diese Möglichkeit ja nicht und es über die custom.css einzustellen ist es mir ebenfalls nicht gelungen.

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

Replied by joomlaplates on topic jp-classic Hauptmenü zentrieren?

Posted 6 years 10 months ago #23720
Hallo,
probieren sie mal folgenden css code.
Fügen sie den Code in ihre css/custom.css ein

.uk-navbar-nav {
float: none !importants;
text-align: center;
}
.tm-navbar{
text-align: center;
margin: 0 auto !important;
}

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

Replied by BMueller on topic jp-classic Hauptmenü zentrieren?

Posted 6 years 10 months ago #23722
Vielen, vielen Dank. So ist das zwar noch nicht ganz in der Mitte, aber das habe ich mit padding-left "hingemogelt".
Ist wahrscheinlich nicht gerade die eleganteste Methode, aber vorher ist es mir nicht mal gelungen, das Menü überhaupt irgendwie zu bewegen.
Jetzt habe ich wenigstens einen Ansatz.
Nochmals besten Dank.

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

Moderators: joomlaplates
Powered by Kunena Forum