- This topic has 9 replies, 3 voices, and was last updated 1 year, 9 months ago by
David.
-
AuthorPosts
-
September 19, 2020 at 11:19 am #1450229
James
Hey guys,
I am using the latest GP premium and the the Read theme, I am wanting the next post and previous post text links to be buttons. Please can somebody assist me?
Thanks
September 19, 2020 at 2:18 pm #1450339Augustine
Hi, To turn next and previous post links to buttons go to your Theme Customizer >> Layout >> Blog.
Should incase you’re still having issues do let me know and i’ll be happy to assist.
Whatever is worth doing, is worth doing with perfection
September 19, 2020 at 3:33 pm #1450374James
Hey,
Thanks for the fast reply, however that just changes the read more option to a button. I’m looking to change the post navigation text links seen in this screenshot below.
Thanks
September 19, 2020 at 4:55 pm #1450401David
StaffCustomer SupportHi there,
do you have an example of the style you want to achieve ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 20, 2020 at 3:19 am #1450714James
I was thinking something that just stands out more like in the screen below.
Not overly fussy on the end result, just think the current text links are very blended in. I’d be happy to use the theme buttons style, but I dont know how to convert the text link to a button link, so appreciate any help provided! ๐
Thank you!
September 20, 2020 at 6:29 am #1450894David
StaffCustomer SupportTry this CSS:
#nav-below { margin-top: 10px; } .nav-previous, .nav-next { position: relative; margin-top: 10px; } #nav-below .nav-previous a, #nav-below .nav-next a { display: block; padding: 20px 40px; background-color: #ff0000; color: #fff; } #nav-below .nav-previous a:hover, #nav-below .nav-next a:hover { background-color: #565656; } .nav-previous .gp-icon, .nav-next .gp-icon { position: absolute; top: calc(50% - 15px); left: 10px; font-size: 20px; color: #fff; } .nav-next .gp-icon { left: unset; right: 0; } @media(min-width: 600px) { #nav-below { display: flex; justify-content: space-between; } .nav-previous, .nav-next { max-width: calc(50% - 10px); } }
Let us know. May want to change its behaviour for mobiles.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 20, 2020 at 6:55 am #1450922James
That is perfect! Thank you very much! ๐
Just one final thing, you are correct it needs its behavior changing on mobile. At the moment, they are side by side on mobile and the text looks like a long vertical list of words haha. Can we stack them vertically on mobile at all?
Thank you
September 20, 2020 at 7:02 am #1450936David
StaffCustomer SupportUpdated the CSS above.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 20, 2020 at 7:07 am #1450939James
Perfect!
Thank you very much David! Top support as always! <3
September 20, 2020 at 2:22 pm #1451429David
StaffCustomer SupportYou’re very welcome – glad to be of help.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.