-
AuthorPosts
-
May 6, 2016 at 4:08 am #628056
Hi there,
I’ve looked through a couple of threads about this subject now and I can’t seem to find a solution that works for me. It seems like there needed to be custom coding for other people and I was hoping that I could get the same help. I most recently tried the code from here and it didn’t work for me. I would like to change the active page (the last link the the menu) to a different text color. My information is listed below.
Thanks a lot!
May 9, 2016 at 2:53 pm #629253Hey dialedinmarketing,
Sorry for the late reply!
It seems like you have pasted wrong link though. Can you please post the correct link so we can provide you an accurate code? :)
Best regards,
YigitMay 9, 2016 at 3:31 pm #629289Haha, woops!
Correct link is below this time.
What I’m trying to do is create a page that is accessible from the main navigation and within that page is several other links that are sort of it’s child pages and I would like whatever active page within that page to be selected. Hopefully that makes sense.
- This reply was modified 8 years, 6 months ago by dialedinmarketing.
May 9, 2016 at 3:57 pm #629301Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
ul.sub-menu .current_page_item > a > .avia-menu-text { color: black; }
Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.
Best regards,
YigitMay 9, 2016 at 4:10 pm #629309Hi Yigit,
It doesn’t appear to work because there is no current_page_item class on the active link within the submenu.
May 9, 2016 at 4:18 pm #629319Hi!
This is how it currently looks on my end. If that is not what you meant, can you please elaborate a bit more? :)
Regards,
YigitMay 9, 2016 at 4:32 pm #629333Apologies for the confusion, Yigit.
I would like to highlight the active page in the fullwidth sub menu, below the main navigation. Please see the image below.
May 10, 2016 at 5:20 pm #630126Yigit,
I’ve decided to create separate menus, add them to the widgets, and then use the widget area element instead of using the full width sub menu. It’s a different process and a lot more work but this way I was able to achieve my intended goal. Please close this ticket and I will be putting a request in the Feature Request Thread for the full width submenu.
Thanks.
DI -
AuthorPosts
- The topic ‘Stylize the active menu item in the fullwidth sub menu’ is closed to new replies.