Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • jkirkpat Friend
    #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 Moderator
    #487248

    You 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

    jkirkpat Friend
    #487261

    55 views and no one can help me??? :((

    Ninja Lead Moderator
    #487268

    <em>@jkirkpat 365470 wrote:</em><blockquote>55 views and no one can help me??? :((</blockquote>

    Please check my replied above here

    jkirkpat Friend
    #487276

    Indeed that worked!

    There are several table element tag references in template.css, I just needed to know the right one.

    Thanks again!

    Ninja Lead Moderator
    #487331

    Because 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.

Viewing 6 posts - 1 through 6 (of 6 total)

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