Custom Labels modify Style

Posted in: Newspaper
Post count: 23

I’m currently using Newspaper 11.4.1.

I would need to modify the Flex Block 1 module (and if possible I need to know how to do that in all Flex Blocks), the CUSTOM LABEL style.

https://snipboard.io/3DBrw5.jpg

As seen in the example, CUSTOM LABEL assumes the same style as the CATEGORY. I would need know how to modify CUSTOM LABEL style (font, size, color, background, etc).

Thanks!

Post count: 27744

Hello,

The style for Custom Label is inherited from the category.
So, if you want to change it you need to use a custom code CSS.

Thank you!

Post count: 23

Thanks Anamaria

https://snipboard.io/IDE0x6.jpg
the class to be modified would be:td-post-extra-category

If I only wanted to modify the font color, how would be the code to add as custom css?

Tankssss!!

Post count: 27744

Hello,

So this is the code to change the font-size, color, background -> https://i.imgur.com/QFv4QzO.png
.td-module-meta-info .td-editor-date .td-post-extra-category
{
font-size: 20px!important;
font-family: Ariel!important;
background-color: red;
color: #a2e3b4;
}

This code needs to be set in Theme Panel -> Custom Code -> Custom CSS.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.