• Resolved jhanten

    (@jhanten)


    First off. This plugin has made my life so easy. Thank you for making it. I did have one hopefully quick question. Is there an easy way to add a little space between the rows when they are responsive on a phone? So the box has a small space between them?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Nikolay Nikolov

    (@nnikolov)

    Hi.

    I am happy to hear it is useful :). So to be clear, you mean space inside each row (between the text and the border, marked in green in the example image), or space outside each row (between each border, marked in red), or space between each group of rows (marked in blue)? Image: https://drive.google.com/file/d/1hEmvT3K9F7Ix0F7x5NCZIuQ82FqNxI5m/view?usp=sharing

    Thread Starter jhanten

    (@jhanten)

    Thank you for making it really easy to explain myself better. In the image you provided I was referring to the blue arrows. I would like to way to add a little gap in the space between each group of rows.

    I appreciate your consideration.

    Plugin Author Nikolay Nikolov

    (@nnikolov)

    You can do this by adding this custom CSS code below on your site. But you need to replace the 650 with the value for “Enable on screens smaller than” minus 1. Also replace #dddddd with the value for the option “Border color for cells in even rows”. Also replace the #bbbbbb with the value of the option “Border color for cells in odd rows”. And replace 15 with the size of the space you want.

    @media (max-width: 650px) {
    .mtr-table tr:nth-child(even) .mtr-td-tag:first-of-type {
    border-top: 1px solid #dddddd !important;
    }
    .mtr-table tr:nth-child(odd) .mtr-td-tag:first-of-type {
    border-top: 1px solid #bbbbbb !important;
    }
    .mtr-table tr {
    margin-bottom: 15px;
    }
    .mtr-table tr:last-of-type {
    margin-bottom: 0px;
    }
    }
    Thread Starter jhanten

    (@jhanten)

    Perfect. Thank you for the help.

    Plugin Author Nikolay Nikolov

    (@nnikolov)

    No problem ??

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