CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
Centered Pagination in Wordpress
aarongmoore
Permalink to comment
#
February 2012
I'd like to get my pagination on my blog centered, rather than being aligned to the left.
http://aarongmoore.com/blog/
Here is an example of how I'd like my pagination to look:
http://thefoxisblack.com/page/3/
I tried to use the wordpress plugin that thefoxisblack seems to be using but the plugin (
http://www.ericmmartin.com/projects/wp-paginate/
) didn't do anything, even though I added the divs around the code. Help?
Senff
Permalink to comment
#
February 2012
For both
.pagination span
and
.pagination a
, lose:
display:block;
float:left;
Add a Comment
http://aarongmoore.com/blog/
Here is an example of how I'd like my pagination to look: http://thefoxisblack.com/page/3/
I tried to use the wordpress plugin that thefoxisblack seems to be using but the plugin (http://www.ericmmartin.com/projects/wp-paginate/) didn't do anything, even though I added the divs around the code. Help?
.pagination spanand.pagination a, lose: