Good Evening to all!
On a client’s business website, I use the SiteOrigin Blog widget to display his recent articles on a page. However, I want to change the font style of the article headings to bold, which are displayed on the following page and, also, when the visitor opens an article, its title should be in bold. The blog page is the following:
The widget has the following settings:
Template : Grid
Feature Image Size : Sow Blog Grid
Post Title HTML Tag : H2
How can I change the style of these headings to bold? I used the following CSS code on CSS Editor, but it doesn’t work.
.entry-header .entry-title h2{ font-weight: bold; }
Thanks in advance!
Hi Costas
Good to hear from you. entry-title is the class applied to the h2 tag so if you remove the h2 from your rule, the rule should work.
Hi Andrew!
That’s all at all! I removed “h2” tag and it works. I have already removed it previously, but it made no effect. On Properties menu > Reading > “Your Homepage displays” section > Posts page, I had set the value to this page (Blog). I changed the value to “null” (nothing) > Save and the changes appeared.
Thank you, and have a nice day!
Hi Costas; thanks for the update.
WordPress doesn’t display the contents of the assigned Posts page. By removing the Posts Page designation, you allowed WordPress to output the contents of your Blog page and not just the posts feed which is controlled by the theme. Hope that helps to explain what might have happened.
Cheers!
Andrew