Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] Table Format for a Single Table


  #1  
Old Jul 10, 2010, 10:28 PM
joan
 
50 posts · Sep 2009
Brisbane, Qld, Aust
Hi Juggledad et al...
Is it possible to turn off the Atahualpa Table formatting -just for ONE table ? If I add a .style to the CSS Inserts area, how do I turn off the alternate color setting (Zebra row TD style) ?
Kind regards, Joan
  #2  
Old Jul 11, 2010, 03:17 PM
juggledad's Avatar
juggledad
 
23,560 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
when you code your table, give it a unique ID and then style it using that ID as the high level in the selector.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jul 12, 2010, 07:31 AM
joan
 
50 posts · Sep 2009
Brisbane, Qld, Aust
Thank you very much JuggleDad but still getting the zebra highlighting. I can't seem to see where it's coming from, as I have done the following:

In CSS Inserts area:
#homeTable {background-color: white;}

In the HTML code of the page:
<table id="homeTable" width="440" border="0" cellspacing="0" cellpadding="0" style="margin:0px;">

In Style TABLES area I've set Zebra background to "background: #f4ffe6;" which is what I want for the other tables, but when I "inspect element" on the table I can't see the #f4ffe6 anywhere... Not quite sure if I have made the ID a "high level in the selector" as you suggest.
Any thoughts greatly appreciated. Kind regards, Joan.
  #4  
Old Jul 12, 2010, 08:44 AM
juggledad's Avatar
juggledad
 
23,560 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You need to set the color on the table CELLS, use this
HTML Code:
#homeTable tr td {background-color: white;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jul 13, 2010, 10:03 AM
joan
 
50 posts · Sep 2009
Brisbane, Qld, Aust
Thanks Juggledad - you're a legend. Can you mark this one 'closed/solved' (can't seem to find it myself) -Kind regards, Joan

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to Override Table CSS? jkestler Atahualpa 3 Wordpress theme 18 Apr 13, 2015 03:34 PM
Can I have long drop down menus show in shorter table/column format? Masselyn Page & Category Menu Bars 4 Oct 12, 2010 08:15 PM
Write to a database table joan eCommerce & Atahualpa 0 Feb 4, 2010 04:42 AM
Turning off Table Styling karlos Header configuration & styling 1 Nov 28, 2009 06:01 AM
Table Issues bobby sapphire Atahualpa 3 Wordpress theme 2 Aug 11, 2009 08:01 AM


All times are GMT -6. The time now is 01:01 AM.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.