-
AuthorPosts
-
July 14, 2016 at 5:56 pm #1087566
Hello,
I would like to change the nav bar buttons so that the button being hovered over, or selected completely change to a red color (and when they are selected they stay that color until another button/page is selected)
How can I do this?
Thanks
July 14, 2016 at 5:58 pm #1087568This reply has been marked as private.July 14, 2016 at 6:00 pm #1087569-also how do I get the buttons to slightly stick out at the top of the nav bar when they are hovered over or selected? (like the ones shown in the link I showed in the privet message)
Thanks
July 15, 2016 at 12:43 am #1088071Hi There,
Thank you for the URL and sample site.
Please add this custom CSS on Appearance > Customize > Custom > Edit Global CSS:
.x-navbar { box-shadow: none; border-bottom: none; } .x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a { background-color: #B8030B; border-top: 5px solid #B8030B; margin-top: -5px; }
Hope this helps.
July 15, 2016 at 1:11 pm #1088879Thanks.
How may I get it so that the bottom of the (now) Gold buttons are level with the bottom of the navbar?
Also I wanted to make the buttons a bit wider, without changing the size of the text/spacing
July 15, 2016 at 3:54 pm #1089061Hi There,
Based on your information I am not sure what you are trying to achieve can you please provide us more details and specify which buttons you mean.
Thanks
Joao
July 15, 2016 at 5:55 pm #1089144Iv attached a pic that explains it better.
-its for my fxpainters.com page
Thanks
July 15, 2016 at 9:39 pm #1089432Hi there,
Thanks for updating the thread! Upon checking your site, it seems you have already solved this issue and with another color than in your screenshot. Are you still needing any assistance regarding this issue? Thanks!
July 15, 2016 at 9:42 pm #1089437Hi,
I wanted the page to look like the image on the right hand side of the pic I attached to this message.
I tried getting it to work but have not yet succeeded
Thanks
July 16, 2016 at 2:47 am #1089649Hi there,
Please add this code :
@media (min-width:979px){ .x-navbar { height: 42px; } }
Hope it helps.
July 16, 2016 at 6:58 am #1089770Thanks, that made the navbar right. Just need to know how to make the buttons wider if possible?
July 16, 2016 at 7:05 am #1089775Hi there,
Please add this :
.x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) { padding-left: 32px; padding-right: 32px; }
Hope it helps.
July 23, 2016 at 11:45 am #1099940Thanks.
Now when I manually resize the webpage size (by clicking & dragging the side of the web browser) the “contact” button/tab moves a line down bellow the grey navbar when the page gets smaller to a certain size and you then cant see the “contact” button well because the text used for the buttons are an almost white color which blends into the white page background?
July 23, 2016 at 12:10 pm #1099962-Also, is there a way to select the width size of each button individually?
July 23, 2016 at 7:17 pm #1100188Hello There,
Sorry if it didn’t work out. To void further confusion, I would ask you to remove the given css code. Please remove this block:
.x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) { padding-left: 32px; padding-right: 32px; }
Once removed, you will see that the menu items are back close to each other again. You can adjust the spacing between menu items by going in the customizer, Appearance > Customize > Header > Link – Alignment and change the “Navbar Top Link Spacing (px)” to at least 35px. Please make sure that it is decent enough so that the “Contact” menu item will not go to the second row.
Hope this make sense. Please let me know how it goes.
-
AuthorPosts