Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1084716

    Hey All,

    on one of my pages I use a Grid row with 3 columns for desktop.
    For mobile I need to hide the middle column. When i do that, theres a lag gap between 1. and 3. column.
    Can you tell me how to remove it?

    See yourself:
    support

    #1085279

    Hey restube,

    Try adding this css code in Quick CSS, located in Enfold > General Styling):

    @media only screen and (max-width:767px) {
      #top.page-id-337 #av-layout-grid-1 .av_one_third.avia-builder-el-10 .av-special-heading.av-special-heading-h2 {
        margin-top: 0 !important;
      }
    }

    Best regards,
    Nikko

    #1085512

    Hey Nikko,

    thanks for your help. The css did not completely remove the space between the tow elemets. The gap ist still there.

    Further on this pages are two more copies of the same element only with different content. Your code only affects only 1 of the 3 elements. On our Website are a total of 8 pages with 3 of the elements with the “gap” making it 24 in total. How can I apply the code for all of them at once ?

    Cheers
    Dennis

    #1085531

    Hi Dennis,

    Try using this css code in Quick CSS, located in Enfold > General Styling:

    @media only screen and (max-width:767px) {
      #top.page-id-337 #av-layout-grid-1 .av_one_third.avia-builder-el-6 {
        padding-bottom: 0 !important;
      }
    
      #top.page-id-337 #av-layout-grid-1 .av_one_third.avia-builder-el-10 {
        padding-top: 0 !important;
      }
    
      #top.page-id-337 #av-layout-grid-1 .av_one_third.avia-builder-el-10 .av-special-heading.av-special-heading-h2 {
        margin-top: 0 !important;
      }
    }

    Best regards,
    Nikko

    #1085546

    Hey Nikko,

    thanks for your quick reply.

    The first gap is completely gone. However, the remaining two on this site are still unchanged.

    Can we maybe use custom css classes to tackle the issue on the remaining 8 pages?

    Cheers

    #1085771

    Hi restube,

    Yes, please do add a custom class for them so it’s easier to group them and we could use that to target them specifically.

    Best regards,
    Nikko

    #1086652

    Hey Nikko,

    I have created a custom css class for all of them (target-group). Can you pls show me the css that i need to add?

    Cheers!

    #1086740

    Hi restube,

    I tried to check your site but it seems to be messed up (screenshot in private content).
    This should be the code you can use, just replace the className:

    @media only screen and (max-width:767px) {
      #top #main .className .av_one_third.avia-builder-el-first {
        padding-bottom: 0 !important;
      }
    
      #top #main .className .av_one_third.avia-builder-el-last {
        padding-top: 0 !important;
      }
    
      #top #main .className .av_one_third.avia-builder-el-last .av-special-heading.av-special-heading-h2 {
        margin-top: 0 !important;
      }
    }

    Best regards,
    Nikko

    #1088603

    Hey Nikko,

    the website should be fixed now.

    I`ve tried your code but im not sure I implemented it correctly.
    Can you tell which elements I have to give a custom class?
    Is it the Grid row or the elements within or something else?

    That would be very helpful.

    Thanks!

    #1088683

    Hi restube,

    Glad to hear that :)
    Give a Custom Class Css to the Grid Row.

    Best regards,
    Nikko

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