Site logo

Archived topic

How to customize blog in sidebar widget

4 replies · Started by Katharina on April 7, 2017

Viewing posts 1–5 of 5

Hi Tom,

how can i customize the appearance of my last articles when i use my blog in a sidebar widget?

. Change the distance of the post titles

. Change the font size of the date

. set featured images

https://alpecon-kulturtechnik-at.huberwebmedia.at/wordpress/

(the website is secure, even if the access will be blocked)

thank you in advance

Katharina

Hi Katharina,

Try the CSS below:
- Post title line height:

.widget_recent_entries a {
    line-height: 25px;
}

- Date font size:

.widget_recent_entries .post-date {
    font-size: 20px;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

- As for featured image, you would have to find a plugin for that. There were a couple users mentioning this but I can't remember what they used. Do a quick search and let me know if you can't find any.

Let me know.

Thanx for your fast reply!

I first tried the CSS wich didn't really change the distance between the articles, but the change of the font size worked fine. But i hat to add

.widget_recent_entries .post-date {
font-size: 20px; white-space: pre;
}

to force a paragraph after the post title.

Then i installed the suggested plugin, and it works fine so don't need the css anymore :).

https://alpecon-kulturtechnik-at.huberwebmedia.at/wordpress/

Thank you an kind regards
Katharina

Glad we could help :)

This archived topic is closed to new replies.