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.
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.
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!
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:
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.
Hey Again,
You will have to adjust the responsive width for each column in here:
Best,
ThemeNectar Support Team
Tahir, this was the solution. Ur help is very appreciated, Judith thanks for you 2!
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,