I’ve updated WordPress and the theme, looked through the forums and can’t find the answer to figure out how to keep the Avia text element editor add white space.
Hey webprodigy,
You will need to enable Custom Css Class to add space on the text element editor. Go to Appearance > Editor and open functions.php and find this code:
// add_theme_support(‘avia_template_builder_custom_css’);
and replace it with
add_theme_support(‘avia_template_builder_custom_css’);
then save it.
Edit the text element editor and at the bottom you should see Custom Css Class add this in it: webp-text and Save
Then Go to Enfold (Theme Options) > General Styling > Custom CSS and add this code:
.webp-text {
padding-top: 30px;
}
if it doesn’t work try this instead:
.webp-text {
padding-top: 30px !important;
}
You can change the value of 30px as you see fit and if you want to add space in the bottom you can change padding-top to padding-bottom. Hope this helps. :)
Best regards,
Nikko
Hi Nikko,
Everything makes sense to me except for this instruction. Can you rephrase the instructions?
“Edit the text element editor and at the bottom you should see Custom Css Class add this in it: webp-text and Save”
Hi webprodigy,
Edit the text block (you should see the content), just scroll down, at the bottom and you should see this field Custom Css Class. In that field just put webp-text. Then Save the text block and Update the page.
Best regards,
Nikko