Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @nareshsurendran,

    This is a really odd one – thought it was going to be easy!

    It seems that elementor is doing some odd stuff when age gate removes a couple of classes. It looks like, even though box-sizing: border-box is set in the main stylesheet, that makes things shift out. It’s only the elements that are breaking out of the wrapper that are affected though.

    I’ve tried a couple of things on your site and the most seamless is to add the following to your CSS (theme, or can throw it in the age gate css editor at least for testing

    
    * {
        box-sizing: border-box !important;
    }
    

    It’s a bit hacky, and not very elegant, but seem it it works at least ??

    Thanks
    Phil

    Thread Starter nareshsurendran

    (@nareshsurendran)

    Hey Phil,

    This worked. Thanks a lot for the support!

    Thanks,
    Naresh

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page body moves to left after age gate is closed’ is closed to new replies.