Posted: March 7, 2014 at 3:41 pm
How do I change the font and spacing on the upcoming Events widget (sidebar)? | |
Hi Rachel, Could you please link to a page where I can see the sidebar? — | |
Thanks for getting back to me so quickly. Here’s a link: See how the font is too small and there’s not enough space, plus the events are indented. | |
The indentation is coming from the ordered list (ol) which is set to no style. Here is what it looks like with the ordered list restored and some spacing added: http://cl.ly/image/2x0I3f2m0G0q Did you want it to look similar to the screenshot above? — | |
Thanks, that would look great. But I would not want them to be numbered. | |
You can add the following CSS to add some spacing between the list items: .widget.events li { padding-bottom: 10px; } This can go into your theme’s style.css file or in a plugin like My Custom CSS: https://wordpress.org/plugins/my-custom-css/ — | |
Thanks!! I appreciate your help. Will this remove the numbering? I don’t want this list to be numbered or have any type of indentation. Also, can the “Date” be in bold? | |
Alright, this will add some spacing and remove the indentation: .widget.events li { padding-bottom: 10px; margin-left: -25px } The date alone can’t be bolded. — | |
Excellent! You’re the best. Thanks. Also, the font for the headings of my events are huge and do not resize when viewed on a mobile device. Any tips on how to handle this? | |
here’s a link to an event. | |
It has a fixed size set: font-size:1.2em. Try a different size like medium: http://cl.ly/image/0C34230A3J44 h2.ui-widget-header, h3.ui-widget-header{ font-size:medium; } Add the CSS above to the My Custom CSS plugin as well. Then refresh the page and it should load the new style. — | |
The support post ‘How do I change the font and spacing on the upcoming widget?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.