[Resolved] Dispatch – HomePage images move to right on CSS combine

Home Forums Support [Resolved] Dispatch – HomePage images move to right on CSS combine

Home Forums Support Dispatch – HomePage images move to right on CSS combine

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1310545
    Matt

    Hi GP Team,

    I’m working through PageSpeed Insights recommendations. One option I’m considering is combining CSS via WP Rocket. In testing, it has worked well except for the mobile home page (using Dispatch with no fancy Show Posts at the top). The images (blog style) move to the right, leaving a small gap on the left of the page (without the CSS combine they span the mobile screen.)

    Seeing it’s the only CSS issue I’m seeing, thought I’d reach out to see if it’s an easy fix. It’s only impacting the mobile home page. No interior pages. And the content seems still pretty centered.

    I tried mobile padding via the customizer, but that impacted the entire site – not just the home page.

    #1310927
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    @media (max-width: 767px) {
        .home .generate-columns-container>* {
            padding-left: 0 !important;
        }
    }
    #1310995
    Matt

    Worked perfectly. Thanks!

    #1311024
    David
    Staff
    Customer Support

    You’re welcome

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