Tagged: x
-
AuthorPosts
-
August 1, 2016 at 4:29 pm #1112706
AlanParticipantHi any quick ideas why this works for underline hovers:
.ubermenu-target-title:hover { text-decoration: underline !important; }but i also want to display the current site…
those wont work:.ubermenu-target-title:active { text-decoration: underline !important; } .ubermenu-target-title:visited { text-decoration: underline !important; } .ubermenu-target-title:link{ text-decoration: underline !important; }August 1, 2016 at 7:56 pm #1112968
JadeModeratorHi there,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
August 21, 2016 at 8:00 am #1140308
AlanParticipantThis reply has been marked as private.August 21, 2016 at 9:42 am #1140370
ThaiModeratorHi There,
Please add the following CSS:
.ubermenu-current-menu-item .ubermenu-target-title { text-decoration: underline; }Hope it helps 🙂
August 21, 2016 at 10:57 am #1140430
AlanParticipantawesome thanks a lot!!!
August 21, 2016 at 12:13 pm #1140491
ThaiModeratorIf you need anything else please let us know.
August 28, 2016 at 10:24 am #1150571
AlanParticipantHi again,
i still need some help with the similar matter:
1. the sidebar navigation does not stay highlighted for the active element, the hover works though.
2. if i select a category from the sidebar the active menu item is not highlighted anymore due to the product category slug, is there any way around it? same goes for the single product page wich has the /shop in its url but the menu item doesn corresponds to it visually.many thanks!
August 28, 2016 at 4:47 pm #1150811
NicoModeratorHi There,
Would you mind sharing us the URL of the issue and please share a screenshot so we could easily identify it.
Thanks.
August 28, 2016 at 4:59 pm #1150815
AlanParticipantThis reply has been marked as private.August 28, 2016 at 7:29 pm #1150913
RadModeratorHi there,
It’s widget and not a menu/navigation. Just standard links on the sidebar, let’s try adding this CSS to Admin > Appearance > Customizer > Custom > CSS
.current-cat a { text-decoration: underline; }Thanks!
August 31, 2016 at 2:11 am #1154666
AlanParticipantthanks that worked.
so is there any possibility to have it also active when i click on a product?
I explain the case i like to have and what it currently is:
currently:
I click on shop in the main nav, shop is highlighted and all products are shown, although the category “All” is not highlighted.
When I click on a different category, it gets highlighted but the before active shop nav is not highlighted anymore.
When i click on a product in this category, the “All” category is always highlighted even though the product is in a different category, also shop is not highlighted.what i want to achieve:
I click on shop in the main nav, shop is highlighted and all products are shown, the category “All” is highlighted.
When I click on a different category, it gets highlighted plus shop nav is highlighted.
When i click on a product in this category, the category the product belongs to is always highlighted, also shop is highlighted.i get that this is probably caused by the different urls and category slugs, but it would be nice to point me into the right direction on how to get working on this – since this is a big deal for the shop. it otherwise seems quite buggy…
thank you!
August 31, 2016 at 4:36 am #1154800
ChristianModeratorHey Alan,
Please add the code below in your Appearance > Customize > Custom > Global CSS
/* Underline Shop when in product category page */ .tax-product_cat #menu-item-50 a span { text-decoration: underline } /* Underline All when in Shop page */ .post-type-archive-product .cat-item-26 a { text-decoration:underline }Hope that helps. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1112706 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
