Okay
  Public Ticket #1761083
Want image to fill mobile screen. Have white space at bottom.
Closed

Comments

  •  1
    cburn started the conversation

    Hi Tahir,

    On March 2, you gave me this code to make the image on my homepage expand to the bottom of a mobile screen. I guess because of some updates this has reversed itself and I now have a white space at the bottom again. 

    @media only screen and (max-width: 690px) {
        .full-page-inner-wrap[data-name="home"] {
            height: 89vh;
        }
    }

    Can you help?

    Thanks!

  •  8,998
    Tahir replied

    Hey Again,

    Seems to be working at the moment: http://prntscr.com/laslvk . 

    Best


    ThemeNectar Support Team 

  •  1
    cburn replied

    Thanks, but how does it look on your mobile phone? It still looks like the attachment in my initial post. There is a white space at the bottom. With your help, it didn't look like that when I built the site in March/April of this year. I can change the

    height: 89vh;

    value and it doesn't change anything now.

  •  8,998
    Tahir replied

    Hey Again,

    Try now with the !important attribute.

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    @media only screen and (max-width: 690px)
    .full-page-inner-wrap[data-name="home"] {
        height: 89vh !important;
    }

    Thanks


    ThemeNectar Support Team 

  •  8,998
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    @media only screen and (max-width: 690px){
    .full-page-inner-wrap[data-name="home"] {
        height: 89vh !important;
    }
    }

    Thanks


    ThemeNectar Support Team 

  •  1
    cburn replied

    Yep, that did it!.

    Thanks much!

  •  75
    Scott replied

    Hey there,

    Thanks for reaching in,

    Please be sure to reach in in case you encounter another issue,

    Regards

    Themenectar Support Team