Thanks for the tip. Used it on my site.
Pagination General
This pagination is shown on blog and list pages. The pagination for Single articles is different.
Structure with classes and id's
p.counter ul li.pagination-start span.pagenav li.pagination-prev span.pagenav li span.pagenav li a.pagenav li.pagination-next a.pagenav li.pagination-end a.pagenav
Print screen without additional CSS

CSS
/* -------------------
General Pagination
--------------------- */
div.pagination {
clear: both;
text-align: center;
margin: 15px 0 0 0;
}
div.pagination p.counter {
font-style: italic;
}
div.pagination ul {
list-style: none;
padding: 0;
}
div.pagination ul li {
list-style: none;
display: inline;
padding: 0 5px 0 5px;
}
Print screen after applying CSS

Comments (10)
-
1901-12-13 20:45:52 |Unregistered| Eclectic - What I'm doing wrong?I'm developing a joomla 1.6 component using pagination, I've put this css code in the template.css file at templates -> beez_20 -> css (the template I'm using at the moment) but the pagination still displays vertical. What I'm doing wrong?. Thanks for help.
-
1901-12-13 20:45:52 |Unregistered| Keith Pickett - Oops, filters got meThe URL washer caught me. In the comment above, if your template directory is "mytemplate", then the path would be:
webroot/templates/mytemplate/html/com_content/default.php or something like that.
-
1901-12-13 20:45:52 |Unregistered| Keith Pickett - Works like a charm on J1.6Thanks! This is truly plug 'n play and works out of the box.
One note, however, in answering Rui's question. Could you not create an HTML entry for com_content under /templates//html/com_content/ and then dupe the code for pagination and place it at the top? Just a thought.
Thanks again,
Keith
-
1901-12-13 20:45:52 |Unregistered| Rob van Oudheusden - Re: pagination duplicationThis is not possible with CSS. You have to adjust some core files of Joomla. Ask the question in the Joomla forum.
-
1901-12-13 20:45:52 |Unregistered| Rui - pagination duplicationHi,
First of all would like to thank you for all the information here. I would like to know how to duplicate the pagination links so that the navigation appears at the top and bottom of articles (now it only appear at the bottom of the article).
Hope to hear from you soon, kind regards
Rui
-
1901-12-13 20:45:52 |Unregistered| Wiyono - Look thisThank you so much... and sorry my English not good..
I was doing like your post...
And i have so:
http://misha-tattoo.de/content/general/joomla-6/referenzen
What i have to do again...
If many file you can send to my email...
Thank you so much...
Powered by Compojoom comment 4.2.1

