[Resolved] Toolset compatibility question

Home Forums Support [Resolved] Toolset compatibility question

Home Forums Support Toolset compatibility question

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2369183
    Hernan

    Hello, I am having several problems related to Toolset, for some reason that I keep investigating, styles are inserted in my sitemap (I am generating the sitemap with Rank Math) which generates an error in google search console

    The thing is, one of my main suspects was a code snipet:

    https://toolset.com/errata/generateblocks-styles-lost-on-front-end-when-using-content-templates/

    This code snipet made it possible to use GeneratePress blocks in toolset templates, significantly facilitating and expanding design possibilities

    Trying to solve my problem, I disabled the code snippet and to my surprise the styles are maintained, I cleared the cache on the server and in the browser and it seems correct, I can even make modifications to the template

    Was it an update from you? Is it no longer necessary for that snippet using toolset?

    I understand that what is related to the sitemap I must see with rank math or the people of toolset (neither of them has found an explanation or solution)

    But in case you make sense of my problem, styles are randomly inserted, when this happens the same browser randomly shows an error

    sitemapbroken

    Although since I disabled the code snippet I have not been able to replicate the error, I would like to keep it disabled. I am quite confused about it, I really don’t understand the cause of the problem in that sitemap

    Thank you !

    #2369369
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Yes, GB 1.6.0 made it so our blocks will always be styled even if you don’t add them specifically using the code snippet you added.

    The only difference is that the snippet makes it so the CSS is added to the <head> of your website. Without it, the styles for blocks that GB isn’t aware of beforehand (using the snippet) will be added before the block HTML using a <style> tag.

    Hope this helps! 🙂

    #2370358
    Hernan

    Thanks for the information, dispensing with that code snippet I have less suspects for my central problem (sitemap corrupted by toolset styles)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.