Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #363370

    I need to create a menu with different colors depending on the page , different colors ..

    Thanks

    #363399

    You can use the page id to specify custom CSS for a specific page.
    How to get the page ID: http://en.support.wordpress.com/pages/#how-to-find-the-page-id

    Example:

    #top.page-id-200 #header_main_alternate {
        background-color: #ff00ff;
    }

    I hope that helps.

    #363408

    sorry but not working

    #363889

    Hi!

    Thanks for the help Flikk!


    @masilusiones
    , Flikk has the right idea. Go ahead and send us a link to your page and we’ll take a look.

    For example if your page ID is 123 then you can add this to your custom CSS to change the menu to red when viewing that page.

    .page-id-123 .avia-menu-text {
        color: red !important;
    }

    Cheers!
    Elliott

    • This reply was modified 10 years ago by Elliott.
    #364057

    Hi,

    I think it works, i can spend the whole code of the over menu included.

    THX !!!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘A different menu for each page’ is closed to new replies.