Hi,
thank you for using my block and reporting this issue.
The intention is indeed that the line is not shown if the excerpt length is 0. There is a small error that leaves a line feed (<br>) in this case.
I’m going to fix this maybe today, probably tomorrow.
If you don’t want to wait that long, you can also use one of the following work arounds with CSS (similar to the solution for issue ‘Setting colors for event list’)
IMPORTANT:
In order to target the CSS very specifically to the simple-ical-block, it is best to enter something unique in the settings of the block/widget under Advanced in HTML ANCHOR, for example “Simple-ical-Block-1” the code translated into a high-level ID of the block.
- Just don’t show the unnecessary line feed when excerpt length = 0:
/*additional CSS for block with HTML Anchor Simple-ical-Block-1*/
#Simple-ical-Block-1 .ical_details br{
display: none;
}
/*end additional CSS for Simple-ical-Block-1 */
- Or do not show the entire description including location. (but after seeing your site I don’t think this is what you want)
/*additional CSS for block with HTML Anchor Simple-ical-Block-1 */
#Simple-ical-Block-1 .ical_details { // remove details block that is description and location
display: none;
}
/*end additional CSS for Simple-ical-Block-1 */
Regards Bram
-
This reply was modified 10 months, 1 week ago by bramwaas.