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

    Dear support,
    i try to style the enfold table-element with different column width. With the following code i managed to adress the first column:

    @media only screen and (min-width: 767px)
    	{
    .event_tabelle tr th:first-child, 
    .event_tabelle tr td:first-child {
        width: 15% !important;
    }
    }

    How can i address the other 3 column widths?

    #1353643

    Hi dondela,

    You can use nth-child, for example in 2nd column:

    .event_tabelle tr th:nth-child(2), 
    .event_tabelle tr td:nth-child(2)

    For the 3rd column change 2 to 3 and so on.
    Hope this helps.

    Best regards,
    Nikko

    #1353703

    Hi Nikko,
    thank you so much for your help – it works :-)

    #1353709

    Hi dondela,

    We’re glad that we could help you :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

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