Tagged: x
-
AuthorPosts
-
April 12, 2016 at 8:27 am #878265
c1sParticipantHi,
i added the class “Terminfarbe” to the navbar item “Termin buchen!” and added the css in the customizer to change the font color of this menu item (this works! ;-).
To match the colors, the indicator of this navbar menu item should have the same color as the font.
How can i achieve this?
Thanks
April 12, 2016 at 8:28 am #878271
c1sParticipantThis reply has been marked as private.April 12, 2016 at 3:22 pm #878884
Nabeel AModeratorHi there,
To achieve this, just add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
.Terminfarbe a:hover>span { box-shadow: 0 2px 0 0 #49AACD !important; }Let us know how this goes!
April 13, 2016 at 4:56 am #879682
c1sParticipantThat helped a lot – thanks very much !!
In addition, I would like to have the same color of that box-shadow, when the item is selected.
I tried
Terminfarbe > a:active> a { box-shadow: 0 2px 0 0 #38a2c9 !important; }and the same with “span” but no luck.
Please could you show me how that can be done?
Thanks!!
April 13, 2016 at 9:04 am #880050
Paul RModeratorHi,
Please add a dot before Terminfarbe in your code.
eg.
.Terminfarbe > a:active> a { box-shadow: 0 2px 0 0 #38a2c9 !important; }Hope that helps.
April 13, 2016 at 9:22 am #880086
c1sParticipantI am sorry this didn’t solve the problem
April 13, 2016 at 5:05 pm #880973
Nabeel AModeratorHi again,
Please replace the previous code with this one:
.Terminfarbe.current-menu-item > a > span { box-shadow: 0 2px 0 0 #43A6CB !important; }Let us know how this goes!
April 14, 2016 at 2:35 am #881671
c1sParticipantThat’s working great thanks a lot!
April 14, 2016 at 6:26 am #882012
ZeshanMemberYou’re welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-878265 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
