Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1225705

    On my page, I have a grid row (1/5 + 4/5). On the 4/5 cell, I have added padding on the left and the right. On desktop it looks great but it is also affecting tablet. How do I set it to only affect desktop?

    #1225879

    Hey navindesigns,

    Please share the code that you added?

    Best regards,
    Victoria

    #1225891

    there is no code

    I just added padding in the cell

    see screenshot
    https://ibb.co/bLWJvhf

    #1225976

    Hi,

    Add this to quick css:

    
    @media only screen 
      and (min-device-width: 768px) 
      and (max-device-width: 1024px) 
      and (-webkit-min-device-pixel-ratio: 1) {
    .page-id-566 #av-layout-grid-1 .flex_cell.no_margin.av_four_fifth.avia-builder-el-5.el_after_av_cell_one_fifth.avia-builder-el-last{
    padding:50px!important;
    }}   

    Best regards,
    Jordan Shannon

    #1225980

    I think it worked but my left column the text is running outside of the column

    please view on tablet

    #1226017

    Hi,

    You can try this also. This may also be a better solution:

    @media only screen 
      and (min-device-width: 768px) 
      and (max-device-width: 1024px) 
      and (-webkit-min-device-pixel-ratio: 1) {
    .flex_cell.no_margin.av_one_fifth.avia-builder-el-1.el_before_av_cell_four_fifth.avia-builder-el-first   {
    width: 47%!important;
    }}

    Best regards,
    Jordan Shannon

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