Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1494148

    Hi, i’d like to increase gap between grid cells on a home page only.

    I found this code in your documentation but need to know where I add the page id to the code?

    /*—————————————-
    // Grid cell gap
    //————————————–*/

    #top .flex_cell {
    border-width: 24px!important;
    border-right-width: 0px!important;
    border-bottom-width: 0px!important;
    border-style: solid!important;
    border-color:#FFF!important;
    }

    #top .flex_cell:last-child {
    border-right-width: 24px!important;
    }

    Can you please send an exmple of the same cod with a page ID added so I can copy that format?

    Thanks so much,
    Anne

    #1494157

    Hey Anne,

    Thank you for the inquiry.

    For the home page, you can use this css code.

    .home .flex_cell {
        border-width: 24px !important;
        border-right-width: 0 !important;
        border-bottom-width: 0 !important;
        border-style: solid !important;
        border-color: #fff !important;
    }
    
    .home .flex_cell:last-child {
        border-right-width: 24px !important;
    }
    

    Let us know the result.

    Best regards,
    Ismael

    #1494161

    Hi Ismael,

    that is just perfect! Thanks so much for your great support as always.

    One other question – do you know how to get rid of the thin grey line at the bottom of the the Grid Row? I have it set to ‘no border’.

    Thanks,
    Anne

    #1494168

    Hi,

    Please try this CSS as well:

    .home #av-layout-grid-2 {
      border-bottom-width: 0;
    }
    
    .container_wrap {
      border-top-width: 0;
    }

    Best regards,
    Rikard

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