-
AuthorPosts
-
March 19, 2013 at 12:31 am #185969
Hi,
I am setting up a simple table in my JA Purity II (Joomla v. 2.5) template. The table houses tiles of an image and they are to fit tightly together, i.e., my table should have “0” cellpadding and cellspacing.
However, there seems to be an inherent .css styling in JA Purity II that is overriding my attempts to customize my table. Please take a look:
http://illuminae.info/dflcdemo/index.php?option=com_content&view=article&id=55&Itemid=643
You’ll note there seems to be a small amount of padding that won’t tighten up, regardless of what I do.
I read in another post that commenting out a line in template.css that reads:
th { font-weight: bold; padding: 5px; text-align: left; }
…might help, but in my case, it didn’t.
I also tried adding a custom class to template.css:
.table_cells {
margin: 0px;
padding: 0px;
}…but that doesn’t seem to work either.
Inline style applied to the table tag (<table style=”border: 0px;” cellpadding=”0″ cellspacing=”0″>) doesn’t work.
So, I’ve made several noble attempts, LOL, so I would be grateful for any help before I go mad.
Many thanks in advance!
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 20, 2013 at 5:33 pm #487248You can try this way
Open templates/ja_purity_ii/css/template.css file
from
td { font-size: 100%; padding: 5px; }
change to
td { font-size: 100%; padding: 0px; }
Remember to clear cache from Admin area
March 20, 2013 at 11:26 pm #48726155 views and no one can help me??? :((
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 21, 2013 at 3:04 am #487276Indeed that worked!
There are several table element tag references in template.css, I just needed to know the right one.
Thanks again!
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 21, 2013 at 9:43 am #487331Because JA Template is using DIV tags and some table, td, dt tr… tags were disabled, you can find them in template.css or you can debug it by firebug and enable table tags.
Or you can send me error link, maybe i can help you out.
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by Ninja Lead 11 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum