• Resolved loiruca

    (@loiruca)


    Hello, how can i remove or hide the icons that appears in the widget areas in the sidebar? These are the ones before the links like Categories, etc. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi loiruca. Try this css in a child theme style.css file or a plugin like Custom CSS:

    .widget_recent_entries > ul > li > a:before,
    .widget_recent_comments > ul > li:before,
    .widget_archive > ul > li > a:before,
    .widget_categories > ul > li > a:before,
    .widget_meta > ul > li > a:before {
        content: "";
    }
    Thread Starter loiruca

    (@loiruca)

    Thanks it works, but now I am left with a space before the posts link in place where the icon was.

    True; you didn’t ask to move the links left in your original request. Change the CSS I posted above to add the width and margin properties; that should take care of it:

    .widget_recent_entries > ul > li > a:before,
    .widget_recent_comments > ul > li:before,
    .widget_archive > ul > li > a:before,
    .widget_categories > ul > li > a:before,
    .widget_meta > ul > li > a:before {
        content: "";
        width: 0;
        margin-left: -.5em
    }
    Thread Starter loiruca

    (@loiruca)

    Thanks!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide widget icons?’ is closed to new replies.