Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1278682

    hi
    I am using this code from your docs (https://kriesi.at/documentation/enfold/columns/#toggle-id-15-closed) to stack my 1.4 columns on the mobile to 2 side by side
    but it’s only decreasing the size but they are not 2-up.
    can you see what’s wrong?

    /*----------------------------------------
    // CSS
    // Toggle Columns
    //--------------------------------------*/
    @media only screen and (max-width:767px) {
    .col-25p {
    width:49%!important;
    <del datetime="2021-02-08T13:40:03+00:00">background:gold;</del>
    }
    .col-25p.av_one_fourth{
    margin-left:1%!important;
    }}

    thanks

    • This topic was modified 3 years, 3 months ago by Munford.
    #1279400

    Hey Nancy,

    Please try changing the code to following one

    /*----------------------------------------
    // CSS
    // Toggle Columns
    //--------------------------------------*/
    @media only screen and (max-width:767px) {
    .col-25p {
    width:49%!important;
    }
    .col-25p.av_one_fourth{
    margin-left:1%!important;
    }}

    Page cannot be found on my end. If we need logins to see the page, please post them here privately and if the link was changed, please share the current one so we can inspect the issue :)

    Best regards,
    Yigit

    #1281461

    that’s the same code I was using.

    #1281486

    Hi,

    It was the same code minus HTML code in it which would break your CSS. Please change your code to following one

    
    /*----------------------------------------
    // CSS
    // Toggle Columns
    //--------------------------------------*/
    @media only screen and (max-width:767px) {
    .col-25p {
    width:49%!important;
    float: left !important; 
    }
    .col-25p.av_one_fourth{
    margin-left:1%!important;
    }}
    

    This one should work :)

    Best regards,
    Yigit

    #1281504

    thanks I’ll try that.

    #1281552
    This reply has been marked as private.
    #1281614

    Hi Munford,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘columns on mobile’ is closed to new replies.