• Resolved nisbladt

    (@nisbladt)


    Hi. I want to remove the small line that appears underneath the menu page-titles when you hover over them on my page. How do I edit something like this within a theme/where do i need to look? I’ve tried looking at the header.php and scss stylesheet for the specific header, but haven’t been able to find anything.
    I am using the theme Blaze from Edge.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • @nisbladt

    You should be able to accomplish this with a little site specific CSS added in the Customiser, something as follows seems to work for me:

    .edgtf-main-menu > ul > li > a:hover {
    background-color: transparent !important;
    }
    Thread Starter nisbladt

    (@nisbladt)

    @mattyrob That didn’t seem to fix it for me :O

    @nisbladt

    Sorry, there was a bit more to is than that, try this:

    .edgtf-dark-header .edgtf-page-header > div:not(.edgtf-sticky-header) .edgtf-main-menu > ul > li.edgtf-active-item > a span.edgtf-item-inner .edgtf-item-text::after, .edgtf-dark-header .edgtf-page-header > div:not(.edgtf-sticky-header) .edgtf-main-menu > ul > li > a:hover span.edgtf-item-inner .edgtf-item-text::after, .edgtf-dark-header.edgtf-header-style-on-scroll .edgtf-page-header .edgtf-main-menu > ul > li.edgtf-active-item > a span.edgtf-item-inner .edgtf-item-text::after, .edgtf-dark-header.edgtf-header-style-on-scroll .edgtf-page-header .edgtf-main-menu > ul > li > a:hover span.edgtf-item-inner .edgtf-item-text::after {
    background-color: transparent !important;
    }
    Thread Starter nisbladt

    (@nisbladt)

    @mattyrob I’m so sorry but that doesnt work either πŸ™

    @nisbladt

    I’ve just checked and confirmed that the second lot of CSS I posted works for me in Safari.

    @nisbladt

    And confirmed as working in Chrome and Firefox too.

    Make sure you are copying the whole segment as the code snippet goes way off the right margin.

    Thread Starter nisbladt

    (@nisbladt)

    @mattyrob Just realized i had accidently switched off the dark header in the theme options, switching it on made your code work. What a nice world to live in with people like you – thank you forever! πŸ™‚

    Hello,

    Put below CSS code into your stylesheet,
    header.edgtf-page-header .edgtf-main-menu>ul>li>a:hover span.edgtf-item-inner .edgtf-item-text:after{background: transparent !important;}

    Thanks!

    Hello,

    @nisbladt

    If my solution is working then please mark as resolved so others who have faced this type of problem can find the solution easily.

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘How to edit header within a theme’ is closed to new replies.