How to make the menu item to be highlighted but not on its parent?

edited October 2019 in Blog
Please I have a couple problems on my blog section.

From this photo below

1. As you can see 'Press' one the menu, it is the one of categories of my blog post, or 'News' as I named it.

So every time I am on the Press page (which is a categories page I added in Appearance / Menu section, not an actual page is created in the Page section), it seems to highlight the News menu too!

Do you know how to have it be highlighted only the categories page not together with blog page?

2. How can I remove 4 dots icon in front of 'Read more' button? I use code .icon-doc-text::before {display:none !important;} but it stills appears on Related posts in single post page.

Thank you


Comments

  • Hi,
    Please always attach a link so we can check it out. If the page is offline(localhost) then our help will be limited, you will have to contact us when the page is online. Also please make sure that the page is not under maintenance before you provide us the link.
    It is always a good idea to also attach a screenshot, for that use services like snag.gy or pasteboard.co
    thanks
  • Here is the link of my website

    Thank you
  • 1) So, it can be customized only with the Custom CSS code, please paste that code below into the Theme Options > Custom CSS & JS > CSS
    body.category-press #menu-menu-right li:first-child a::after{
    display:none !important;
    }

    But, please, do not change the menu items positions, this CSS will work only for menu layout which is set now.
    Thanks
  • That works like a charm, thank you so much.

    However, on the mobile view it still not yet be fixed as you can see in the images:

    Please can you help me solve it on mobile screen one as well?

    Cheers
  • Also, at the 2nd request above:

    How can I remove 4 dots icon in front of 'Read more' button? I use code .icon-doc-text::before {display:none !important;} but it stills appears on Related posts in single post page.


    Here is the close up of where I meant:

    Thank you 
  • 1) Apply this CSS, it will fix it on mobile too:
    @media(max-width:1240px){
    body.category-press #menu-menu-right li:first-child a{
    background:inherit !important;
    }
    }
    2) It will remove these dots:
    button .icon-layout{
    display:none !important;
    }
    Thanks
  • Thank you, the highlight menu item works properly now.

    But those dots are still there in the button. Do you have any solution?

    Thanks 
  • OK, I have managed to get it all done.

    That's all! Thank you so much for your assisting. It helps a lot!!

    Have a great day!
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.