[Resolved] Hide Icon Created by slideout-toggle class in Top Bar Widget

Home Forums Support [Resolved] Hide Icon Created by slideout-toggle class in Top Bar Widget

Home Forums Support Hide Icon Created by slideout-toggle class in Top Bar Widget

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1653446
    Michael

    I haven’t been able to figure out how to hide the small empty icon that displays in front of a link when you assign the slideout-toggle class to it in the menu placed in the Top Bar widget. I think this is close but I can’t seem to nail it down.

    nav#menu-top-navigation .slideout-toggle:not(.has-svg-icon) a:before {
        display: none;
    }

    Link to the site in the private info window.

    Thanks much.

    #1653660
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .top-bar .widget_nav_menu li.slideout-toggle a:before {
      display: none;
    }
    #1653733
    Michael

    Thanks David. I placed your code in the Additional CSS area but no joy. I’ve looked so much at this I’m just not sure where I’m going awry. Thanks for your help.

    #1653914
    Elvin
    Staff
    Customer Support

    Hi there,

    I’ve checked your site and you have syntax problems with your CSS added within Appearance > Customize > Additional CSS.

    You have this line:

    /* WP Show Posts Hover */
    .wp-show-posts-entry-title a:hover {
    	text-decoration:underline
    } */

    There’s a stray */ that’s causing the issue. Also make sure to always add ; on every property value as good practice. Example: text-decoration:underline;

    A wise man once said:
    "Have you cleared your cache?"

    #1654255
    Michael

    Geez. Thanks for saving my sanity. That worked. Appreciate the help David & Elvin.

    #1655202
    Elvin
    Staff
    Customer Support

    No problem. Glad it finally works for you. 😀

    A wise man once said:
    "Have you cleared your cache?"

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.