Software Switch to Disable CSS in Widget Areas?
-
Hi All –
Yet another novice question, quite possibly… but we’re getting there!
My ever-evolving prototype site is at:
https://www.all-about-the-house.com
Over the past few weeks, I’ve tried adding a few script-based items to the sidebar on the right – and have found that this doesn’t always render properly. It’s almost as if the theme style sheet is competing with the native styling of script-based objects that I insert.
(I’m pretty sure this is what’s happening – but not 100% positive.)
I see it with Adsense script objects (only as they load) and I see it with script-based Twitter widgets as well. In fact, I’d love to add a Twitter widget to the sidebar, but it renders terribly. It’s not on the site at all right now, though I have a messed-up version on my development/test environment.
Which leads me to my novice question…
Is there a simple and definitive way to “disable” all theme-based CSS styling strictly within a widget object? Some line(s) of code I can insert right before my script code? (And if necessary close-out right at the end of the script code – to return to theme-based styling?) Does this make sense, and if so, are there any examples anyone can share?
Any insights would be most appreciated!
Thanks…
Mark
- The topic ‘Software Switch to Disable CSS in Widget Areas?’ is closed to new replies.