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

    In a Grid Row, in a column, I’ve set the padding-left to 50% . This works perfect on every resolution except Mobile. It looks like mobile has it’s own padding values. Is there a way to edit the mobile padding settings per element?

    #494852

    I’ve editted grid.css:

      .responsive #top #wrap_all .av-flex-cells .no_margin{
    	  display: block;
    	  margin: 0;
    	  height:auto !important;
    	  overflow: hidden;
    /*	  padding-left:8% !important;*/
    	  padding-right:8% !important;
      }

    That seems to work. I’m not sure if this is a clean solution..

    #494997

    Hey!

    I viewed your link but I’m not really sure what your trying to do. Can you take a screenshot and highlight your intentions?

    Cheers!
    Elliott

    #502195

    Hi,
    Iv a similar issue, I have included padding in columns that looks great on a desktop, but the padding squishes the content or puts it to the side on a mobile device. Is there a way to remove the padding just for responsive mode?

    Thanks

    #502196

    Its not in a grid though just the normal 1/2 and 1/3 type layout content

    #502321

    Hey!

    Surround your code with this so it only gets applied on larger screens.

    @media screen and (min-width: 767px) {
    
    }

    If your still having trouble then send us a link to your page so we can take a look.

    Regards,
    Elliott

    #503785

    HI,

    yeah, that didnt fix the problem or I dont know how to use it correctly.

    Would really appreciate help on this, thanks.

    #503985

    Hi!

    try this code:

    @media only screen and (max-device-width: 736px) {
    .flex_column.av_one_half.flex_column_table_cell.av-equal-height-column.av-align-top.avia-builder-el-16.el_after_av_one_half.el_before_av_section.avia-builder-el-last {
    padding: 0 !important;
    }}
    

    Regards,
    Andy

    #504462

    Hi,

    I put this into the General Styling CSS and it worked perfectly for one column on the front page, but I want to do it for multiple columns all over the site.
    Iv tried to put it into the individual column CSS, but this dosnt work.
    Maybe Im not doing it wrong, please let me know?

    Thanks

    #504759

    Hey!

    Please enable custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and give your column elements a custom class and then change your code to following one

    @media only screen and (max-device-width: 736px) {
    .your-custom-class.flex_column{
    padding: 0 !important;
    }}

    Regards,
    Yigit

    #507328

    thanks, that worked great

    #507358

    Hey!

    Great you got it shorted!
    We would love to assist again, if anything is needed.

    Regards,
    Basilis

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Column padding on mobile devices?’ is closed to new replies.