Breaking your Layout in a Joomla Template
Tuesday, 19 February 2008 19:00

So I have been working on a new site and wanted to take advantage of RSS feeds to pull content from other sites. This is a great technique, allowing you to show relevant content without having to write it!

The trouble is, you have no control over this content. If something is there that is too long, it will frequently break the layout of a column, making it grow too big or even worse, drop down in a float drop bug.

While getting the two feeds from the other sites I am involved in, there was a link that was too long and making the column stretch. The solution was actually quite simple though.

I just added this CSS

ul.newsfeed {overflow:hidden;}

This meant that any content in a RSS feed module would not overflow in some messy way. This little line might be worth adding to any templates if you use the Joomla RSS feed module.


blog comments powered by Disqus
 

Joomlashack University!

If you want Joomla training delivered to the comfort of your own home, then you need to join Joomlashack University - an affordable online Joomla training course taught by the world's leading experts in Joomla education.

Get Joomla Tips by RSS or Email

 

Joomla 1.6 Book

Get the NEW Joomla 1.6 Book

The new 3rd edition of the best selling Joomla 1.6 book is now available.

New and updated, its everything you need to know about Joomla 1.6!

Get it now from Amazon!

jenbookJoomla! Start to Finish Book

When you're ready to take your Joomla sites to the next level, try Joomla! Start to Finish: How to Plan, Maintain and Execute Your Website.

 

 

Teaching Sells

Classic Blog Posts