-
AuthorPosts
-
September 1, 2014 at 3:29 am #96046
Hi! I want to change the color of the sidebar menu on my website to light blue and also the text color of careers which is present on the sidebar.
This is my site:
http://www.netrust.com.ph/main/September 1, 2014 at 3:38 am #96047Hi there
Please add this CSS under Custom > CSS in the Customizer.
.x-sidebar #menu-side-menu li a { color: #41a6ff; }
Hope it helps.
September 1, 2014 at 4:29 am #96072thanks for the code but it only changes the font color of the text “careers” Is it possible to also change the color of the menu, like the top nav bar menu?
September 1, 2014 at 4:43 am #96078Yes ,You can.
Add this one:.x-sidebar li a{ color: #41a6ff !important; }
Thank you.
September 1, 2014 at 9:08 pm #96641it don’t take effect, it also change the text color. I want to fill the color of the nav side menu not just a transparent one.
September 1, 2014 at 10:27 pm #96659Hey there,
Sorry for the confusion. Please add background property to your CSS
.x-sidebar #menu-side-menu li a { color: #000000; background: skyblue; }
We can enable transparency by using rgba color value however, your page’s background is white therefore using rgba will be of no use because the background is a solid color. If we use a transparent background, it will mix with the color of your page’s background.
Hope that helps. 🙂
September 1, 2014 at 11:00 pm #96672Oh! thank you so much for this code, You are such a great help. Can you also include to the change color to blue when my mouse hover on the careers. The default color is black but when i point my mouse on the sidebar text, it changes the color to blue.
September 1, 2014 at 11:32 pm #96680The code for that would be
.x-sidebar #menu-side-menu li a { color: blue; background: orange; }
For more colors, please see http://www.quackit.com/css/css_color_codes.cfm
Thanks.
September 1, 2014 at 11:53 pm #96692I apply those codes, but still it does not change the hover over color of “careers” text on the sidebar
September 2, 2014 at 12:07 am #96701Hi,
Sorry for the confusion.
Can you please try the code below.
.x-sidebar #menu-side-menu li a:hover { color:#000; /* text color on hover */ background: red; /* background color on hover - remove if not needed */ }
Please change the values(#000 & red) with the color you want.
Thank you.
September 3, 2014 at 3:48 am #97416oh.. great! this is what I want. Thanks a lot! ^_^
September 3, 2014 at 4:45 am #97443You’re most welcome.
September 3, 2014 at 5:04 am #97451can you also give me the css code on the top nav menu, that when I hover over to any menu or sub menu it also changes the color to skyblue like the code above that you gave me?
September 3, 2014 at 7:03 am #97501Your code above with a new selector should help you out.
.x-navbar .x-navbar-inner .x-nav-collapse .sub-menu a:hover { color:#000; /* text color on hover */ background: red; /* background color on hover - remove if not needed */ }
September 3, 2014 at 9:11 pm #98046Oh thanks… That code really helped me a lot.
-
AuthorPosts