[Resolved] Applying grid container width only for inner pages

Home Forums Support [Resolved] Applying grid container width only for inner pages

Home Forums Support Applying grid container width only for inner pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1334919
    ch1800

    Hi folks,

    In Catalyst, I want to apply this width only for inner pages and exclude homepage:

    body .grid-container {
        max-width: 850px;
    }

    Is there a way other than using a different width only at homepage’s CSS?

    Thanks.

    #1334953
    Leo
    Staff
    Customer Support

    Hi there,

    Try using a layout element instead:
    https://docs.generatepress.com/article/layout-element-overview/#content-1

    Let me know if this helps ๐Ÿ™‚

    #1334961
    ch1800

    Yep, you are right, didn’t think about that…
    That works like a charm, many thanks!

    #1335516
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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