• Resolved John Kostly

    (@johnkostly1)


    On this page, the “Products” is put in the reusable container. It is a Spectra Grid display, and it doesn’t work regardless of what I do. It looks like some CSS isn’t beign included. I tried to regenerate assets, but that then broke the other section of the website and this still is broken.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support mohsinbsf

    (@mohsinbsf)

    Hi @johnkostly1,

    Sorry for the inconvenience caused to you.

    I am not able to see the broken part on the issue URL, can you please share the screenshot and point out the broken part so that I can assist you.

    Have a nice day!

    Thread Starter John Kostly

    (@johnkostly1)

    This is suppose to be a product in a post grid form. 2 Wide. It is missing parts of the CSS when it is put in a pattern, and so it looks like this. Usually its a picture of a product.

    Plugin Support mohsinbsf

    (@mohsinbsf)

    Hi @johnkostly1,

    Sorry for the inconvenience caused to you.

    Can you please check by turning off file generation from the Spectra dashboard ( https://wpspectra.com/docs/file-generation/ ) and clearing all the caches including the server-side cache.

    Please try and let me know how it goes.

    Have a nice day!

    Thread Starter John Kostly

    (@johnkostly1)

    It did not clear this issue.

    The problem seems to persist. You can see it on the page above, but it looks like the image.

    Thread Starter John Kostly

    (@johnkostly1)

    I looked into this more, it appears that using the pattern itself on the website works, but when I use the pattern in code, and run it with do_blocks, the CSS isn’t getting applied.

    Thread Starter John Kostly

    (@johnkostly1)

    I’ve now tried to run this pattern in the wp action, so that it runs before the head, but that doesn’t seem to work.

    Thread Starter John Kostly

    (@johnkostly1)

    This solved the problem…
    // Create Instance. Pass the Post ID.
    $post_assets_instance = new \UAGB_Post_Assets( self::pattern_id );

    // Enqueue the Assets.
    $post_assets_instance->enqueue_scripts();

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[NSFW] Including the Posts Grid in a Guentenberg Pattern breaks the display’ is closed to new replies.