Support » Fixing WordPress » [NSFW] Need some help with sidebar menu

  • Martha

    (@marthapinker)


    I run a website with adult toys reviews.
    On every review page I have a sidebar menu that shows the content. How can I make it highlighted while scrolling through the page?
    Like, while reading one of the sections, let it be “editor’s choice” I want it to be highlighted with some color. Then going down to the next section, “Most Compact” for example, it becomes highlighted.
    Can anyone here help me with it?

    • This topic was modified 3 days ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not a Requests and Feedback topic

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Martha, what site do you work with?

    Martha

    (@marthapinker)

    My project is [ NSFW link moved to link field and topic marked NSFW ]. You can go to any review page to see that sidebar menu that I’ve been talking about.

    Hello @marthapinker,

    Please add one of the following CSS codes in the Appearance > Customize > Additional CSS section of your WordPress Admin dashboard:

    /* Highlight the heading text of each menu item using the site's pink color */
    .mPS2id-highlight, ._mPS2id-h:hover {
    	color: #d8345f;
    }

    OR

    /* Highlight the heading and subtitle text of each menu item using the site's pink color */
    .mPS2id-highlight, .mPS2id-highlight dl-menu-subtitle, ._mPS2id-h:hover, _mPS2id-h:hover .dl-menu-subtitle {
    	color: #d8345f;
    }

    OR

    /* Highlight the background of each menu item using the site's pink color */
    .mPS2id-highlight, .mPS2id-highlight dl-menu-subtitle, ._mPS2id-h:hover, _mPS2id-h:hover .dl-menu-subtitle {
    	background: #d8345f;
    	color: #fff;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.