I use this Events sidebar pluggin by typing directly the event and it is working fine :
exemple :
<events>
<event summary="Corrida Blidegarienne 7,7kms" location="Blaugies" dtstart="20080823T1600" dtend="20080823T2000" description="Organisation" />
</events>
I use the bulletProof template and when displayed, the color of the event is dark gray on a dark bacground which is not very readable (location and date are dark red so fine) see http://www.obj.be/serendipity.
Is it an easy way to change the font color of the event to display and if possible by inserting html code or similar when typing the event in the pluggin.
Thanks for the help
Pierre
Upcoming Events sidebar plugin how to change the eventcolor
Unfortunately, the author put the style directly into the element. You might manage to get around it by setting the color or sidebar text to "!important" in your template. In your case, that's blue_style.css, line 112:
If that doesn't work, you'll have to edit the plugin. Although it's a sidebar plugin, it's contained in plugins/serendipity_event_microformats/serendipity_plugin_microformats.php.
Around line 193 or so, you'll see the style, including the color, that's being used for the elements of the event. You can change them to whatever you want.
Code: Select all
#serendipityLeftSideBar, #serendipityRightSideBar {
color:#505050 !important;
}Around line 193 or so, you'll see the style, including the color, that's being used for the elements of the event. You can change them to whatever you want.
Thanks Judebert
Thanks a lot Judebert
I followed your second recommendation and modified the php file as suggested around line 193.
It is working fine and the display is now far more better
Pierre
I followed your second recommendation and modified the php file as suggested around line 193.
It is working fine and the display is now far more better
Pierre