Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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,
    Abba

    #1433419

    Hey 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,
    Ismael

    #1433522

    Thank you for the code. I have tried that with no success. Screenshot and link below.

    #1433631

    Hi,

    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,
    Ismael

    #1433708

    Thanks Ismael! I did try that and it’s breaking to mobile on all desktop sizes not just 1024. Any other thoughts?

    #1433767

    Hi,

    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,
    Ismael

    #1433849

    Thank you very much! That did work.

    #1433854

    Hi,
    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Column to Mobile 1024 Laptop Screen’ is closed to new replies.