Suggestion for default CSS
-
This plug-in works perfectly in WP 4.31, and it is simple to make it look the way you want by writing some CSS.
Users may want to change the color of the event titles, which would ordinarily be a simple thing. However, in the style.css file that installs with the plugin, certain rules ahave “!important” appended to them, making override impossible.
For instance, the color of the event titles is handled by these rules in the plug-in’s CSS file:
div#timelineContainer .timelineMinor dt a.open {
color:#7DBADF !important;
font-weight: bold;
}div#timelineContainer .timelineMinor dt a:hover {
color:#7DBADF !important;
text-decoration: none !important;
}These are the only two rules with “!important” appended in the entire file. In order to change these colors, one has to remove the “!important” from the rules in the plug-in’s style.css file – there’s no other way I can think of to do it.
I suggest just removing !important” from these 2 rules to allow customization of the way the plug-in looks; otherwise, one must alter the plug’s source code, which will of course, break when the next update is released.
The topic ‘Suggestion for default CSS’ is closed to new replies.