-
Author
-
February 2, 2019 at 18:52 #217895agolden42Participant
I use transparent menus on some of the pages of my site, but not all pages. On the pages with the transparent menu, I’d like the background of the dropdown sub-menus to be the solid blue background like I have on the pages without a transparent menu. I can’t seem to figure out how to do that on a page by page basis. Please advise.
February 2, 2019 at 19:02 #217899Kieran_SQModeratorHi there,
Please use the below custom CSS in your KLEO Child themes style.css by going to WP Admin > Appearance > Editor > KLEO Child > Style.css
COPY CODE.navbar-transparent .navbar-nav>li>.dropdown-menu li { background-color: #002868; border-bottom-color: #002868; }
I used the blue that was already present in your menu, if this is not the color that you want then change the #002868 value to suit your needs.
Once saved purge your server, WordPress, and browser cache to see the changes.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
February 2, 2019 at 19:28 #217901agolden42ParticipantThanks! That worked great, but now I have a follow up question. Adding that CSS resulted in a very thin gray border between each li and, when I hover over the li, it adds a slightly darker shade. I like that result and would now like to add that to the menus on pages without a transparent border. How can I do that?
February 2, 2019 at 21:29 #217906Kieran_SQModeratorHi,
I don’t see that – can you share a screenshot or video of this so I see what you’re referring to.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
February 5, 2019 at 00:29 #218065Kieran_SQModeratorHi,
That’s the blue border from my earlier CSS. Try the below CSS snippet which had the .navbar-transparent selector removed.
COPY CODE.navbar-nav>li>.dropdown-menu li { border-bottom-color: #002868; }
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
February 5, 2019 at 02:25 #218071agolden42ParticipantThanks. That worked, but I had to adjust the color to match the border-bottom-color that seems to be naturally produced as the border-bottom-color on the pages with the transparent header by setting it to rgba(255,255,255,0.1) !important;
February 5, 2019 at 13:44 #218091Kieran_SQModeratorHi,
I see, well I am glad it could help in some way 🙂 Feel free to open a new topic if you have any other questions or experience any issues and we’ll be happy to assist.
All the best,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
-
AuthorPosts
You must be logged in to reply to this topic.