- This topic has 11 replies, 3 voices, and was last updated 3 years, 4 months ago by
Fernando.
-
AuthorPosts
-
June 11, 2022 at 12:12 pm #2250421
Anil
Hi
Sorry for disturbing but I can find the solution anywhere so thought of asking.
Wanted to know if I can have pagination like this URL below
https://home-tricks.com/en-faceshape/2/
Thanks
Anil
June 11, 2022 at 12:37 pm #2250446Leo
StaffCustomer SupportHi Anil,
Can you provide a link to your site that shows the default pagination?
Then I’ll provide some CSS.
Let me know 🙂
June 11, 2022 at 12:43 pm #2250450Anil
here it is
https://techinfowiz.com/June 11, 2022 at 1:03 pm #2250454Leo
StaffCustomer SupportThat’s the same page provided in the initial topic but I don’t actually see pagination there.
Perhaps you don’t have enough posts yet?
Let me know 🙂
June 12, 2022 at 1:23 am #2250698Anil
Hi Leo
I found how to bring the pagination now the next question is how can I have beautified pagination like the below links
1. https://bloggingpond.com/ (this is on generate press)
or like this
https://www.w3schools.com/css/tryit.asp?filename=trycss_ex_pagination_margin
I also want similar pagination on this post
https://techinfowiz.com/how-to-split-wordpress-posts-into-multiple-pages-post-pagination/
Thanks
Anil
June 12, 2022 at 11:51 am #2251234Leo
StaffCustomer SupportThe Blogging pond site is using this CSS:
/* Pagination */ #nav-below { padding-left:0 } .nav-links .page-numbers { border-radius: 4px; min-width: 2.5em; line-height: 1.8em; padding: 5px 15px; box-sizing: border-box; display: inline-block; text-align: center; } .nav-links .page-numbers { background-color: #000; color: #fff !important; } .nav-links .page-numbers.current { background-color: #0066bf; }
June 20, 2022 at 12:46 pm #2259474Anil
Hi Leo, sorry for disturbing you again, I have manually added pagination the way I wanted via a simple CSS plugin. Here is the code
.paging-navigation .nav-links>* {
color: black;
float: left;
padding: 12px 18px;
text-decoration: none;
transition: background-color .3s;
border: 1px solid #ddd;
margin: 0 4px;Now the question is how can I add the same CSS to this page
https://techinfowiz.com/how-to-split-wordpress-posts-into-multiple-pages-post-pagination/
Here I have manually split the post into multiple pages and here I want similar pagination to the home page https://techinfowiz.com/
Thanks and regards
AnilJune 20, 2022 at 2:40 pm #2259547Leo
StaffCustomer SupportHere are the CSS selectors for the single post pagination:
https://www.screencast.com/t/trr0XNO1lTLet me know if this helps 🙂
June 21, 2022 at 10:38 am #2260378Anil
Hi Leo
it did not work as the home page, It does not match the pagination that we have on the home page.
Can you help
I just do not want to spoil your day and mine also. Every time I ask a query and get a response it’s usually a day’s time. This is not a live chat hence wasting lots of our time. I think you know my requirements and if you can let me know some firm solution, that would be much appreciated. ThanksJune 21, 2022 at 2:43 pm #2260558Leo
StaffCustomer SupportTry something like this:
.single .page-links .current, .single .page-links a { border: 1px solid #000; padding: 5px; }
June 21, 2022 at 10:06 pm #2260736Anil
1. On the very first page, the margins are not like that on the rest of the pages, there is no space in the first page numbers.
2.The whole block has gone out of the page, can we extend the page further,if yes how.thanks
June 21, 2022 at 10:36 pm #2260744Fernando Customer Support
Hi Anil,
Try removing this:
.page-links { color: black; float: left; padding: 12px 18px; text-decoration: none; transition: background-color .3s; border: 1px solid #ddd; margin: 0 4px; }
And then, try adding this again:
.single .page-links .current, .single .page-links a { padding: 15px 18px; border: 1px solid #ddd; margin: 0 8px; }
It seems that the CSS code isn’t added to page 1. If that doesn’t work, try adding it to Appearance > Customize > Additional CSS instead.
Kindly let us know how it goes.
-
AuthorPosts
- You must be logged in to reply to this topic.