Okay
  Public Ticket #2743227
CSS on Header Page Seting
Closed

Comments

  •  17
    unyverso started the conversation

    Good morning, in the Page Header Seting section the option: Fullscreen Height when enabled applies to all devices, but I want with CSS to make the mobile landscape not apply and the width is automatic. I need your help. Thank you.

  •  8,847
    Tahir replied

    Hey Again,

    1580865282.png

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    @media only screen and (max-width: 999px) {
        #page-header-wrap.fullscreen-header, #page-header-wrap.fullscreen-header #page-header-bg, html:not(.nectar-box-roll-loaded) .nectar-box-roll > #page-header-bg.fullscreen-header, .nectar_fullscreen_zoom_recent_projects, .nectar-slider-wrap[data-fullscreen="true"]:not(.loaded), .nectar-slider-wrap[data-fullscreen="true"]:not(.loaded) .swiper-container, #nectar_fullscreen_rows:not(.afterLoaded):not([data-mobile-disable="on"]) > div {
            height: calc(130vh - 83px);
        }
    }

    Thanks


    ThemeNectar Support Team 

  •  17
    unyverso replied

    Thank you again Tahir, on my mobile, there has been no change: Huawey P9. I send you an image so you can see how it comes together. Could you put height: auto only in mobile landscpae? Thank you.

  •  8,847
    Tahir replied

    Hey Again,

    Another option is to use the Responsive Typography Settings in here : http://prntscr.com/gnf951 to make the text smaller so it fits correctly on Mobile Landscape.

    Best.


    ThemeNectar Support Team