[Support request] Container Issues

Home Forums Support [Support request] Container Issues

Home Forums Support Container Issues

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #940928
    Hollee

    Good afternoon! Sorry if this has already been answered…

    On one single page, I turned off the sidebar and set container to “full-width”… however it isn’t centered. Is there a way to just center this one page? Thank you so much!

    #940961
    Leo
    Staff
    Customer Support

    Hi there,

    Remove this CSS you’ve added should fix it.

    @media only screen and (min-width: 769px) {
        #primary {
            max-width: calc(100% - 330px);
        }
    }

    Let me know if this helps ๐Ÿ™‚

    #940984
    Hollee

    Thank you so much! I think I have to keep that code in for Mediavine. Is there a way to just remove it on one page?

    #940987
    Leo
    Staff
    Customer Support

    Do you need that code for only one page?

    If so it’s best to target that code for just one page instead.

    #941020
    Hollee

    No. I need that code to be on every page except for one. ๐Ÿ™

    #941041
    Leo
    Staff
    Customer Support

    Try this instead:

    @media only screen and (min-width: 769px) {
        body:not(.page-id-41876) #primary {
            max-width: calc(100% - 330px);
        }
    }
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.