Tagged: x
-
AuthorPosts
-
September 7, 2016 at 1:19 pm #1164902
muashanParticipantHi there
First of all, this is the best theme I’ve ever bought.
I have an issue with changing the background color of the submenu. I can’t find the right selector for this. I’ve attached an image showing how the menu looks when just doing a mouse over (left side) and after pressing any of the subitems. The problem should be ovious. I don’t want the dark overlay (selected?) after selecting a sub item.
Note: the Subitems are links to anchors on the same page so no page jumps. Stack is Integrity. Also find the link in the reply, marked as private
Hope someone can help me here.
I’ve used this css to change the background (foreground seperate):
.desktop .sub-menu{ background-color:#ffff00; }September 7, 2016 at 1:45 pm #1164951
muashanParticipantThis reply has been marked as private.September 7, 2016 at 8:24 pm #1165551
Paul RModeratorHi,
Please replace your links to just ids
eg.
Change this https://enisjoldic.ch/01_dev/ueber-uns/#kompetenzen to just #kompetenzen
For more information kindly refer to the link below
https://community.theme.co/kb/how-to-setup-one-page-navigation/
Hope that helps
September 8, 2016 at 2:50 pm #1166942
muashanParticipantHi Paul,
not sure if we are on the same page here. I just want to change colors of the (given) submenu. I also have other Menu’s on that site that would not work with your proposal (reducing the menu item to just #kompetenzen). Let’s say I’m on the Menu “KONTAKT” and now select MITARBEITER from Menu “ÜBER UNS”, then it can’t jump to that as it expects the ID on that very page (KONTAKT), which simply is not there 🙂
Or did I miss something in your answer and completely fall of the wagon?
Thanks
DraganSeptember 8, 2016 at 11:13 pm #1167519
RadModeratorHi there,
How should it behave? Yes, it will not jump or scroll since it’s linking outside KONTAKT. It will load the page, jump to where is #kompetenzen. If it’s not there then you can add that ID to your target section. And as by checking, it’s the ID of an image under this page https://enisjoldic.ch/01_dev/ueber-uns/
Are are you referring to the active status of sub menu item that matches the section? One page is not really setup for multiple pages and submenus. It’s main purpose is floating one line navigation matching the sections.
Thanks!
September 10, 2016 at 3:42 am #1169073
muashanParticipantOk, lets forget about ID’s for a second and get back to the problem I have. I’ve provided a screenshot that should hopefully make it obvious what I’m trying to do and how it looks at the moment (in case of a selected item under “ÜBER UNS”, all the subitems get that unwanted black background color, instead only the one that was selected).
Thanks
DraganSeptember 10, 2016 at 4:55 am #1169135
ChristopherModeratorHi there,
One page navigation and primary menu shouldn’t be the same.
Did you activate one page navigation for ‘ueber-uns’ page ?
Instead of using absolute URL, use relative URL inside one page navigation.e.g :
Absolute URL :
https://enisjoldic.ch/01_dev/ueber-uns/#kompetenzen
Relative URL :#kompetenzenHope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1164902 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
