Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hide menu using css HELP!


  • charlietech
    Participant

    @charlietech

    I wanted to hide the profile menu in my side widget. Here the code
    .suf-mag-category ul li, .sidebar-tab-content ul li, .suf-widget ul li, .suf-flat-widget ul li, .suf-panel-widget ul li {
    background-position: 0 1px;
    background-repeat: no-repeat;
    padding-bottom: 3px;
    padding-left: 0;
    }

    Now would I put the profile. suf-mag etc to remove profile and keep everything the same or would I put the” pagename. suf-mag?

Viewing 3 replies - 1 through 3 (of 3 total)

  • mrjarbenne
    Participant

    @mrjarbenne

    Have you every used Firebug before (it’s a Firefox addon). Install it and then you can inspect which class you are trying to hide.

    That code looks to be for a widget, not a menu.

    Once you figure out what you are trying to hide, download something like this so you don’t have to keep making the change everytime your theme updates https://wordpress.org/extend/plugins/safecss/

    Then put

    whateveryouarehiding {display: none;}

    to hide the menu.


    charlietech
    Participant

    @charlietech

    Hey thanks,

    I am using firebug, thats the code that pop up when i highlighted the area. the profile menu appear in a custom menu I made and now i cant get rid of it so Im trying to hide it. I was able hide the sub categories in the profile but wasnt able to get rid of the profile link itself.


    Tammie Lister
    Moderator

    @karmatosed

    Have you tried attaching the hiding to the ul not just the li?

    If that doesn’t work can you paste your menu CSS in this link https://gist.github.com/ and link here please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide menu using css HELP!’ is closed to new replies.
Skip to toolbar