[Resolved] Help with two pages displaying differently

Home Forums Support Help with two pages displaying differently

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1433008
    Dustin

    Hello,

    I have two pages, both start with a container block, and inside that container is a headline block followed by a paragraph block. On one page the headline displays immediately below the page title, and the other page there’s some separation between the headline and the page title.

    Both pages are set up the same way as far as I can tell. Looking at the HTML, they seem identical.

    What am I doing wrong here?

    Page 1
    Page 2

    #1433102
    Leo
    Staff
    Customer Support

    Hi there,

    This container has 40px of padding all around:
    https://www.screencast.com/t/vGxjXjJlb

    And this one doesn’t:
    https://www.screencast.com/t/HdPcluj0H

    Let me know if this helps 🙂

    #1433108
    Dustin

    The one that doesn’t display the padding is configured the same was as the one that does. Both containers should have 40px padding all around. Both pages display that way in the block editor but not on the live site.

    https://se6di.org/wp-content/uploads/2020/09/screenshot.png

    #1433111
    Dustin

    I think I found the cause. I guess it’s generating a css file specific to the page, which then has to be manually uploaded to the CDN via W3 Total Cache.

    Is this css file something that’s a result of using generateblocks or is it default WP behavior to generate a separate css file per page like this?

    #1433160
    Leo
    Staff
    Customer Support

    Hmm I don’t think that’s a GB issue.

    Could it just be some caching not being cleared issue before?

    #1433222
    Dustin

    GenerateBlocks is producing a page specific css file for each page, that’s where the padding for the container is declared. Using W3 Total Cache with a “push” style CDN, that file has to be pushed manually to the CDN each time it’s edited… and only as part of the “custom files” upload, which is quite slow as it captures a lot of files.

    Not a bug, exactly, but I’d say an incompatibility between using generateblocks and using push style CDN with W3TC.

    Anyway – thanks for the help. We can call this solved.

    #1433228
    Leo
    Staff
    Customer Support

    Sounds good thanks for the info!

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