Post titles on home page

I am looking to reduce the size of the post titles that appear on the home page, when I use Recent Posts in a Classic Text element

As far as I can see, the text is using H3, so I have added the following code to the global CSS in Pro:
h3, .h3 {
font-family: ‘lora’;
font-size: 14px;
}

However, that does not appear to be making any difference. Can someone advise what I am doing wrong

Thanks

Ho There,

Thanks for writing in!

Please use this CSS insted of above.

.x-recent-posts .h-recent-posts {
font-family: 'lora';
font-size: 14px !important;;
}

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Thanks.

Thank you very much for for the help and excellent suggestions re CSS which I will study

Alex

Glad we were able to help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.