-
AuthorPosts
-
January 9, 2024 at 2:57 pm #1429639
Hi,
I have this annoying issue and wonder if anyone else observed it and if there is a solution:
After each element within a section, there is an extra line break <br> that causes extra spacing:January 9, 2024 at 5:16 pm #1429651Hey lausianne,
I’m not seeing line breaks between the sections:
Try disabling all of your plugins and then resave the page. If that resolves the issue, reactivate each one individually, and resave the page until you find the conflict.
If this doesn’t seem to help, leave all of your plugins disabled and then try to create a new page and see if it occurs again.
If you are able to reproduce this will all of your plugins disabled, please leave them disabled and include a admin login in the Private Content area so we can investigate.Best regards,
MikeJanuary 16, 2024 at 11:37 am #1430235Thanks, Mike. I’d be surprised if it had anything to do with the installed plugins. All other pages are ok, seeing this only on one.
I tried switching the page templates, removing and replacing elements, and sometimes it worked, and then again it didn’t. Couldn’t figure it out. Too bad the source code of the page cannot be seen. Maybe I need to have a look at it in the database. Is there a way to see the source code in the backend?
Eventually I recreated the page. New page, all the same elements and content. In the backend no visible difference – but no more <br> in the frontend.
Best regards,
RalfJanuary 16, 2024 at 5:17 pm #1430735Hi,
Glad to hear that recreating the page solved the issue, I’m not use what may have caused this as I can’t reproduce it. You can Enable the Avia Layout Builder Debugger to view the page shortcode, to see if you can spot anything unusual.
Since recreating the page solved the issue, shall we close this thread then?Best regards,
MikeJanuary 17, 2024 at 10:45 am #1430802Hi Mike,
Thanks for the hint about debug mode, very helpful. Now I found the difference was that in the “broken” page, I had a color section, then a 1/1 column, and all other elements within that column. Removing the column fixes it. I tried on other pages. All elements within a column have this extra <br>.
The strange thing is, that this only happens, when a page template other than Default is selected. It does not matter what that template actually contains. If I manually select the template that is the Default, then there will be <br>. If I select Default, then there is no <br>.
Please try: If your default template does not have a title, add <?php /* Template Name: The Default Template */ ?> at the top. Then select that. Do you get <br> for elements within a column?
Best regards,
RalfJanuary 17, 2024 at 5:42 pm #1431298Hi,
Glad that you found this helpful, I tried different page templates but I couldn’t reproduce this. Perhaps you are using a custom page template or a plugin that is causing this?Best regards,
MikeJanuary 18, 2024 at 9:38 am #1431342Hi Mike,
That’s what I thought at first, that there is something wrong with my custom template. But it is the same with all templates. As soon as they have a name and I select one other than Default, I get the <br>.
As I said, even the exact same default template: If I select that template as Default, it is fine. If I select it by it’s name, I get <br>Best regards,
RalfJanuary 18, 2024 at 5:30 pm #1431409Hi,
I don’t know what could be causing this issue on your site, but I’m not able to reproduce it on my test site. Have you tried removing your customizations and plugins and see if that solves the issue, or perhaps you could just use the default template as you know it works correctly?Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.