Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #758580

    Hi there, when I have a row split into two cells it will not stack them on IPad mini. I have given them custom CSS classes for each row

    process-1
    process-2

    How do I target them in the custom css to make sure they stack the 2 cells on top of each other?

    Thanks for your help!
    Tim

    #758782

    Hey timothyquinlan,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    @media only screen and (max-width:800px) {
    	.process-1 .av_one_half, process-2 .av_one_half {
    	width:100vw!important;
    	min-width:100vw!important;
    }
    }
    

    Best regards,
    Vinay

    #759094

    Hi there, unfortunately it is not working. For the first set of cells it is not showing the second half at all, and the second set of cells are showing how they were before the CSS.

    Any thoughts? I put a link in below.

    Thanks for your support,
    Tim

    #761340

    Hi!

    What is the actual version of your iPad Mini? Please try the following css code.

    /* ipad Mini Portrait */
    @media only screen and (width:768px) and (resolution: 163dpi) {
         .responsive #top #wrap_all .process-1 .no_margin, .responsive #top #wrap_all .process-2 .no_margin {
            width: 100%;
            display: block;
            margin: 0;
            height: auto !important;
            overflow: hidden;
            padding-left: 8% !important;
            padding-right: 8% !important;
        }
    }
    
    /* ipad Mini Landscape */
    @media only screen and (width:1024px) and (resolution: 163dpi) {
        .responsive #top #wrap_all .process-1 .no_margin, .responsive #top #wrap_all .process-2 .no_margin {
           width: 100%;
           display: block;
           margin: 0;
           height: auto !important;
           overflow: hidden;
           padding-left: 8% !important;
           padding-right: 8% !important;
       }
    }

    Best regards,
    Ismael

    #762307

    Hi there, unfortunately this is not working. It is on an iPad mini 2, which was the first with a retina screen.

    This is what it looks like:

    https://ibb.co/iSxmaa

    you can log in below if you like

    #762640

    Hi there, is it possible that we just target all ipads and make them stack, would that make the css easier because it would not have to be so specific?

    Any ideas would be great.
    Thanks!

    #762676

    Here is a link to how the site looks on iPad mini. You can click the menu and click “process” to see how the css is working or not.

    http://mobt.me/Xanw

    Any chance I can get some help on this?

    #762828

    Hey!

    This should work:

    
         .responsive #top #wrap_all .process-1 .no_margin, .responsive #top #wrap_all .process-2 .no_margin {
            width: 100%;
            display: block;
            margin: 0;
            height: auto !important;
            overflow: hidden;
            padding-left: 8% !important;
            padding-right: 8% !important;
        }

    If you want to target the retina device specifically, use the following css media queries:

    // https://css-tricks.com/snippets/css/retina-display-media-query/

    Those css media queries on most retina displays.

    Cheers!
    Ismael

    #762986

    Hi Ismael, I am sorry, this does not work. The page is now full width cells on ALL computers.

    The only thing I am looking for is having the 50% two-cell rows to stack on iPads.

    Visual composer has an option for this on my other sites, you just tick a box to stay stack columns on mobile.

    There must be a simple way to do this, none of the CSS above works.

    Any ideas? I submitted my login credentials above if you wanted to check it out from the back end.

    #763080

    Hi!

    Hi Ismael, I am sorry, this does not work. The page is now full width cells on ALL computers.

    Please review our suggestions above:

    If you want to target the retina device specifically, use the following css media queries:
    // https://css-tricks.com/snippets/css/retina-display-media-query/

    We added this code in the Quick CSS field:

    @media only screen 
    and (min-device-width : 768px) 
    and (max-device-width : 1024px)
    and (-webkit-min-device-pixel-ratio: 2)  {
      .responsive #top #wrap_all .process-1 .no_margin, .responsive #top #wrap_all .process-2 .no_margin {
            width: 100%;
            display: block;
            margin: 0;
            height: auto !important;
            overflow: hidden;
            padding-left: 8% !important;
            padding-right: 8% !important;
        }
    }

    Please remove browser cache before checking the page.

    Best regards,
    Ismael

    #763285

    Thank you very much!

    I am hoping that an upcoming version of Enfold might account for more responsiveness? I think it would make this theme much more user friendly, and it is already beautiful!

    Thanks again

    #763290

    Hi,
    Thank you for using Enfold.

    Best regards,
    Mike

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