PDA

View Full Version : Columns issue with my Joomla front page



moss2076
Mar 17th, 2009, 01:43 AM
Hello Im using Joomla 1.5 to create my website.

I am trying to create a 2-column area on my frontpage to display articles.

I want it to look the same as the standard Joomla 2-column layout, but I do not want to use tables.

I have customised the Beez frontpage template file(html/frontpage/default.php) for use in my own template as it can display 2 columns, but as you can see from my work-in-progress template there are big gaps at the bottom of articles of different lengths due to the div class called "article_row" (blue border). -
http://www.tomsspecialreserve.co.uk/joomla

If I remove the article_row class from my frontpage.php file the gaps dissapear, but the articles dont line up properly, the first 4 are ok, but the last 2 are totally mis-aligned, and I cant work out why.

Can anyone help or know how to achieve 2 columns layout like the standard 2column layout, but using just divs? Im not sure if its a CSS issue or Joomla PHP coding, or both..

Dont worry about the rest of the layout or color-scheme, it is all work in progress!

Excavator
Mar 17th, 2009, 05:26 AM
Hello moss2076,
I have a 2-column layout demo at http://nopeople.com/CSS/equal_length_columns/index.html
You could easily put those two columns in your website.

As always, view the source to get the code.

Hope that helps...