Forums

Pagination align center

Lord Meshadieme 18 Sep, 2010
Hello,

I know this is a very small issue, and i thought i could honestly figure it out myself but it seem there is no way to change the alignment of pagination. ive tried everything from <div align="center" text-align="center" vertical-align="center"> to adding custom id's and class, it always gets overriden somehow. It very frustrating now. Any help would be appreciated.

Regards,
Lord Meshadieme
GreyHead 18 Sep, 2010
Hi Lord Meshadieme ,

This seems to do it
div.limit, ul.pagination {
  text-align:center;
  border:1px solid blue;
} 


Bob
Lord Meshadieme 18 Sep, 2010
Thanks, but it still is being overriden by the #whitebox div { text-align:left } in the default template from joomla. Why is it getting the priority, very baffling.
GreyHead 24 Sep, 2010
Hi Lord Meshadieme,

It worked fine for me in JA_purity. You may need to add !important to the style.

Bob
Lord Meshadieme 01 Oct, 2010
I was using the milkyway template but thanks the !important worked.
Magico9 08 Mar, 2014
Hi GreyHead,

I've the same problem. I'd like to show my form in the center of the page noy on the left.
pls can you tell where do I put your code?
Thanks🙂
This topic is locked and no more replies can be posted.