P and Breaks inserted by GD

This topic contains 5 replies, has 2 voices, and was last updated by  Guust 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #508288

    P O
    Expired Member
    Post count: 501

    I am using Enfold and adding a simple text block to show GD things.

    I have this in my page:

    
    
    [gd_notifications]
    [gd_post_title tag="h2"]
    [gd_post_images type='slider' ajax_load='true' slideshow='true' show_title='true' animation='slide' controlnav='1' ]

    The result is this:

    
    
    <section class="av_textblock_section " itemscope="itemscope" itemtype="https://schema.org/CreativeWork">
    	<div class="avia_textblock  " itemprop="text">
    
    		<p> <br> </p> <------------------ P with break inserted by GD
    
    		<div class="geodir-post-title">
    			<h2 class="geodir-entry-title">
    				My Title Here
    			</h2>
    		</div>
    
    		<br> <------------------ Break inserted by GD
    
    		<div class="geodir-post-slider">
    			Slider here
    		</div>
    
    		<p></p> <------------------ P inserted by GD
    
    	</div>
    </section>

    So that extra inserted paragraphs and line breaks are causing my style to break.

    The title is pushed down, etc…

    Bug? How to fix it?

    Thanks.

    * Of course this does not happen with any other content, so GD is the one inserting that.

    #508293

    Guust
    Moderator
    Post count: 29970

    Try using the correct GD blocks.
    Thanks

    #508295

    P O
    Expired Member
    Post count: 501

    I am using Enfold layout builder with short codes, there are no blocks.

    Thank you.

    #508301

    Guust
    Moderator
    Post count: 29970

    Please post your URL and WP admin details in a private reply so we can try to understand how Enfold layout builder works.

    And the URL of that page you are trying to edit.

    Thanks

    #508306

    P O
    Expired Member
    Post count: 501

    I found the problem with the short codes, hopefully helps someone else.

    Instead of using them by line:

    [gd_notifications]
    [gd_post_title tag="h2"]
    [gd_post_images type='slider' ajax_load='true' slideshow='true' show_title='true' animation='slide' controlnav='1' ]

    Use them in line:

    [gd_notifications][gd_post_title tag="h2"][gd_post_images type='slider' ajax_load='true' slideshow='true' show_title='true' animation='slide' controlnav='1' ]

    By line adds the extra elements, inline works as expected.

    Thank you.

    #508330

    Guust
    Moderator
    Post count: 29970

    Thanks for letting us know.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount