test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • mixx Friend
    #119045

    I am trying to add bg colour to the BODY table of the template. I’d also like to have the text have a 10px margin around it. I am a newbee with Joomla so I am not sure if I have found the correct part of the css file to edit.

    Here’s what I think i need to edit:

    #ja-mainbody #ja-content {

    background: #FFFFFF;
    float: right;
    width: 70%;
    padding-right: 2.5%;

    and so far I am making it look like

    #ja-mainbody #ja-content {

    background: #FEF9D5;
    float: right;
    width: 70%;

    If I add a margin it shifts the whole ‘table’? over. Not what I want. I’d like a 10px pad, like a cell pad.

    Sorry if this is not clear. Thanks for any help.

    mixx

    Khanh Le Moderator
    #215278

    You should remove the attribute background in above style add following style to your template_css.css file:


    #ja-content {
    background: #FEF9D5;
    padding: 10px;
    }

    mixx Friend
    #215294

    problem with that is that is pushes the split menu on the left down too far. The padding seems to shift the content cell outward instead of the text inward. Make sense? It also seems like the margin around the table is inconsistent. right and left are fine but the top text is flush with the outside of the cell (or table).

    mixx

    mixx Friend
    #215295

    also… is the body panel on the ‘home page’ different from the rest of the site? it seems like that table shifts on the other content pages but not on the home page.

    thanks

    mixx

    Khanh Le Moderator
    #215313

    Hi mixx,
    Can you provide your live site url. I will take a look on your site and may give you some information.

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

This topic contains 5 replies, has 2 voices, and was last updated by  Khanh Le 17 years, 10 months ago.

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