Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11488

    I changed the background of the main menu into brown. On hover the block changes into to purple by using:

    .main_menu ul li a:hover {

    color: #FFFFFF;

    background-color: #5a4099;

    }

    Wat css do i use to keep this purple color on the current page?

    By the way, is it possible to set the background of the menu in a gradient in combination with the hover function mentioned above?

    #71936

    Hi,

    This is all you have to do. Add this line on your custom.css

    .current-menu-item {
    color: #FFFFFF;
    background: #5a4099;
    }

    Hope this helps.

    Regards,

    Ismael

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

The topic ‘Current page background main menu’ is closed to new replies.