Quantcast WordPress table plugin - How to change background color CSS? - digitalFAQ Forum
Go Back    Forum > Digital Publishing / Web Sites > Web Design + Site Planning

Reply
 
LinkBack Thread Tools
  #1  
09-22-2012, 04:09 PM
via Email or PM via Email or PM is offline
Free Member
 
Join Date: Dec 2011
Posts: 167
Thanked 0 Times in 0 Posts
Hey Chief--

Well, decided to tackle the WP table plugin and have made some progress. Built the table and dropped some images in it. Even used the code from the site to remove the table borders in the Custom CSS box. But, the code for changing the background color doesn't seem to work, not sure why.

Here's what it looks like:

Code:
.wp-table-reloaded-id-1, .wp-table-reloaded-id-1 td, .wp-table-reloaded-id-1 th {
  border: none!important;
  border-collapse: collapse!important;
  border-spacing: 0px!important;
.wp-table-reloaded-id-1 .row-1 td {
   background-color: #ffffff!important;
}
.wp-table-reloaded-id-1 .row-2 td {
   background-color: #ffffff!important;
}
.wp-table-reloaded-id-1 .row-3 td {
   background-color: #ffffff!important;
}

This question was asked via email. Site Staff no longer answer tech questions via email, so that others may read and benefit from our expertise. Please continue the conversation here. Either login or join as a Free Member, and we can continue troubleshooting your video, photo or web related issue. Thanks for understanding our tech Q&A policies.

Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
09-22-2012, 04:13 PM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,242
Thanked 354 Times in 332 Posts
The CSS for background color has been specified per row, and not for the entire table. You've also specific #FFFFFF, which hexidecimal for white.

To make the white background color apply to the entire table, specify it in the table-wide CSS, not per row:

Code:
.wp-table-reloaded-id-1, 
.wp-table-reloaded-id-1 td, 
.wp-table-reloaded-id-1 th {
  border: none !important;
  border-collapse: collapse !important;
  border-spacing: 0px !important;
  background-color: #ffffff !important;

.wp-table-reloaded-id-1 .row-1 td {
}

.wp-table-reloaded-id-1 .row-2 td {
}

.wp-table-reloaded-id-1 .row-3 td {
}

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when activating vBulletin/WordPress Bridge plugin via Email or PM Website and Server Troubleshooting 1 12-16-2011 05:32 AM
Background Image In Table... naimeiiz Website and Server Troubleshooting 0 08-05-2011 05:03 AM
WPAds WordPress plugin adds slashes in wp-admin? New version here! kpmedia Website and Server Troubleshooting 0 01-24-2011 12:45 PM
GetResponse code in WordPress? plugin? admin Website and Server Troubleshooting 0 04-07-2010 10:05 PM
Looking for WordPress music sidebar plugin for band site admin Website and Server Troubleshooting 0 10-07-2009 08:14 AM

Thread Tools



 
All times are GMT -5. The time now is 09:00 AM