flashkube
Member
Posted 3 years ago #
First, my site is at http://thedailyflashkube.com
There is too much space between the WP built-in calendar widget and whatever is above it. I can move it to any position in the order and still get this gap. The only related CSS I can find modifies the calendar that is there if the user selects no widgets at all.
The theme I'm using is Journalist.
Thanks!
flashkube
Member
Posted 3 years ago #
UPDATE:
I did a view source on my blog and found this line,
<h3> </h3><div id="calendar_wrap"><table id="wp-calendar" summary="Calendar">
If I remove the section with the h3 tags and load it up in IE the space disappears and it looks as I want it to. I just have no idea what is adding that tag to the final page. Do you?
flashkube
Member
Posted 3 years ago #
SOLVED:
I opened wp-includes\widgets.php and removed lines 899 and 900,
if ( empty($title) )
$title = ' ';
There shouldn't be a line placeholder just because the title of the widget is empty. Does anyone else have an opinion on this?