• Resolved blomstrande

    (@blomstrande)


    So, I have a kind of peculiar problem with my dropdown menu.

    When I visit one of the pages of my dropdown menu (link: https://blomstrande.com/category/lektioner-tips/design-illustration/ ) and then try to go from there no another menu item – a black box appears on top the menu item. I have done some css styling to the menu but have no idea what may have caused this. The problem only occurs when I’m on one of the dropdown menu pages…

    Do you have any suggestions for what I could do to fix this? All help much appreciated.

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

    (@hannahritner)

    Hey,
    Try adding this to your custom css box in Theme Options > Custom CSS:

    .current-menu-item {
        background: transparent;
    }

    Hope it works for you!

    Hannah

    Thread Starter blomstrande

    (@blomstrande)

    Thanks for your help, unfortunately it did not work. Do have any other ideas?

    hannah

    (@hannahritner)

    Sorry about that, try this instead:

    .current-menu-item > a {
        background: transparent !important;
    }

    Hannah

    Thread Starter blomstrande

    (@blomstrande)

    That’s really weird… When I try to add the code you gave me into my css I get the message

    “Unsafe strings were found in your CSS and have been filtered out.”

    And the problem still remains…

    hannah

    (@hannahritner)

    Where are you pasting the css? Are you using the latest version of the theme?

    Hannah

    Thread Starter blomstrande

    (@blomstrande)

    I’ve been doing quite a lot of customizations to the site so I cant update the theme can I? Anyway the site’s running ot the 1.3.6 version.

    I’ve been pasting the css right into “Custom Css” in Theme options. Haven’t had any problems until now.

    hannah

    (@hannahritner)

    Are you updating the theme files? If so, you should be using a child theme. If you’re just updating from theme options your settings will be saved upon updating.

    Hannah

    Thread Starter blomstrande

    (@blomstrande)

    Okay, well I’ve got the latest version of the theme and have only been doing changes within the theme options menu so I think I’m good.

    Does it matter in what order you but the code in the custom css? At first I tried posting it under the media tag so that it would also apply when the site was viewed on mobile devices and that was when I got the warning about the unsafe string. I tried adding it at the bottom of my custom css this time (still only within the theme options) and now it worked like a charm.

    Oh well. Problem solved anyway, thank you so much for your help!

    I think it’s working now because of the theme update. There were some changes to the saving from version 1.3.6
    Glad it’s working.

    Kadence Themes

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘problem with dropdown menu’ is closed to new replies.