anil

Customer
Hey Russ,

Sup bro? So i'm using an old code to add FA icons to my 3rd party widgets. Because after installing the new themes, Some just has this " >> " as the icon.

So this is the code im using:
Code:
.block[data-widget-definition="xFRMResourceStatistics"] .block-minorHeader::before{
    .m-faContent(@fa-var-album-collection);
}

.block[data-widget-definition="html"] .block-minorHeader::before{
    .m-faContent(@fa-var-heart);
}

which results in this:
Screenshot 2024-08-30 at 4.39.50 PM.png


So, I'm at the loss because the buy me a beer widget doesn't change. the widget definition is " html ", so i cant figure out why its not working. it's the only Html widget I have.

Help a brother out!
 
Solution
HTML block for whatever puts the data-attributes on the .block-container instead of the .block. Simply add a space after ".block"

Code:
.block[data-widget-definition="xFRMResourceStatistics"] .block-minorHeader::before{
    .m-faContent(@fa-var-album-collection);
}

.block [data-widget-definition="html"] .block-minorHeader::before{
    .m-faContent(@fa-var-heart);
}
HTML block for whatever puts the data-attributes on the .block-container instead of the .block. Simply add a space after ".block"

Code:
.block[data-widget-definition="xFRMResourceStatistics"] .block-minorHeader::before{
    .m-faContent(@fa-var-album-collection);
}

.block [data-widget-definition="html"] .block-minorHeader::before{
    .m-faContent(@fa-var-heart);
}
 
Solution
HTML block for whatever puts the data-attributes on the .block-container instead of the .block. Simply add a space after ".block"

Code:
.block[data-widget-definition="xFRMResourceStatistics"] .block-minorHeader::before{
    .m-faContent(@fa-var-album-collection);
}

.block [data-widget-definition="html"] .block-minorHeader::before{
    .m-faContent(@fa-var-heart);
}
works like a charm. thanks, bro.
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.

Back