Tagged: DeBug Mode, edit page
-
AuthorPosts
-
November 21, 2014 at 11:11 pm #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 10 years ago by Dutchman.
November 23, 2014 at 5:21 pm #356261Hey 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,
ElliottNovember 23, 2014 at 9:17 pm #356355Thanks 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>November 24, 2014 at 6:05 pm #356994Hey!
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 10 years ago by Elliott.
November 24, 2014 at 8:29 pm #357086Thanks 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!November 25, 2014 at 5:05 pm #357654Hey!
Glad you got it sorted. Let us know if you have any other questions.
Best regards,
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.