Size of columns

Home Forums Ticket Products Event Tickets Plus Size of columns

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1002010
    Stephan Griesel
    Participant

    I managed to add css to change size for columns but this changes them all at once, how would I change them individually? Here is the css I added to custom css to size columns:

    table tbody td {
      background: rgba(0, 0, 0, 0.025);
      width: 150px;
    }
    #1002252
    Brian
    Member

    Hi Again,

    I can help out here.

    We can use some css to target specific columns based on their order.

    Try out these different selectors:

    First column:

    table tbody td:first-child

    2nd Column:

    table tbody td:nth-child(2)

    3rd Column:

    table tbody td:nth-child(2)

    Last columm:

    table tbody td:last-child

    Let me know how that works out.

    Thanks

    #1002542
    Stephan Griesel
    Participant

    Yep that sorted it, thanks so much.

    #1002834
    Brian
    Member

    Great glad it helps.

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Size of columns’ is closed to new replies.