menu colours

  • Author
    Posts
  • #112451

    Is it possible to increase the colour difference when hovering over the main menu? Mine are grey and they change from a pale grey to a slightly paler grey.
    thanks

    John Fox

    Website: www.stourbridgeps.co.uk/spswp

    #112491
    Zed
    Cryout Creations mastermind

    Hi,

    The hover background color is automatically derived from the menu’s background, but you can tweak it with CSS:

    body #access a:hover {
        background-color: #ededed; 
    }

    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #112494

    Thanks that works a treat.
    Another favour please: How to set the colour of an active menu tab. ( Probably setting it to the hover colour.)

    John Fox

    Website: www.stourbridgeps.co.uk/spswp

    #112536
    Zed
    Cryout Creations mastermind

    For the current menu item use:

    body #access ul li.current_page_item > a,
    body #access ul li.current-menu-item > a,
    body #access ul li.current_page_ancestor > a,
    body #access ul li.current-menu-ancestor > a {
        background-color: #fff;
    }

    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #112537

    YES!!! Thanks again. Hopefully I am sorted now.

    John

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

The topic ‘menu colours’ is closed to new replies.