Page 2 of 2

Re: PhocaGallery Pagination Navigation Layout orientation

Posted: 08 Jun 2011, 22:00
by mediaLinux
Hi Jan,

Sorry but yes, i did understand it. You just call the getPagesCounter and getPagesLinks function from Joomla. But the above additional lines change the CSS in PG, not the template. So maybe you could use a more configurable pagination for PG instead of the standard Joomla function. That would be extremly nice. Just a small configuration for horizontal, vertical, bullets, no bullets, spacing or colors. Nothing fancy.

I finally managed to change the CSS of PG with

Code: Select all

.pagination li {
display:inline;
padding:10px;
}
giving me a pagination like: StartZurück12345WeiterEnde
Now i only have to work on the spacing between the links.

Dieter

PS:

I am wondering why there is only the pagination on the bottom. Wouldn't it be nice to have it on the top as well for easy navigation ? Then you don't have to scroll the page all the way down ... just an idea.

EDIT

You were right. All the styling is done via the template.css. I just added the lines

Code: Select all

.pagination ul li {display: inline-block;margin-right: 8px;}
.pagination ul {text-align: center;}
to the template.css and all is fine now. Sorry for being confused (and confusing) about all this :)

Re: PhocaGallery Pagination Navigation Layout orientation

Posted: 09 Jun 2011, 16:24
by Jan
Ok, great to hear it, it works for you.

Jan

Re: PhocaGallery Pagination Navigation Layout orientation

Posted: 19 Dec 2011, 18:15
by itsegy
Yeah. you were speaking very useful here.
Actually, I could do it, using the following code.
in the line 904

#pg-pagination ul li { padding: 3px; margin: 10px;
float: left;

that is in the file, components/com_phocagallery/assets/phocagallery.css

I'm not sure Jan, if you were right about the joomla template itself, as it is the first time I see that in a joomla template.