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 Team

    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 read the available documentation and search the forums before posting.
    #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 Team

    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 read the available documentation and search the forums before posting.
    #112537

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

    John

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

You need to log in to reply to this topic.