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

    https://balrajdesign.com/elev8/ – dev site

    1- In the top section with the 12 boxes, how can decrease the spacing between the columns?
    2- in that same top section with the 12 boxes, on responsive it does not render well, how can I show a 2×2 column on desktop always and 1×1 on mobile, currently it does not do that, please see screenshot here – https://ibb.co/6RJkT0X

    #1251009

    Hi navindesigns,

    Thanks for giving us admin access.
    I have put boxes in the Color Section (with those 12 boxes) > Advanced > Developer Settings > Custom CSS Class.
    Then using that class, I have added this CSS code in Quick CSS.

    #top .boxes .flex_column_table .flex_column.av_one_fourth {
        width: 23.5%;
        margin-left: 2%;
    }
    
    #top .boxes .flex_column_table .flex_column.av_one_fourth.first {
        margin-left: 0;
    }
    
    #top .boxes .flex_column_table .av-flex-placeholder {
        width: 2%;
    }
    
    @media only screen and (max-width:959px) {
      #top .boxes .flex_column_table {
        display: block;
      }
    
      #top .boxes .flex_column_table .flex_column.av_one_fourth {
        display: block;
        float: left;
        width: 48%;
        margin-left: 4%;
      }
    
      #top .boxes .flex_column_table .flex_column.av_one_fourth:nth-child(5) {
        margin-left: 0;
      }
    
      #top .boxes .av-flex-placeholder {
        display: none;
      }
    }

    If you need to use the same thing on other pages, just use the same settings and then put boxes as the Custom CSS Class.

    Best regards,
    Nikko

    • This reply was modified 4 years, 1 month ago by Nikko.
    #1251179

    Thank you

    It seemed like the spacing between the boxes was only applied to the first 4

    The second and third column boxes still has the larger gap between the boxes.

    Screenshot
    Screen-Shot-2020-10-07-at-9-58-24-AM

    Thanks

    #1251613

    Hi navindesigns,

    I apologize for that, I have added this CSS code in order to fix it on the 8 boxes below:

    @media only screen and (min-width:960px) {
      #top .boxes .flex_column.av_one_fourth {
        width: 23.5%;
        margin-left: 2%;
      }
    
      #top .boxes .flex_column.av_one_fourth.first {
        margin-left: 0;
      }
    }

    Best regards,
    Nikko

    #1251765

    Thanks!! Looks great

    What break point does the boxes go 2 columns?

    It seems like this breakpoint, it is still 4 columns and does not look good

    screenshot
    Screen-Shot-2020-10-09-at-8-25-14-PM

    Thanks

    #1251993

    Hi,

    Perhaps adjusting to the following would work:

    @media only screen and (min-width:1024px) {
      #top .boxes .flex_column.av_one_fourth {
        width: 23.5%!important;
        margin-left: 2%!important;
      }
    
      #top .boxes .flex_column.av_one_fourth.first {
        margin-left: 0!important;
      }
    }

    Best regards,
    Jordan Shannon

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