JuicyBlack
Regular Member
- Nov 27, 2008
- 406
- 184
Hi There,
I am trying to customize a theme's "nextpage" function so that pagination doesn't look unappealing.
Basically this is what my nextpage page navigation looks like:
As you see the #2 doesn't have any style and it looks squeezed in there. That is what I see when I click on the second page. That third page is has a green background because its css a hover effect (I had my mouse over that link when I took the screenshot)
My goal is to make the active page (which in this case is #2) look like the #3 page which has that green background.
Another example would be this one:
If you see the image above, you can quickly see that you are on page 1. Thats exactly what I want to achieve but with the green background color.
This is my current CSS Code:
What can I add to my CSS Code to make that "#2 current page link" look like the #1 link in the second image which has a background color different from the other links?
Thank you in advance!
I am trying to customize a theme's "nextpage" function so that pagination doesn't look unappealing.
Basically this is what my nextpage page navigation looks like:
As you see the #2 doesn't have any style and it looks squeezed in there. That is what I see when I click on the second page. That third page is has a green background because its css a hover effect (I had my mouse over that link when I took the screenshot)
My goal is to make the active page (which in this case is #2) look like the #3 page which has that green background.
Another example would be this one:
If you see the image above, you can quickly see that you are on page 1. Thats exactly what I want to achieve but with the green background color.
This is my current CSS Code:
Code:
.my-paginated-posts {
font-size:1em; font-weight:700; font-family:arial; padding:0.4em 0.8em; text-align:center; }
.my-paginated-posts p { font-size:1.4em; }
.my-paginated-posts p a {
background:#3C3C3C; color:#FFFFFF; margin-left:0.1em; margin-right:0.1em;
padding:0.4em 1em; text-decoration:none; }
.my-paginated-posts a:hover { color:#fff; background:#A6D501; }
What can I add to my CSS Code to make that "#2 current page link" look like the #1 link in the second image which has a background color different from the other links?
Thank you in advance!