the answer for all question about Oxygen Builder plugin and WordPress

hey there! newb question here , everyone seems to use 100vh for full screen sect

hey there! newb question here , everyone seems to use 100vh for full screen sections , but in landscape mode its not so great is it… do we just not care about this or is there another way I should be doing it? ive tried the other min max height etc, i can only achieve it by using alot of padding , any help very muchly appreciated!!!



Source

3 Comments
  1. James Brambley says

    Normally do vh with a minimum height (less than 100 for mobile as the address bar normally means that 85vh is actually full screen.)

  2. Kevin Pauls says

    try vmax instead of vh

  3. Yan Fodé Kiara says

    I personnaly ended up with this CSS:

    .screen-height:not(.ct-section), .screen-height.ct-section .ct-section-inner-wrap {
    min-height: 100vh;
    }
    @media (max-width: 991px) {
    .screen-height:not(.ct-section), .screen-height.ct-section .ct-section-inner-wrap {
    min-height: calc( 100vh – var(–mobile-header-height, 0px) );
    }
    }
    @media (min-width: 1920px) {
    .screen-height:not(.ct-section), .screen-height.ct-section .ct-section-inner-wrap {
    min-height: 0;
    height: 100vh;
    max-height: 1080px;
    }
    }

Leave A Reply

Your email address will not be published.