- This topic has 38 replies, 2 voices, and was last updated 4 years ago by
Leo.
-
AuthorPosts
-
March 20, 2022 at 11:10 am #2161234
GeneratePressUser
Hello Generatepress Team,
It’s been a long time, hope you all are doing good.
Pls check the private box
March 20, 2022 at 12:58 pm #2161294Leo
StaffCustomer SupportMarch 20, 2022 at 1:57 pm #2161330GeneratePressUser
Thanks for that Leo, can you pls tell the css to make the look proper, like you can compare both the pages the current look is not the same, specially for the login and register button and spacing and all.
March 20, 2022 at 2:26 pm #2161337Leo
StaffCustomer SupportTry adding this CSS:
@media (min-width: 769px) { .main-navigation li:last-child { margin-left: 20px; } }March 20, 2022 at 2:31 pm #2161342GeneratePressUser
Hey Leo,
Thanks for that. Pls see private box.
March 20, 2022 at 2:34 pm #2161347Leo
StaffCustomer SupportCan you try activate the navigation as header option first?
https://docs.generatepress.com/article/navigation-as-a-header/Then use this method to add buttons in the navigation:
https://docs.generatepress.com/article/adding-buttons-navigation/March 20, 2022 at 2:35 pm #2161349GeneratePressUser
Hey Leo,
That’s already enabled.
March 20, 2022 at 2:37 pm #2161350Leo
StaffCustomer SupportThen remove this CSS you’ve added:
.main-navigation a:hover { text-decoration: underline; } .main-navigation { padding: 10px; }And follow the documentation for adding buttons in navigation:
https://docs.generatepress.com/article/adding-buttons-navigation/March 20, 2022 at 2:40 pm #2161351GeneratePressUser
That css I am already using on the website.
March 20, 2022 at 2:43 pm #2161353Leo
StaffCustomer SupportThat css I am already using on the website.
Not sure if I fully understand – it’s not what I’m asking.
Can you follow my exact instructions here?
https://generatepress.com/forums/topic/header-menu-customisation/#post-2161350Then you can remove this CSS as well:
li#menu-item-208 { border: 1px solid; border-color: #366EFF; border-radius: 5px; } li#menu-item-208 a:hover { background: #366EFF; color: #fff; text-decoration: none; } li#menu-item-209 { background: #366EFF; color: #fff; border-radius: 5px; } li#menu-item-209 a:hover { background: #0080ff; color: #fff; border-radius: 5px; text-decoration: none; }March 20, 2022 at 2:48 pm #2161356GeneratePressUser
Oops sorry I thought u told to add that, my bad, ok all done.
Now you can see just on active button the hover underline is not there as you can see in the private box image.
March 20, 2022 at 2:50 pm #2161357GeneratePressUser
If I remove the other css which u told here: https://generatepress.com/forums/topic/header-menu-customisation/#post-2161353
It will remove those login and register button css, I have done it for u.
March 20, 2022 at 2:52 pm #2161358Leo
StaffCustomer SupportCan you please follow my suggestions for the navigation buttons?
I’ve mentioned here:
https://generatepress.com/forums/topic/header-menu-customisation/#post-2161350and here:
https://generatepress.com/forums/topic/header-menu-customisation/#post-2161353Here is the link again:
https://docs.generatepress.com/article/adding-buttons-navigation/March 20, 2022 at 2:53 pm #2161359GeneratePressUser
Hey Leo,
Yes that is already removed.
March 20, 2022 at 2:54 pm #2161360Leo
StaffCustomer SupportThis is not done yet:
https://docs.generatepress.com/article/adding-buttons-navigation/ -
AuthorPosts
- The topic ‘Header Menu Customisation’ is closed to new replies.