| 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. |
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.