Global block issue backend preview okay, front end breaks

Hi!

Could you please have a look at what is happening here;
I’m using global blocks at the home page, in the backend (Cornerstone) it’s looking fine,
but on the front not so much, it breaks up :sob:

On all other pages where I use the same Global Block it’s fine,
I’ve checked if custom code is the issue, none found

thanks!

Hello @MeesterOntwerpers,

Thanks for writing to us.

It seems that you have added the invalid custom HTML inside Section 3—>Column 2—>Slider inline—>Content Wrapper —>Slider Container —>Slide—>Article —>The Excerpt

Hope it helps
Thanks

Thanks!
It worked fine until today… :confused:

don’t see how this is related, but I removed the excerpt as pointed out,
could you elaborate on why the excerpt is breaking up this specific global block?

but… I do need an excerpt there, is there any way to make that happen?

regards

Ps. not sure if I need to start an new threat, but under Theme Options > Miscellaneous > Scroll Top Anchor does not appear. Is that related somehow?

Hi @MeesterOntwerpers,

Thanks for reaching out.
It seems that you might have added some Broken HTML into The Except element or the excerpt of the post is return some content that is erroneous. I would suggest you add The Excerpt element and let us know if that shows the same error again.

And the issue related to Scroll To Top is an ongoing issue and has been fixed in the upcoming release. I would request you stay tuned for succeeding theme updates.

Thanks

Thanks for your reply,

the excerpt contains at most: {{dc:post:excerpt length=‘20’}} …read more
don’t believe that contains an error?

The content which is fetched by dc:post:excerpt is just the excerpt,
you mean there are posts with broken html excerpts?

For now I’ve found a work around by adding a new section and remake the contact form

Section 8 (which is hidden now) contains the Global Block that still brakes.

Would you happen to know a shortcut using Chrome Devtools to discover any broken HTML?

regards

Hello @MeesterOntwerpers,

I have made a test page and the global block is displaying as expected. There could be an element or a section that is conflicting with the global block. Try to save the page as a template and insert in a new page. You can remove the section or element one by one to find out which one is causing the issue.

As mentioned by @Tristup, a broken HTML could have been causing the issue. An incorrect element attribute value could also caused the issue too. You can use Firefox browser’s Dev Tool. With Firefox Dev Tool, it will be easier to spot for broken HTML because it will highly or display the broken code in red color.

Kindly let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.