Cell Text Alignment | WordPress.org

[ad_1]

Hi,

thanks for your post, and sorry for the trouble.

The reason for this is that there is other CSS code with a higher priority overriding your desired changes. Fortunately, you can adjust this, by instead trying this CSS code:

.tablepress-id-4007 .column-3,
.tablepress-id-4007 .column-4,
.tablepress-id-4007 .column-5,
.tablepress-id-4007 .column-6,
.tablepress-id-4007 .column-7,
.tablepress-id-4007 .column-8 {
  width: 150px;
  vertical-align: middle !important;
  text-align: center !important;
}

The !important flag will give your CSS the higher priority then.

As for changing those cell background colors: The TablePress Pro version does have cell and row highlighting features, but these can not find the lowest value in a row automatically, so that they will not be helpful for this. Right now, I can also only think of doing this manually. Sorry for not having better news here.

Regards,
Tobias

Thank you so much as always

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!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer