Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • jcsanjurjo Friend
    #181627

    Hi all, in one of the articles in my site, I’m trying to set up a custom content using tables.

    My problem is that despite I’m coding 0px padding and 0px margin in the article’s HTML, when I open the page, cells are quite separatted. I think that it’s because some other hierarchy class …

    Please how I can prioritize the style defined in the article’s html custom code?

    Thanks for your help

    jcs

    Luna Garden Moderator
    #470952

    Hi,
    I think it because in this file of t3 have defined the padding:

    /plugins/system/jat3/jat3/base-themes/default/css/template.css

    td {
    font-size: 100%;
    padding: 5px;
    }

    You can override this code by adding CSS line for article in file:
    templates/your_template_folder/css/template.css


    #ja-main td {
    font-size: 100%;
    padding: 0px;
    }

    jcsanjurjo Friend
    #471008

    Thanks @luna Garden, it works fine

    jcs

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

This topic contains 3 replies, has 2 voices, and was last updated by  jcsanjurjo 11 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum