WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Styling Submenu (8 posts)

  1. Joshua Sommer
    Member
    Posted 11 months 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 11 months ago #

  3. Joshua Sommer
    Member
    Posted 11 months ago #

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

  4. WPyogi
    Volunteer Moderator
    Posted 11 months 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 11 months 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
    Spam zapper & Volunteer Moderator
    Posted 11 months ago #

    The text is oddly out of place.

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

  7. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 11 months 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 11 months ago #

    I'll do that. Thanks.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.