• Resolved holiguide

    (@holiguide)


    Hi, I used the codes found in the support links. But the top row (header) doesn’t get the border somehow. What is the mistake I am doing here.

    I used the following code:
    .tablepress-id-1 tbody td {
    border: 1px solid #cccccc !important;
    }

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    To add a border to the header row as well, you will need the CSS

    .tablepress-id-1 thead th,
    .tablepress-id-1 tbody td {
      border: 1px solid #cccccc !important;
    }
    

    Regards,
    Tobias

    Thread Starter holiguide

    (@holiguide)

    works like a charm! Thank you Tobias:-)

    Thread Starter holiguide

    (@holiguide)

    Hi Tobias: I have another question. I tried to add another table in a different page in my blog. But this time the borders dont work despite me already adding the CSS code in the “Customize” section of the backend. Plus I also added the CSS in the plugin options. But it doesn’t work!

    Link to the post:

    https://holiguide.in/2019/04/29/the-best-water-purifiers-of-2019/

    Plugin Author Tobias B?thge

    (@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!

    Thread Starter holiguide

    (@holiguide)

    Hi Tobias, Could you kindly respond to my question above. The CSS code you suggested is not working for other tables in the same blog.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    ah, sorry, I must have missed that second question.

    The table on that page has ID 5, but you only have CSS for table 1 in the “Custom CSS” on the “Plugin Options” screen of TablePress. You need to copy that CSS and change the table ID ??

    Regards,
    Tobias

    Thread Starter holiguide

    (@holiguide)

    thank you Tobias! That works perfect:)

    Plugin Author Tobias B?thge

    (@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 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Border for top row’ is closed to new replies.