Okay
  Public Ticket #3781989
creating 2 columns on mobile screen
Open

Comments

  • ikbentijs97 started the conversation

    Hello,

    I am looking for a option for my fancybox grid. Right now i created a row with 4 columns, on my pc screen the 4 columns are in 1 row which is fine. But on my mobile it shows the rows horizontal. I am looking for a way to put 2 columns next to each other on my mobile screen.

    Happy to hear from you!

  •  1,918
    Judith replied

    Hi there,

    Thanks for writing 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) {
        body .vc_row.vc_row-flex.vc_row-o-equal-height>.span_12, body .vc_row.vc_row-flex.vc_row-o-equal-height>.span_12>.vc_column_container, body .vc_row.vc_row-flex.vc_row-o-equal-height>.span_12>.vc_column_container>.vc_column-inner {
            width: 77%;
        }
    }

    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. 

     

  •  8,938
    Tahir replied

    Hey Again,

    You will have to adjust the responsive width for each column in here:  9680734724.png

    Best,

     


    ThemeNectar Support Team 

  • ikbentijs97 replied

    Tahir, this was the solution. Ur help is very appreciated, Judith thanks for you 2!

  •  1,918
    Judith replied

    Hi there,

    You're welcome.

    I am glad this is resolved for you.

     If you have any more questions or run into any problems, please feel free to reach out.

    Best regards,