How do you override styles that have been set by your widgets?
-
I’ve noticed that two of the widgets I am currently using, Lastfm records (https://dirkie.nu/projects/lastfmrecords/) and WP Random Quotes (https://www.benched42.net/) add their own styles to the head of each page that they show up on.
I don’t like the default styles and want to change them, but I can’t work out how to change my styles.css in such a way to override what is in the page itself.
I’m probably just showing my css ignorance, but whatever changes I make to (for example) the border, which is defined in the head get ignored. If I define something different (eg display: none) that works.
I’ve tried !important, but I’m either doing it wrong, or don’t correctly understand what it is for?
Any ideas?
If it helps, look at https://shayne.powerlot.net – the Lastfm records are at the bottom. I am trying to style them like the flickr photos above them.
Thanks
Shayne in .au
- The topic ‘How do you override styles that have been set by your widgets?’ is closed to new replies.