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

    Hi,

    On my site http://77.104.128.85/~triden11/ – I have a section called “Your comprehensive one stop shop specializing in:” with 5 columns of contents. it looks great on desktop but on mobile, I would like for them to stack 2/2/1 instead of 1/1/1/1/1

    Basically have “PADS” ad “GLOVES” show up on one column then “BATS” and “BAGS” on another column and finally “CLOTHING” only on mobile.

    #982768

    Hey navindesigns,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (min-width: 480px) and (max-width: 990px) {
        #top.page-id-206 .flex_column.av_one_fifth.avia-builder-el-4,
        #top.page-id-206 .flex_column.av_one_fifth.avia-builder-el-6,
        #top.page-id-206 .flex_column.av_one_fifth.avia-builder-el-8,
        #top.page-id-206 .flex_column.av_one_fifth.avia-builder-el-10  {
            width: 50%;
            margin-left: 0;
            margin-bottom: 10px;
    
        }
        #top.page-id-206 .flex_column.av_one_fifth.avia-builder-el-12 {
            width: 100%;
              margin-left: 0;
        }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #982774

    I added the code but I am not seeing any changes on my end :(

    #982815

    Hi navindesigns,

    It looks like this now
    Image 2018-07-08 at 21.24.46.png

    Is this not what you were asking for?

    Best regards,
    Victoria

    #982912

    Yes but it is not showing up on my phone like that. They are still stacked ontop of each other

    #983437

    Hi,

    What is the actual model of your phone? Try to adjust the css media query.

    @media only screen and (min-width: 480px) and (max-width: 990px) {
    

    Adjust the min-value to 360px. You may also need to turn on the custom css class field so that you can replace the generic css selectors.

    // https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#turn-on-custom-css-class-field-for-all-alb-elements

    Best regards,
    Ismael

    #983708

    I am still not seeing any of the changes on the front end. Maybe I am having some caching issues?

    #984204

    Hi navindesigns,

    Here is the correct code:

    
    
    @media only screen and (min-width: 360px) and (max-width: 990px) {
        .responsive #top.page-id-206  #wrap_all .flex_column.av_one_fifth.avia-builder-el-4,
        .responsive #top.page-id-206  #wrap_all .flex_column.av_one_fifth.avia-builder-el-6,
       .responsive #top.page-id-206  #wrap_all .flex_column.av_one_fifth.avia-builder-el-8,
       .responsive #top.page-id-206  #wrap_all .flex_column.av_one_fifth.avia-builder-el-10  {
            width: 50%;
            margin-left: 0;
            margin-bottom: 10px;
    
        }
        .responsive #top.page-id-206  #wrap_all .flex_column.av_one_fifth.avia-builder-el-12 {
            width: 100%;
              margin-left: 0;
        }
    }
    

    Please remove the one I gave you before and use this one.
    Best regards,
    Victoria

    #984455

    Thank You. This works!

    One last thing, can I have some space between each horizontal one, maybe 20px or so right now they are touching each other

    #984570

    Hi navindesigns,

    Here is the complete code:

    
    @media only screen and (min-width: 360px) and (max-width: 990px) {
        .responsive #top.page-id-206  #wrap_all .flex_column.av_one_fifth.avia-builder-el-4,
        .responsive #top.page-id-206  #wrap_all .flex_column.av_one_fifth.avia-builder-el-6,
       .responsive #top.page-id-206  #wrap_all .flex_column.av_one_fifth.avia-builder-el-8,
       .responsive #top.page-id-206  #wrap_all .flex_column.av_one_fifth.avia-builder-el-10  {
            width: 50%;
            margin-left: 0;
            margin-bottom: 10px;
    
        }
        .responsive #top.page-id-206  #wrap_all .flex_column.av_one_fifth.avia-builder-el-12 {
            width: 100%;
              margin-left: 0;
        }
        .responsive #top.page-id-206 #wrap_all .flex_column.av_one_fifth.avia-builder-el-6, 
        .responsive #top.page-id-206 #wrap_all .flex_column.av_one_fifth.avia-builder-el-10 {
            margin-left: 4%;
        }
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #984936

    That did not work – here is my screenshot – https://imgur.com/a/1gH2AfX

    Please see login below, you can use it to test

    #985560

    Hi,
    I changed the code a little, to this:

    @media only screen and (max-width: 990px) {
        .cta-btn-l  {
            width: 46% !important; 
            margin-right: 10px !important; 
            margin-bottom: 10px !important;
            float: left !important;  
    }
       .cta-btn-r  {
            width: 46% !important; 
            margin-left: 10px !important; 
            margin-bottom: 10px !important;
            float: right !important;  
    }
        .cta-btn-c {
            width: 100% !important; 
              margin-left: 0 !important; 
    }
    }

    Please clear your browser cache and check.
    2018-07-14_221027

    Best regards,
    Mike

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.