Tagged: ,

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1066776

    Hi,

    I would like to set the bottom margin to 0 on a column that is inside a color section. Because on mobile I want no spacing between the columns on the top and bottom. Everything looks good on the computer but on mobile, there is a margin on the bottom of 20px.

    #1067282

    Hey gstast,

    Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (max-width: 767px) {
    .home .post-entry .av_one_fourth {
      margin-bottom: 0;
    }
    }

    Best regards,
    Rikard

    #1067510

    Thank you Rikard,
    You know I did it and there is still a margin thereof 20px at the bottom.

    #1067521

    Hi,

    Did you add the code to the very top of quick css so that it runs first? Also be sure to clear the cache a few times over.

    Best regards,
    Jordan Shannon

    #1067534

    Hi Jordan,
    I did that and still nothing. I added it to the very top and cleared the cache in chrome. Still, there is a bottom margin of 20px

    • This reply was modified 5 years, 10 months ago by gstast.
    #1067568

    Hi,

    Thanks for clarifying. Add this to quick css:

    @media only screen and (max-width: 767px){
    .flex_column.av_one_fourth.avia-builder-el-23.st-aaa {
    margin-bottom:0px!important;
    }}

    Best regards,
    Jordan Shannon

    #1067574

    Thanks Jordan,

    It partially worked only on one element and not on all similar elements. Why is that?

    #1067581

    Now it is not working at all again and I get a margin back on all elements. I have attached my custom CSS code. Maybe I am missing something.

    #1068778

    Hi,
    Sorry for the late reply, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    @media only screen and (max-width: 767px) { 
    .responsive #top #wrap_all #hardware .flex_column {
    margin-bottom: 0px !important;
    }

    Best regards,
    Mike

    #1069780

    Hi Thanks Mike,

    Although it didn’t work. I erased the previous code and pasted your code into the quick CSS and nothing happens.

    Please advise.

    #1069801

    Hi,
    Please see the screenshot in Private Content area, of before and after to ensure we are talking about the same element. If after clearing your browser cache it still doesn’t work, then Please include a admin login in the Private Content area so we can take a look.

    Best regards,
    Mike

    #1070135

    Yes! exactly. I would like to do that for that section and the other sections too. But yes that is what I am talking about. Have you seen all of my CSS code in the private section? No matter what I put when it reloads it is still there. Could it be because of SG Optimizer?

    Thanks so much!

    #1070164

    Hi,
    Please include admin login in the Private Content area so we can be of more assistance.

    Best regards,
    Mike

    #1070460

    Here it is please take a look.

    #1070566

    Hi,
    Thank you for the login, I didn’t see the code in your css, so I added it to your WordPress > Customize > Additional CSS and tested, it seems to be working fine.
    Please clear your browser cache and check.

    Best regards,
    Mike

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