As of version 2.6 there’s an option to avoid theme styling:
https://github.com/rickard2/utcw/blob/master/CONFIG.md#avoid-theme-styling
Make sure this option is not set.
Apart from that, my plugin should not mess with your themes styling.
Thank you!
Where should I change the ‘avoid theme styling’ option from false to true?
I think it should be \ultimate-tag-cloud-widget\src\Config\RenderConfig.php
But I’m not sure. If I change line 175 to: $this->addOption('avoid_theme_styling', 'boolean', array('default' => true));
This doesn’t change anything…
Any suggestions?
Jan
If you’re using the standard widget you can find the option in the tab called “Advanced appearance”. If you’re using as a shortcode or directly in your theme with the php function, just pass avoid_theme_styling = 1
Thank you for your kind help.
But I’m afraid this doesn’t do the trick. (Take a look if you want to: I’m using the widget, and put the option on).
Is there any other way? I’d like the grey to pink (#C10077). I wouldn’t mind changing the css of your plugin, but where shuld I change the colour?
Jan
I would suggest that you add another CSS file to overwrite the plugin and themes CSS. Or use a plugin for that. Changing the code of my plugin is not a good idea since any changes would be lost when upgrading.
The CSS rule should look something like this:
ul.sidebar-tabs li a, .warea ul.sidebar-tabs li a {
color: #c10077;
}
If that doesn’t work, try adding !important after the color:
color: #c10077 !important;
Thank you, I think I’m almost there!
But: if I enter `ul.sidebar-tabs li a, .warea ul.sidebar-tabs li a {
#c10077;`
The letters turn pinkish (C10077), not the background. Adding !important;doesn’t help.
Any ideas how to turn the grey backgroup pinkish instead of the (white) letters?!
Jan
To change the background color, use background: #c10077 instead of color
Great, thank you ever so much!