The page builder will refine the changes you make and re-format the tags so I would suggest you use the popular tags (such as span or small etc...) or set the a class to the whole text block, to do this edit the text block, a popup should appear and there is a field where you can type your own CSS class which you can style under Custom CSS.
I hope I was clear enough, if you have further questions we would be happy to assist.
Hello there,
Just wondering – is there a way to add custom css tags into a text block within WP Bakery?
For example, in the text block, I have:
<h3>Heading here</h3>
<custom>Subheading with a bit of different styling</custom>
This references css rules I write in the Custom CSS section (Dashboard > Custom CSS)
custom {
font-size: 15px;
font-weight: 500;
color: #333333;
text-transform: uppercase;
}
I can't get WP Bakery to recognise my tag.
Do I have to use inline css if I want a special tag in there?
Thanks for your help.
Hi Mewkazoid,
The page builder will refine the changes you make and re-format the tags so I would suggest you use the popular tags (such as span or small etc...) or set the a class to the whole text block, to do this edit the text block, a popup should appear and there is a field where you can type your own CSS class which you can style under Custom CSS.
I hope I was clear enough, if you have further questions we would be happy to assist.
Best regards,
Laborator Team