• Resolved PaulFreeWebs

    (@paulfreewebs)


    .tablepress-id-3 .column-1 {
    	width: 70px !important;
    }
    
    .tablepress-id-3 .column-2 {
    	width: 100px !important;
    }
    
    .tablepress-id-3 .column-3 {
    	width: 70px !important;
    }
    
    .tablepress-id-3 .column-4 {
    	width: 70px !important;
    }
    
    .tablepress-id-3 .column-5 {
    	width: 70px !important;
    }
    
    .tablepress-id-3 .column-6 {
    	width: 70px !important;
    }
    
    .tablepress-id-1,
    .tablepress-id-1 tr,
    .tablepress-id-1 tbody td,
     {
    	font-size: 14px;
    	font-weight: 250;
    	color: #000;
    	border: none;
    }
    
    .tablepress td {
    	border: 1px solid #DDDDDD;
    }
    
    .tablepress-id-1 tbody td {
    	background-color: #ff0000;
    }
    
    .tablepress .row-hover tr:hover td {
    	background-color: #8FD8D8;
    }
    
    .tablepress-id-1 .row-71 td,
    .tablepress-id-1 .row-73 td,
    .tablepress-id-1 .row-75 td,
    .tablepress-id-1 .row-77 td,
    .tablepress-id-1 .row-79 td,
    .tablepress-id-1 .row-81 td,
    .tablepress-id-1 .row-83 td,
    .tablepress-id-1 .row-85 td,
    .tablepress-id-1 .row-87 td,
    .tablepress-id-1 .row-89 td,
    .tablepress-id-1 .row-91 td,
    .tablepress-id-1 .row-93 td,
    .tablepress-id-1 .row-95 td,
    .tablepress-id-1 .row-97 td,
    .tablepress-id-1 .row-99 td,
    .tablepress-id-1 .row-101 td,
    .tablepress-id-1 .row-103 td,
    .tablepress-id-1 .row-105 td,
    .tablepress-id-1 .row-107 td,
    .tablepress-id-1 .row-109 td,
    .tablepress-id-1 .row-111 td,
    .tablepress-id-1 .row-113 td,
    .tablepress-id-1 .row-115 td,
    .tablepress-id-1 .row-117 td,
    .tablepress-id-1 .row-119 td,
    .tablepress-id-1 .row-121 td,
    .tablepress-id-1 .row-127 td,
    .tablepress-id-1 .row-131 td,
    .tablepress-id-1 .row-135 td,
    .tablepress-id-1 .row-137 td,
    .tablepress-id-1 .row-141 td,
    .tablepress-id-1 .row-149 td,
    .tablepress-id-1 .row-151 td,
    .tablepress-id-1 .row-153 td,
    .tablepress-id-1 .row-157 td,
    .tablepress-id-1 .row-163 td,
    .tablepress-id-1 .row-177 td,
    .tablepress-id-1 .row-181 td,
    .tablepress-id-1 .row-185 td,
    .tablepress-id-1 .row-189 td,
    .tablepress-id-1 .row-193 td,
    .tablepress-id-1 .row-195 td,
    .tablepress-id-1 .row-201 td,
    .tablepress-id-1 .row-206 td,
    .tablepress-id-1 .row-207 td {
    	background-color: #FF3333;
    }
    
    .tablepress-id-1 tbody td {
    	font-weight: bold;
    }
    
    .tablepress-id-1 .row-36 td,
    .tablepress-id-1 .row-96 td,
    .tablepress-id-1 .row-104 td,
    .tablepress-id-1 .row-154 td {
    	background-color: #99CCFF;
    }
    
    .tablepress-id-1 .row-131 td {
    	background-color: #66FF66;
    }

    is my code and the url to the table is http://xattest.org/powers/ im not sure why its not coloring most of the table on the numbers i picked

    http://wordpress.org/extend/plugins/tablepress/

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

    (@tobiasbg)

    Hi Paul,

    thanks for the post, and sorry for the trouble.
    (First of all: No need to post your code here, I can see that in the page 🙂 )

    Now, from what I can see, there are many rows on the page, that are colored properly. Can you please point me to a table and row that are not colored according to your intended code?

    Regards,
    Tobias

    Thread Starter PaulFreeWebs

    (@paulfreewebs)

    this can be closed now it was because we changed blog theme and then it stopped the code from working properly, they have decided they liked the old theme better which is where the code works

    thanks paul

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Paul,

    ah, ok. That makes sense then. It might be possible that the new theme also contained CSS that colored the rows, and that that CSS was more “aggressive”.
    Good to hear that switching back solved it.

    Best wishes,
    Tobias

    Thread Starter PaulFreeWebs

    (@paulfreewebs)

    i have another question how can i just color 1 collom, thought i ask here instead of making a new post

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, that’s possible, and you actually have used the necessary commands already, you’ll just need to combine them 🙂
    It works just like setting the width of a column, but instead changing the background color:

    .tablepress-id-3 .odd .column-2,
    .tablepress-id-3 .even .column-2 {
    	background-color: #ff0000;
    }

    Regards,
    Tobias

    Thread Starter PaulFreeWebs

    (@paulfreewebs)

    thanks for this code

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sure, no problem! You are very welcome!

    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 ‘Table color error?’ is closed to new replies.