Viewing 1 post (of 1 total)
  • Author
    Posts
  • smete Friend
    #149490

    Hi,

    When I was going through the T3 JA Framework Wiki, I’ve noticed that to customize the main blocks width the following advice was given, which involved modifying a class name in 10 different php documents
    http://wiki.joomlart.com/wiki/JA_Template_Framework/FAQs#Main_blocks_width

    Then I started looking for an easier, CSS only alternative since this is a formatting customization.
    My goal was to change the template width to 850px as well as having the wrapper wrap around and not extend the menu like the original design does.

    First under template settings I set the template to have a fixed width of 850px.

    Then, in template.css line 855 I’ve changed
    .wrap { }
    to

    .wrap { width: 850px;
    margin-left:auto;
    margin-right:auto;
    }

    Then I added
    #ja-container .main { width: 800px; }
    and so far it does what I need it to do.
    I haven’t encountered any problems relating to the changes I’ve made so far.
    I’m not good at all with coding and PHP so I am curious to see what you guys think about my method of changing the template.css rather than that long list of PHP files.
    To me it seems like my method works just as well but I suspect I’m missing something since the official how-to has this more elaborate way of dealing with the issue. Or is it just something the author of that article didn’t think about at the time?

    You can see how my site looks after the changes at
    http://www.fibercom.com/newsite/

    Thank you!

    P.S. There is one issue I’ve run into but I don’t think it is related to this change and it’s described in this thread: http://www.joomlart.com/forums/topic/footer-looses-formatting-on-the-front-page-when-leading-article-has-read-more/

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  smete 14 years, 8 months ago.

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