Archived topic
How To Make Sidebars Content BOLD ?
7 replies · Started by Den on November 26, 2020
Hello Team,
I want to change the font size and weight of the content that shows in the (Sidebars/Widget) of my website. The only option for changing the font size or weight is for Widget Title, not for the content under that widget. Please help.
Regards
Hi there,
Do you want this for all the sidebar widgets?
Any chance you can link us to the site in question?
You can use the private information field.
Let me know :)
Hey Leo,
I have provided you 2 link in the private section. 1st one is the link that contains what I want. 2nd link is of my site.
-------------------------
You can check out his RECENT POSTS & ULTIMATE POST sections where he bold up the content under that widget.
So in your case, it would be the Recent Posts and the Top Rated Posts?
What about Pages and Recent Comments?
No, I don't want that to be on bold because it will make the site look unnecessarily bulky and that is exactly I don't want.
So yes, I want to bold the texts on some particular widgets only. like in my case, Recent Posts & Top Rated Posts
Try this CSS:
.sidebar .widget .pis-ul a {
font-weight: 700;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
WOAH! worked like magic.
1 more thing - adding these CSS codes will make my site run slower? Yes, there are many other factors for speed. But, does it make a huge impact on site speeds OR we should not worry about such 1 or 2 lines of CSS codes?
I always get amazing support from you guys
CHEERS!
we should not worry about such 1 or 2 lines of CSS codes?
I wouldn't worry about it unless you have like 1000 lines of CSS :)