Archives

Welcome to the archives. To find what you are looking for you can use the search box, view all the articles below or find articles with certain tags.

Adding ‘first’ and ‘last’ classes to Joomla 2.5 Menu Items

Written on 03/02/12 • 0 Comments

Adding classes to the first and last element in navigation menu can be helpful in defining menu styles. We can easily add extra class “first” and “last” to the respective elements of the menus by adding a few lines to the menu module code. This as far as I know has never been a feature in Joomla, going forward adding the classes should be made redundant as support for CCS3 matures and we can reliably use the CSS3 Pseudo-classes :first-child and :last-child but until then.

Continue Reading

Page 1 of 1 pages

Save a massive 36% on a subscription to .net magazine!

We love .net magazine (known as "Practical Web Design" outside the UK) and have teamed up with Future Publishing to get our readers up to a massive 36% off a years subscription.