Change .td-block-title font size

Posted in: Newspaper
Post count: 70

I need to change the font size of block title but just in some blocks (with custom code .class)

I have applied this code, but it doesn’t work

.class26 .td-block-title a{
font-size: 15px!important;
font-style: normal;
font-weight: 300;
}

Post count: 20688

Hi,

You can try it like this, with a custom class
https://www.screencast.com/t/lxqM0SfBFsPG

.class26 .entry-title a{
font-size: 15px!important;
font-style: normal;
font-weight: 300;
}

There are options in the theme that allow customization for the font of each module
https://www.screencast.com/t/dNaolWCeE
But for more specific customization, you can use custom classes, as you are.
This is a tutorial about using the browser inspector to identify the elements on the page and their classes, and create custom code
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thanks

Post count: 70

Simion C., I’m talking about Block Title. No entry title. The code you suggest is for Entry Title. I need to change de font site to BLOCK TITLE in a single block of my homepage with customized code. Any other suggestion?

  • This reply was modified 8 years by llucson.
Post count: 22421

Hi,
Please try this code:

.block-title a, .block-title span, .block-title label{
font-size: 15px!important;
font-style: normal;
font-weight: 300;
}

You can add your custom class if necessary if you only want to affect separate blocks and not all at once.

Post count: 70

Hi.
No. It doesn’t work.

Do I have to introduce some kind of specific element for blog header template?
I’m using Block Header 2

Post count: 22421

Hi,
Please provide a link to your site so I can inspect it
Thanks.

Post count: 70

Please, provide me an email to send user and password. The web is still in coming soon mode.

Post count: 22421

OK,

Please contact us on our email address at contact@tagdiv.com and provide a link to your site and wp-admin (login information and admin rights) so we can login and investigate. Please also include a link to this conversation.

Thank you!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.