WordPress.org

Forums

[resolved] Styling Submenu (8 posts)

  1. Joshua Sommer
    Member
    Posted 3 years ago #

    potionbear.com

    I'm trying to style my submenu. I've tried .menu ul {background: #222;} and a bunch of other classes with no luck.

  2. Aditya Pandey
    Member
    Posted 3 years ago #

  3. Joshua Sommer
    Member
    Posted 3 years ago #

    I use Chrome. How is this any different from Inspect Element? I just need to know the specific class.

  4. WPyogi
    Forum Moderator
    Posted 3 years ago #

    This seems to work:

    .navigation-main ul ul li {
    background-color: red;
    }

    For CSS only questions, you may want to try a forum such as:

    http://csscreator.com

  5. Joshua Sommer
    Member
    Posted 3 years ago #

    Thanks! I'll check it out. Could you look at potionbear.com. That code worked but it doesn't cover the entire submenu. The text is oddly out of place.

  6. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    The text is oddly out of place.

    That doesn't have anything to do with the background colour change.

  7. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    CSS is commonly used when building websites. It is not specific to WordPress. Why not utilise forums that concentrate on CSS support, forums like the suggested above or http://welovecss.com ?

  8. Joshua Sommer
    Member
    Posted 3 years ago #

    I'll do that. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.