Submenu background color

  • Author
    Posts
  • #3263143

    annarion94
    Member

    Hi. I have the problem with the Submenu background color. Now is white but I want to be black or transparent. I have tried to change it manually-Customize-color&background-header-transparent header-submenu background color- and set it up on black and nothing changes. I’ve tried also some css codes to change it and it still does nothing. Then I tried local (inspect element) and changed it there and it works perfectly. But it works only until you click f5 because it is local. Please how can I change the background color of my submenu. Thanks.

    #3263201

    elizazh
    Member

    Hi @annarion94,

    Could you provide the URL of the website you’re referring to?

    Cheers

    #3263207

    annarion94
    Member
    #3263221

    elizazh
    Member

    Your website doesn’t seem to be hosted by WordPress.com, instead it is using the WordPress.org software on your own server (self-hosted). This forum is for providing support only for websites hosted on WordPress.com

    There are two versions of WordPress – WordPress.com and WordPress.org. You can find more information about the differences between them here.

    However, did you try this code?

    .main-header-menu .sub-menu {
        background: black;
    }

    I would also suggest that you look at the support page of WordPress.org and their forum – https://wordpress.org/support/. If you don’t have an account there you can create one for free here.

    Hope that helps!

    #3263223

    annarion94
    Member

    Oh, I didn’t even knew about that. But you’re a life saver!! That one did it! :) Thanks!

    #3263225

    elizazh
    Member

    You are very welcome :)

    Have a nice day :)

The topic ‘Submenu background color’ is closed to new replies.