Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #355665

    I’m new at WordPress. I installed the Enfold theme and installed a Tabs (Tabbervilla) plugin in a textbox. In the advanced layout builder there is no empty space on top of the tabs but as soon as i open my website and press F12 in IE11 i see this on top:
    <p>
    <br>
    <br>
    <br>
    <br>
    <br>
    </p>
    I downloaded the functions.php from /wp-content/themes/enfold and added debugging, uploaded the file, hit refresh. In the debug screen i am not able to delete the <p> and <br> content. How can i edit the homepage so i can delete those empty spaces ( br’s and p’s) on top of the taps? The homepage isn’t a file i can download and edit?

    • This topic was modified 6 years, 8 months ago by  Dutchman.
    #356261

    Hey Dutchman!

    First do this, http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/, and then add a class to the textbox element and then add this to your custom CSS.

    .your_class > p:first-child { display: none !important; }
    

    Best regards,
    Elliott

    #356355

    Thanks Elliot!
    I Added the custom CSS field. I open the advanced layout builder and open the text block element, switch from wysiwyg to text and added the following:
    <div class=”texttabbervilla”> (at the end of the content i end with </div>)
    Before i add the .texttabbervilla > p:first-child { display: none !important; } i saved and preview the website in IE11 with F12: The <p> </p>
    is allready gone but i still have 5X <br>

    #356994

    Hey!

    Try deleting the tabs and then type them out in the HTML editor and make sure you do not have any extra spaces or line breaks between the shortcodes. Sometimes you cannot see them and deleting / retyping the shortcodes out fixes it.

    If your still having trouble then send us a WordPress login and set your reply as private and we’ll take a closer look.

    Cheers!
    Elliott

    • This reply was modified 6 years, 8 months ago by  Elliott.
    #357086

    Thanks Elliot!
    TabberVilla’s insert button does not work within a textblock i guess, only within a post. So i copied the html to notepad and then back to the html editor but no difference. I solved it by adding the following to the functions.php:
    remove_filter( ‘the_content’, ‘wpautop’ );
    remove_filter( ‘the_excerpt’, ‘wpautop’ );
    Thanks for the help, amazing and fast support Elliot!

    #357654

    Hey!

    Glad you got it sorted. Let us know if you have any other questions.

    Best regards,
    Elliott

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.