Site logo

[Resolved] custom html not showing on front end

Home Forums Support [Resolved] custom html not showing on front end

Home Forums Support custom html not showing on front end

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2506921
    Matt

    I ham moving a site from thrive theme builder across to Generatepress with generateblocks and for some reason none of the custom HTML blocks that are in the content are showing on the front end of the site.
    example page is: https://staging-simplyelectricals-e23123.kinsta.cloud/best-lavazza-coffee-machines/ where at the bottom where the machines are listed there should be a HTML block showing prices etc.

    #2507108
    David
    Staff
    Customer Support

    Hi there,

    is this the HTML blocks with squirrels-live.getsquirrel scripts inside?
    if so the HTML is being output, but the scripts are not doing anything.

    #2507499
    Matt

    Those are the ones, how strange. They work fine on the live site Simply Electricals using Thrive Theme Builder 🤔

    Need to move themes due to ads network conflict.

    Anything you could suggest?

    #2507549
    Ying
    Staff
    Customer Support

    Hi Matt,

    I would suggest reaching out to the JS provider, and checking how it would work in an HTML block.

    #2508608
    Matt

    Thanks Ying,

    It already works on the Thrive Theme we have on the live site currently. The only thing that we have changed is the theme to use Generatpress?

    You can see it here on this post: SE post

    Why would it work fine on a different theme but not when using on Generatepress?

    #2508872
    Ying
    Staff
    Customer Support

    I compared the section on the GP site and your live site, and it seems there’s one <div> missing from the GP site’s HTML:
    https://www.screencast.com/t/nbgvwVBIT1

    Themes have nothing to do with of the output of such an HTML section, it’s likely having something that didn’t set up correctly.

    #2509487
    Matt

    Thanks Ying,

    So, turns out I hadn’t added the staging domain to the whitelist 🤦‍♂️

    Thanks for all the help on this. It’s very much appreciated.

    #2510157
    Ying
    Staff
    Customer Support

    You are welcome, glad you’ve sorted out 🙂

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