Archived topic
A small problem with the "page number" section
9 replies · Started by Elia on September 9, 2019
Hi there,
There is a small issue in the "Page number" section
If you open it on the mobile you can see that the arrow is nor aligned to a text
https://gyazo.com/b57de06c2eb33484f4fc97d503fc3f04
Please take a look
Hi there,
Just checked on my phone and it looks quite aligned to me:
https://www.screencast.com/t/eX9yOhnW
I tested using Chrome. Which browser are you using?
Thanks Leo,
I also use the Chrome browser on the Poco F1 phone
As you see it looks way less align than in your example
Do you have an idea what to do in this case?
I've asked someone else on our team to try but unable to replicate the issue unfortunately (none of us has a Poco F1 phone)
It seems to be a device-specific issue (maybe that specific OS) which is not something we can fix from the code.
I understand Leo, can we somehow hide this symbol?
Unfortunately not - we can hide the entire next page link if that helps?
Hi Leo, no that would not work. Can you please discuss this with Tom or David? We need a solution that would work for us
Hi there,
you can use this PHP snippet to filter the text used in the Next and Previous links:
add_filter( 'generate_next_link_text', function() {
return 'Next';
} );
add_filter( 'generate_previous_link_text', function() {
return 'Prev';
} );
Wow, thanks as usual!
You're welcome