Okay
  Public Ticket #3582474
Make section not full height row on mobile
Closed

Comments

  • SamType40 started the conversation

    Hi,

    I'm looking to keep the first row at full height on desktop but make it not full height on mobile, is this possible?

    Thanks

  •  1,875
    Judith replied

    Hi there,

    Thanks for writing to us.

    You can adjust the height by turning on this option :

    5372600126.png

    then you can use CSS to adjust the mobile height.

     If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 

  • SamType40 replied

    Thanks Judith, appreciate your help.

    Could you please provide an example of what I would put in the CSS?
    I've labelled the row as "#home.header".

    Thanks

  •  1,875
    Judith replied

    Hi there,

    Thanks for getting back to us.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    @media only screen and (max-width: 999px){
    .wpb_row.vc_row-o-full-height.top-level, .wpb_row.vc_row-o-full-height.top-level > .col.span_12 {
        min-height: calc(35vh - 47px);
    }
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related

    If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help.