Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #700343

    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.

    #701001

    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

    • This reply was modified 8 years, 1 month ago by Nikko. Reason: formatting
    #702136

    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”

    #702437

    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

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