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?
Hey navindesigns,
Please share the code that you added?
Best regards,
Victoria
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
I think it worked but my left column the text is running outside of the column
please view on tablet
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