CSS problems with plugin
-
Hello, I’m new to the forum and pretty new to WordPress.
So please be kind to me!
I’ve recently built a plugin and for the most part it’s working great.
Functionally it’s working perfectly.
But I’m having a rather difficult time getting the style sheet of my plugin to work with a variety of themes.
It seems that with some themes, it looks perfect. ??
Sadly, on others it is completely hideous! ??
This is mostly on themes with a darker scheme, but it happens on some intricate ones too.
It looks like some themes override my style sheet completely.
I’ve looked all over for a solution, tried enqueing my style sheet as is suggested in the forum here.
But this never has any effect.
My style sheet is dynamic — it allows the admin to pick from some pre-set color patterns.
So the CSS file is actually a PHP file that loads variables into the css.
I don’t know if this is why enqueing does not work?
I AM able to override some themes styles by using “!important” on my own style sheet.
But I’m not happy with this because sometimes it totally bungs up the rest of the theme.
I’m sure there must be a solution to this that I just can’t seem to figure out.
I’d absolutely LOVE to get this so that it works with the individual theme’s settings.
Can anyone suggest anything or point me in the right direction of some quality reading?
Sometimes I just don’t know the exact term I should use to search for and once I get there I can usually figure it out.
Anyhow, if anyone has any suggestions — I humbly appreciate any help! Thank you!
- The topic ‘CSS problems with plugin’ is closed to new replies.