Disabled Data-x-icon-s

[class*=x-icon-]{font-family:none !important;}
[data-x-icon-s]{font-family:none !important;}

In Child Style.css

doesn’t work. Any ideas?

Thanks.

Hi @minipucchi,

Thank you for writing in, but why would you do that? A lot, if not all of the icons on your site will be affected by that. Please clarify what you’re trying to do.

Cheers!

The problems are that I don’t use any of those icons. ZERO icons on my website, so that’s why I want to disable it. Cheers.

Hi @minipucchi,

To disable the font icon, please try with this custom CSS instead:

[data-x-icon-o], 
[data-x-icon-l], 
[data-x-icon-s], 
[data-x-icon-b], 
[data-x-icon], 
[data-x-fa-pro-icon], 
[class*="x-icon-"] {
    font-family: inherit !important;
}

But all the icons will become square like this:

So should hide it by adding this custom CSS:

[data-x-icon-o], 
[data-x-icon-l], 
[data-x-icon-s], 
[data-x-icon-b], 
[data-x-icon], 
[data-x-fa-pro-icon], 
[class*="x-icon-"] {
    display: none !important;
}

Hpoe it helps :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.