• Resolved sqpp

    (@sqpp)


    Hello!

    I would like to change only the first column’s font color and example add bold to it.

    This is what I did so far:

    .tablepress-id-21 .column-1 {
    	width: 205px;
    	border: 0;
            color: #ffffff !important;
            font-weight: bold;
    }

    They simply not work ??

    at least width and border works fine however the last two doesn’t

    Plus if possible, I would remove those borders around first column, NOT the borders inside colum 2 and 3, 4

    https://brohosting.eu/45965-2/

    • This topic was modified 7 years, 6 months ago by sqpp.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter sqpp

    (@sqpp)

    Plus, I would like to remove the borders from around the first column as well

    See this page

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The reason why some of this CSS is not working is that your theme seems to be adding CSS code that styles the first column of all TablePress tables on the site, with CSS in the file https://brohosting.eu/wp-content/themes/easyweb/css/master-min.php

    To override that (if you can’t/don’t want to remove it), you’d have to change your CSS selector to
    #wrap .tablepress-id-21 tbody tr > td.column-1 {

    The border around that first column is actually a border around the table body (also added in that file by your theme). To remove it, you could use

    #wrap .tablepress-id-21 tbody {
      border: none;
    }

    Regards,
    Tobias

    Thread Starter sqpp

    (@sqpp)

    Hello TobiasBg,

    It’s not a problem actually, I just wanted to make clear things, I was sure it’s because of theme, but wanted to ask you, since you surely know better how to fix it.

    But it’s solved anyway!

    Thank you!

    Regards,
    Marcell

    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 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change ONLY first column’s font color and style’ is closed to new replies.