WordPress.org

Ready to get started?Download WordPress

Forums

twenty twelve sub menu item css (2 posts)

  1. Adrian
    Member
    Posted 1 year ago #

    Hi
    I have changed the color and position of my menu and it shows as I want it too, however each time I add a sub menu item i need to add the following to the CSS for it to be visible:

    #menu-item-xxx a {
    	color: white !important;
    	background: black;
    }

    where xxx is the number of the submenu item.

    Is there a way I can just make all sub menu items appear this way without doing this for each item?

    thanks

    Blog is @ http://www.clearprop.co.uk

  2. Adrian
    Member
    Posted 1 year ago #

    I have tried

    #menu-item a {
    	color: white !important;
    	background: black;
    }

    but it did not work :(

    can anyone tell me how i should do this?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags