Archived topic
Hide Icon Created by slideout-toggle class in Top Bar Widget
5 replies · Started by Michael on February 10, 2021
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.
Hi there,
try this CSS:
.top-bar .widget_nav_menu li.slideout-toggle a:before {
display: none;
}
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.
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;
Geez. Thanks for saving my sanity. That worked. Appreciate the help David & Elvin.
No problem. Glad it finally works for you. :D