-
AuthorPosts
-
January 20, 2015 at 2:22 pm #382439
Hi Kriesi,
Is there a possibility to remove the <br> that is added after special headings. This only happens when the headings are placed inside a block element.
<h4 class='av-special-heading-tag' itemprop="headline" >Openingstijden</h4><div class='special-heading-border'><div class='special-heading-inner-border' ></div></div></div><br /> <section class="av_textblock_section" itemscope="itemscope" itemtype="https://schema.org/CreativeWork" ><div class='avia_textblock ' itemprop="text" ><p><strong>Maandag</strong> : 09:00 – 18:00<br /> <strong>Dinsdag</strong> : 09:00 – 18:00<br /> <strong>Woensdag</strong> : 09:00 – 18:00<br /> <strong>Donderdag</strong> : 09:00 – 18:00<br /> <strong>Vrijdag</strong> : 09:00 – 18:00<br /> <strong>Zaterdag</strong> : 09:00 – 17:00<br /> <strong>Zondag</strong> : Gesloten</p> </div></section>
January 20, 2015 at 10:14 pm #382742Hi Stefanovic!
Can you send us a link to your page so we can get a better idea of what’s going on?
From the code you provided it looks like the line breaks are from hitting enter in the Visual editor of your textblock element.
Cheers!
ElliottJanuary 21, 2015 at 9:52 am #382922This reply has been marked as private.January 21, 2015 at 9:20 pm #383353Hey!
For the second and third columns you have this.
<div style="padding-bottom:10px;" class="av-special-heading av-special-heading-h3 avia-builder-el-4 el_before_av_textblock avia-builder-el-first "><h3 class="av-special-heading-tag" itemprop="headline">Hello</h3>
You can see the bottom padding of 10px there. For the first column you have this.
<div style="padding-bottom:0px;" class="av-special-heading av-special-heading-h3 blockquote modern-quote avia-builder-el-1 el_before_av_textblock avia-builder-el-first "><h3 class="av-special-heading-tag" itemprop="headline">Hello</h3>
Which the padding is set to 0px which is why they look different.
Best regards,
ElliottJanuary 22, 2015 at 9:37 am #383560No it’s not the padding, i know there is a padding. But when you look into the code you can see <br> after the div, I want to remove it but I don’t know where that <br> comes from
January 23, 2015 at 7:14 pm #384562Hi!
The space your seeing is not caused by the line break it’s being caused by the different padding you have set for the special headings.
Send us a WordPress login and we’ll take a closer look.
Regards,
Elliott- This reply was modified 9 years, 11 months ago by Elliott.
-
AuthorPosts
- You must be logged in to reply to this topic.