• Resolved wordpressnew1

    (@wordpressnew1)


    Hi Tobias,

    On the link referenced I have a table under BEST WELCOME CASINO OFFERS:

    I want to have a border under each row, on mobile I have it stacked. Do you know how I might be able to achieve this so it looks good. I have currently removed all borders until I can get it right.

    Thanks in advance,
    Bob

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The horizontal border is actually the default, and if you remove the Custom CSS that removes the borders again, it should appear.

    Regards,
    Tobias

    Thread Starter wordpressnew1

    (@wordpressnew1)

    Thanks I’ve done that, but on mobile you’ll see that the first row where it references 888 Casino – it doesn’t have the horizontal lines when stacked. Do you know how to ensure this looks the same as the other rows?

    Is there any way to make these look like nice visual blocks when stacked on mobile?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    you could maybe try “Custom CSS” like

    @media screen and (max-width: 768px) {
        .tablepress-id-32 tbody td {
            border: none;
        }
        .tablepress-id-32 tbody tr {
            display: block;
            border: 2px solid #333333;
            margin-bottom: 5px;
        }
    }

    Regards,
    Tobias

    Thread Starter wordpressnew1

    (@wordpressnew1)

    That’s perfect – thank you!

    Lastly – I want to increase the width of column of 5 since the button is squashed. I’m finding it hard to do this without making it look unaligned when it displays via mobile. Do you know how I might be able to achieve this?

    Many thanks,
    Aman

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-32 .visitbutton {
      white-space: nowrap;
    }

    Regards,
    Tobias

    Thread Starter wordpressnew1

    (@wordpressnew1)

    Awesome! Thankyou Tobias!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Adding a border between rows’ is closed to new replies.