- This topic is empty.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I found out that many people besides me got problems with styling Widgets. For some reason the widget ‘Recent Posts’ doesn’t show up in the sidebar.php and can be slighly edited by editing the function in functions.php
This is how my functions.php looks like at the moment;
‘,
‘before_title’ => ‘
‘,
));
}
?>
With the following CSS;
Sadly enuff, by editing this you can only edit the title of the widget, in my case Recent Posts (which I changed in the backend to headlines). The <li></li> that builds up the list with most recent posts can’t be edited. I checked the source of my page and it shows like;
I really can’t find anything about how to style widgets, and since WP doesn’t has all code that refers to widgets in it’s .php files it’s hard to find which elements can be styled and how.