• Resolved Skavenmight

    (@skavenmight)


    I’m using the Twenty Ten theme.

    I have a main menu that I changed with CSS.
    I gave one single menu item a class in appearance/menu which I called “first”. Then I used CSS to change the individual menu button:

    #access ul li.first a {
    	color: #4E9EFF;
    }

    Now for my question. What would the CSS be if I wanted to change the menu in a widget area? I can’t find it in the CSS editor so I wondered if someone knows this.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • You need to install and use a browser inspector, if you are using firefox it would be firebug, other browsers have an equivalent addon.
    Using the browser inspector, you will be able to see the css used on the menu and widget you are interested in.

    Then when you are customising your css please use either a custom css method (some themes have this, there is also a plugin), OR use a child theme:
    creating a child theme https://codex.www.ads-software.com/Child_Themes

    Thread Starter Skavenmight

    (@skavenmight)

    Thanks Ross,

    Yes I already use the inspector of the browser.
    To be specific, I need to remove a top-border from my second menu widget.

    This code gives border-top to all menu items:

    .widget-area ul ul li {
    padding: 3px;
    border-top: solid 1px #000;
    width: 103px;
    }

    I have tried all kinds of CSS to remove it but still can’t figure it out.
    Any help is appreciated.

    my website:
    https://practice.timbeek.com/

    Do you mean the wide space between “Various” and “Music Packs” ?

    It is caused by the bottom margin of the .widget-container

    Try this
    #nav_menu-3 {
    border-top: none;
    }

    Thread Starter Skavenmight

    (@skavenmight)

    Perfect Mohamed Asfer! that worked, thank you.
    Also thanks Ross for the effort.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change individual menu widget twenty ten’ is closed to new replies.