Tagged: Columns Responsive
-
AuthorPosts
-
February 6, 2024 at 6:53 pm #1433318
Hi – I was looking for code that would force my columns to stack in responsive mode on a laptop with 1024 screen width. Is that possible?
Thanks for the help,
AbbaFebruary 7, 2024 at 8:25 am #1433419Hey annameis,
Thank you for the inquiry.
Make sure that the Row Settings > Row Screen Options > Fullwidth Break Point settings is set to the second option (Tablet), then add this css code to adjust the breakpoint to 1024px.
@media only screen and (max-width: 1024px) { .responsive #top #wrap_all .flex_column.av-break-at-tablet, .responsive #top #wrap_all .av-break-at-tablet .flex_cell { margin: 0; margin-bottom: 20px; width: 100%; display: block; } }
Best regards,
IsmaelFebruary 7, 2024 at 6:01 pm #1433522Thank you for the code. I have tried that with no success. Screenshot and link below.
February 8, 2024 at 10:05 am #1433631Hi,
Thank you for the screenshot.
Please replace the css rule inside the css media query with the following.
.responsive #top #wrap_all .flex_column.av-break-at-tablet, .responsive #top #wrap_all .av-break-at-tablet .flex_cell { margin: 0; margin-bottom: 20px; width: 100%; display: block; height: auto; overflow: hidden; }
We just set the height to auto and overflow property to hidden.
Best regards,
IsmaelFebruary 8, 2024 at 4:00 pm #1433708Thanks Ismael! I did try that and it’s breaking to mobile on all desktop sizes not just 1024. Any other thoughts?
February 9, 2024 at 7:52 am #1433767Hi,
Thank you for the update.
You have to move the css rule inside the css media query.
@media only screen and (max-width: 1024px) { /* move the css code here */ }
Please remove the previous the css modifications, then replace it with the following code:
@media only screen and (max-width: 1024px) { .responsive #top #wrap_all .flex_column.av-break-at-tablet, .responsive #top #wrap_all .av-break-at-tablet .flex_cell { margin: 0; margin-bottom: 20px; width: 100%; display: block; height: auto; overflow: hidden; } }
Best regards,
IsmaelFebruary 9, 2024 at 6:08 pm #1433849Thank you very much! That did work.
February 9, 2024 at 6:13 pm #1433854Hi,
Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Column to Mobile 1024 Laptop Screen’ is closed to new replies.