-
Hi there,
I’m using mystickyplugin to add a second menu at the top of the page, which anchors to different sections of the page. I’d like to highlight the menu that the user clicked to reach a section, so that visually we know which is the title of the section. Obviously, the solution is either php, either js, creating a specific class added to the active link, and then you change the css of this new class. The problem is … do you know what is the name of this class in fortuna theme? Obviously, the guy from mystickymenu plugin specify some code to add but it has to be customized with the class used by the theme …
Here is what he says :
.myfixed .current_page_item > a,
.myfixed .current_page_ancestor > a,
.myfixed .current-menu-item > a,
.myfixed .current-menu-ancestor > a {
color: #fff !important;
font-style: normal !important;
background-color: #C00!important;
}
This examples works with Twenty Thirteen theme, for other themes you will need to enter your element classes if different.Thanks for your help
- Theme support is offered to verified customers only. To post a topic go to your Theme Category and add your question at the page bottom.
Theme Categories
Recent Topics
- PHP 8.5.9 Fatal errors and warnings in Fortuna theme
- Alea updates
- Why "Fortune" theme is no longer available?
- PHP 8.1 Error
- Issue with WPB editor icons
- Issue with Icons and Text Alignment for Arabic Content
- Installing and Activating Plugin Fortuna Portfolio CPT (1/8)
- Testimonials page is blank
- warning boc_framework line 905
- Transparent header issue without changes