O'Reilly logo

Joomla! 1.5 Templates Cookbook by Richard Carter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Styling pagination

Some content in your Joomla! website may run over multiple pages (for example, some search results). By styling pagination, you can again help to distinguish your Joomla! template from others.

Getting ready

Open your template's primary stylesheet; generally, this will be called template.css, and is located in the templates\rhuk_milkyway\css\ directory if we are using the rhuk_milkyway template (as we are for this demonstration).

It is also worth bearing in mind the typical structure of the pagination feature within the HTML. We can find this by searching for a common word such as "the" or "Joomla!" on our website.

<span class="pagination">
 <span>&laquo;</span> <span>Start</span> <span>Prev</span><strong> <span>1</span></strong> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required