Child Theme is breaking icons
Hello,
I've tried to use your child theme in order to delete some "!important" css code from base.css which interferes with styling a booking form plugin.
However when I activate it, all icons on the site stop working and display a □ instead.
What do I need to do to make icons work with the child theme?
And is there a different/better way to remove a few lines of code from base.css?
These are the rules I can't seem to overwrite with custom CSS:
.ui-datepicker table tr:first-child td{background:inherit!important}
.ui-datepicker table tr:hover td{background:inherit!important;color:inherit!important}
.ui-datepicker table tr:hover td a{color:inherit!important}
.ui-datepicker table tr:nth-child(2n) td{background:inherit!important}
Thank you very much for your help!
Joh
Comments
CSS rule better by adding more detailed target of your CSS code.
informations about specifity here, in the mozilla docs - I suggest
looking there, in my humble opinion, the mozilla docs are really
well-written.
!important
!important
on page-specific CSS that overrides foreign CSS (from external libraries, like Bootstrap or normalize.css).!important
when you're writing a plugin/mashup.!important
on site-wide CSS.P.S. For .htaccess solution, please visit http://forum.muffingroup.com/betheme/discussion/4902/icons-are-gone-cors-solved-within-htaccess