[Resolved] Lightweight Grid Columns – Put Borders

Home Forums Support [Resolved] Lightweight Grid Columns – Put Borders

Home Forums Support Lightweight Grid Columns – Put Borders

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #299580
    Mary Pearson

    I’m not sure if this is the right place to post this for Lightweight Grid Columns. Please let me know if it is not, and I will re-post wherever you say.

    I have used Lightweight Grid Columns on my page at https://plantbest.com/ca/

    I would like to put borders between each of the groups, both vertically and horizontally.

    Can you please lead me to documentation on how to do this, if there is any (I haven’t been able to find any), or if not, can you give me some idea of how I approach it please.

    Many thanks!

    #299655
    Tom
    Lead Developer
    Lead Developer

    Hi Mary,

    Give this a shot:

    .inside-grid-column {
        border-bottom: 1px solid #DDD;
        height: calc(100% - 1.5em);
        border-right: 1px solid #DDD;
        margin-bottom: 0;
    }
    
    .lgc-last .inside-grid-column {
        border-right: 0;
    }
    #299656
    Mary Pearson

    Thank you so much Tom! That’s perfect! Much appreciated!

    #299661
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

    #323510
    Thierry

    hello,

    how to target the last line ?

    #323594
    Tom
    Lead Developer
    Lead Developer

    The last column?

    #323938
    Thierry

    no, i want hide the border bottom of the last line on my table.

    #324017
    Tom
    Lead Developer
    Lead Developer

    Can you link me to your site?

    #324308
    Thierry

    isn’t online but this is the screenshot

    https://postimg.org/image/nfk4d85w1/

    #324535
    Tom
    Lead Developer
    Lead Developer

    You would have to give that column a class, and then target it with CSS to remove the border.

    #324774
    Thierry

    ok thank you

    #324926
    Tom
    Lead Developer
    Lead Developer

    No problem ๐Ÿ™‚

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