Hi,
The product pages that I create using Woocommerce Single Layout and Booking WP’s Appointments plugin break the HTML. Regarding this issue, I opened a ticket last week, and the first impression was that the issue is plug-in-related.
https://theme.co/forum/t/sections-appearing-like-columns/107145/5
But it turned out that the problem is theme-related. The support team for the appointment plugin dedicated significant time to diagnosing this problem, so I would appreciate it if you do not to immediately shift responsibility to another party as a first response, as it can sometimes be a quick reaction.
Here is their response that can help you find the problem:
The issue is definitely coming from the theme.
I have a test appointments site. Using the Storefront theme, I put the appointments shortcode for a specific appointment on a page (the basic way of using the shortcode). I added one block with Gutenberg below it. That’s all there is on that page. I opened the page and checked the HTML structure and it’s as it should be – the block below it is below.
Then I installed and activated the Pro theme on my test site and reloaded that page. Nothing else was done to my site.
And the HTML is not ok. The block below was wrapped in the upper div, not one but 2 ways up and some extra divs were added to the output code.
Just in case, I did the same test with Astra and Divi theme and they both work fine.Keep in mind I didn’t even touch any templating with the Pro theme. Just used the Gutenberg to populate content on a page, that’s it.
I took screenshots with the differences that you can forward to the theme developers. They should be able to figure out what to fix as they are most familiar with their theme.
Attached, you can find screenshots of the extra div (pro theme vs storefront) that they are talking about.
I also want you to know that in the below product page, I use Pro-theme, same Appointmens plug-in and Woocommerce Single Layout (I do not know if there were different versions of it). Everything works properly on this installation.
Also, another clue for you: When I place the plug-in’s shortcode in a row, it breaks the HTML in a different way than it does when I pace it in a Grid.
Credentials are in the secure note, and I appreciate your help!
Thanks
Gunes
PRO THEME:
STOREFRONT THEME: