Hi, I have two lines of text in a single block, I can not differentiate them in size because if I give a body 20, the body 20 places it on both.
Studio Zirafa – first line
the dentist of your house – second line
I would like
studio zirafa – 20
the dentist of your house – 30
in the same element, it is possible? Thanks
Hey robertoKM,
Please enable custom class name support from Enfold > Layout Builder > Show element options for developers
Add custom class for the elements and use the proper CSS.
If you still have an issue please share the link to your site where we can see the issue.
Best regards,
Vinay
I did, thanks, can you send me an example of CSS class to put this words in body 30-font Montserrat bold?
Thanks.
Hi robertoKM,
Could you please give us a link to your website, we need more context to be able to help you.
Could you please attach some screenshots of the issue?
Best regards,
Victoria
I did it with the element Special text, but I would like to solve it with the element TEXT.
you can see the line:
Tanti buoni motivi per ricevere gratuitamente tips, consigli…
Iscriviti alla nostra Newsletter
Hi,
Sorry for the late reply, if I understand correctly you would like this text to be 30px ‘Montserrat’, Please try this code in the General Styling > Quick CSS field
.av-subheading p,h3.av-special-heading-tag {
font-family: 'Montserrat' !important;
font-size: 30px !important;
}
and download the font from Google fonts and upload to your Enfold Theme Options > Import/Export > Custom Font Manager
If your want to replace the special heading of the text and use a Text Block element then be sure to add a custom class, as explained above and use this css:
.custom_class p {
font-family: 'Montserrat' !important;
font-size: 30px !important;
}
just change the “custom_class” with your custom class.
Best regards,
Mike