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 » Header configuration & styling »

[SOLVED] How can I insert a preformatted table avoiding Atahualpa to override its sty

Old Nov 9, 2009, 02:48 AM
1 posts · Nov 2009
currently Atahualpa applies some nice styles to tables.

The problem is that I need to post an already styled table that I got from a spreadsheet. That table is full of colors, and those colors have a deep meaning, so I would be able to show the table as it is.

Sadly, Atahualpa has css style that are applied to each table contained in posts. This is great generally speaking, because it ensures a consistent style across the blog, but it's not what I need in this very peculiar scenario.

So... Does anyone knows if there is a way to make sure a table get show with its original colors ?

Removing or modifying the Atahualpa css is not a solution, 'cause it would modify the appearance of all tables across the blog.

Thank you very much

Old Nov 9, 2009, 05:11 AM
juggledad's Avatar
23,697 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
have you got an example url?
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Nov 10, 2009, 05:18 AM
2 posts · Nov 2009
Hello Daniele,

I am fairly new to CSS as well and ran into the same problem as you did.
For now I have it working and am able to address each cell individually to set the style.
But I don't know if that is the 'correct' way of doing it or if this is what you want.
I used the info from two posts:
1) http://forum.bytesforall.com/showthr...ghlight=tables
2) http://forum.bytesforall.com/showthr...ht=table+class

Step 1)
In the post where I want to have a table with my format I insert this table:
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<td id="td-past" width="25%">first item</td>
<td id="td-past" width="25%">second item</td>
<td id="td-current" width="25%">third item</td>
<td id="td-future" width="25%">fourth item</td>
The key is the 'id=your-reference-for-this-cell' reference.

Step 2)
Open Atahualpa Theme options and select 'Add HTML/CSS Inserts'
Here you can insert the desired style per referenced id:
#td-current {
	background: #85c2c2;
	text-align: center;
	font-weight: bold;
#td-future {
	background: #ffffff;
	text-align: center;
#td-past {
	background: #cccccc;
	text-align: center;
Save the theme options and in the frontend it should work. NOTE that you won't see this while editing your post as the CSS rules are not applied in editing mode.

Good luck, hope this helps.
Old Apr 1, 2010, 01:10 AM
13 posts · Jan 2010
Mista you've saved my day! :* I was getting stuck with this and follow your instruction, it's very good now. Thanks a lot!


colors, stylesheet, tables

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
[SOLVED] how to override Atahualpa default 404's? gjt Atahualpa 3 Wordpress theme 11 Dec 10, 2012 07:37 PM
Can anyone recommend a method to insert a table so I can list things for sale? cdgeorge Plugins & Atahualpa 8 Oct 26, 2009 05:23 AM
Which php file should I Edit to Insert Opt In form in SideBar for Atahualpa Theme? kacang Sidebars & Widgets 0 Aug 1, 2009 04:41 AM
How i insert a sales letter into Atahualpa 3.3.2 alabastru Forum How-To 2 Jul 6, 2009 08:46 PM

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

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