- This topic has 19 replies, 2 voices, and was last updated 3 years, 4 months ago by
Leo.
-
AuthorPosts
-
October 2, 2019 at 9:45 am #1024506
Carol
How to change default post navigation link?
On Marketer template, it is “1 2 Next β>”
I would like it to be: 1 2 3 … 47
Thank you.
October 2, 2019 at 9:53 am #1024510Carol
and centered under post content only (not including sidebar)
October 2, 2019 at 10:44 am #1024527Leo
StaffCustomer SupportHi there,
Try this CSS:
.nav-links { text-align: center; } a.next.page-numbers, a.prev.page-numbers { display: none; }
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 2, 2019 at 11:24 am #1024554Carol
Thank you very much!
October 2, 2019 at 11:26 am #1024557Carol
But then when you click on “2” – there is “<β Previous 1 2”
I don’t want that word, “Previous”
October 2, 2019 at 11:43 am #1024564Leo
StaffCustomer SupportEdited the CSS above:
https://generatepress.com/forums/topic/instead-of-1-2-next-i-want-just-1-2-3-48/#post-1024527Can you give it another shot?
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 2, 2019 at 12:07 pm #1024583Carol
Didn’t work – still see the word Previous
October 2, 2019 at 12:12 pm #1024587Leo
StaffCustomer SupportSorry. Edited the code again.
Should work for sure.
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 3, 2019 at 4:59 pm #1025735Carol
Perfect!
Thank you!
October 3, 2019 at 5:16 pm #1025742Leo
StaffCustomer SupportNo problem π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 4, 2019 at 12:42 pm #1026491Carol
I was using the CSSHero to do it, but deactivated the plugin.
Can the theme do this?
Thanks in advance.
October 4, 2019 at 12:44 pm #1026494Leo
StaffCustomer SupportTo do what? Removing the next/previous and center?
If so my code here should do that already:
https://generatepress.com/forums/topic/instead-of-1-2-next-i-want-just-1-2-3-48/#post-1024527Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 4, 2019 at 12:55 pm #1026502Carol
I forgot to tell you to look at the image.
It says to make background a certain color and bold first (current) number and make a certain color…
October 4, 2019 at 1:00 pm #1026505Leo
StaffCustomer SupportTry this CSS:
span.page-numbers.current { font-weight: 700; color: #00C83B; } .separate-containers .paging-navigation { background-color: #000000; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 4, 2019 at 1:05 pm #1026513Carol
Okay, that fixed the number color but not the background color.
Code I have so far:
.nav-links {
text-align: center;
}
a.next.page-numbers, a.prev.page-numbers {
display: none;
}span.page-numbers.current {
font-weight: 700;
color: #00C83B;
}Can I get the background of that pagination area to be a certain color?
#FBF9FA
-
AuthorPosts
- You must be logged in to reply to this topic.