WordPress.org

Forums

Desire
How do i change the menu css (3 posts)

  1. cleaus
    Member
    Posted 1 year ago #

    I have been working with all of the .main-menu css in the editor, but nothing at all is changing on the front end menu.

    Can someone help me please?

    I am also trying to allow the sub-menu to be displayed to but am getting nothing:

    .main-menu ul ul { display:block; z-index:9999; width:60px; visibility: visible;}
    .main-menu ul ul li a { display:block; width:60px; z-index:9999; visibility: visible;}
    .main-menu ul li:hover > ul { display:block; width:60px; visibility: visible; }

    .menu-item-74 li:hover > ul {display:block; visibility: visible; width:140px;}

    .menu li.current_page_item a {background-color:#400072;}

    Would be great if someone could get back to me today.

    Thanks! :)

  2. Balint Toth
    Member
    Posted 1 year ago #

    Hello!

    Could you please share a link to your site to be able to check out what css rules are applying and if there are some which getting overwritten?

    Also, could you please tell me what method are you using for adding/editing your css rules?

    Thank you!

    Cheers,
    Toth Balint BT

  3. esmi
    Forum Moderator
    Posted 1 year ago #

    Do not edit the theme itself. First create a child theme for your changes. Or install a custom CSS plugin.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic