Submenu CSS Change per menu-item

Community Forums Forums Design Tips and Tricks Submenu CSS Change per menu-item

This topic is: not resolved

Tagged: , ,

This topic contains 3 replies, has 2 voices, and was last updated by  asdweb 1 year, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24619

    indiedog
    Participant
    Post count: 32

    Hello Friends:

    I am using the Lifestyle theme.

    I have added CSS to style each main menu item as a different color:

    #menu-item-814 a {
    background: #e55a17; !important;
    color: #fff;
    }
    #menu-item-814 a:hover {
    background:#fff; !important;
    color:#e55a17;
    }

    I would like the pages that drop down under each to have the same style as the hover properties and am wondering if there is  a way that can be done without styling each individual menu item.

    My site: http://test1.moragareid.com/

    Thanks

    Morag Reid

     

    #25471

    asdweb
    Participant
    Post count: 107

    Probably via php, but it looks like you did what you set out to do successfully via CSS.


    Amy Susan Design.com @AmySusanDesign

    #25473

    indiedog
    Participant
    Post count: 32

    I was able to do it on the top-level menu but not on the sub-level. Thanks anyway.

    Anyone else like to weigh in?

    #25479

    asdweb
    Participant
    Post count: 107

    Are you saying you would like the rollovers (sub level) links to be the same color as the top level background?


    Amy Susan Design.com @AmySusanDesign

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.