codefordummies 6 Share Posted October 25, 2020 Site URL: https://www.terroir-imports.com/produits Hi guys, I am looking to change the "previous" and "next" text on my product page on my french version website. Does anyone have some custom CSS for this? I would like it to be: previous = précédent next = suivant Thanks guys, 🙂 Link to post
creedon 399 Share Posted October 25, 2020 Add the following to Store Settings > Advanced > Page Header Code Injection. <style> .ProductItem-nav { line-height: 1.5em; } .tweak-product-item-nav-pagination-style-previousnext .ProductItem-nav-pagination-link--next .ProductItem-nav-pagination-link-direction, .tweak-product-item-nav-pagination-style-previousnext .ProductItem-nav-pagination-link--prev .ProductItem-nav-pagination-link-direction { display: none; } .tweak-product-item-nav-pagination-style-previousnext .ProductItem-nav-pagination-link--next:after { content: 'Suivant \0020\203A'; } .tweak-product-item-nav-pagination-style-previousnext .ProductItem-nav-pagination-link--prev:before { content: '\2039\0020 Pr\00e9 c\00e9 dent'; } </style> Let us know how it goes. codefordummies 1 Hello I'm Thomas. I've been getting websites up and running for 26 years. I want to help you at whatever level meets your needs, from as little (if you're a DIYer) to as much as you need. Link to post
codefordummies 6 Author Share Posted October 25, 2020 11 hours ago, creedon said: Add the following to Store Settings > Advanced > Page Header Code Injection. <style> .ProductItem-nav { line-height: 1.5em; } .tweak-product-item-nav-pagination-style-previousnext .ProductItem-nav-pagination-link--next .ProductItem-nav-pagination-link-direction, .tweak-product-item-nav-pagination-style-previousnext .ProductItem-nav-pagination-link--prev .ProductItem-nav-pagination-link-direction { display: none; } .tweak-product-item-nav-pagination-style-previousnext .ProductItem-nav-pagination-link--next:after { content: 'Suivant \0020\203A'; } .tweak-product-item-nav-pagination-style-previousnext .ProductItem-nav-pagination-link--prev:before { content: '\2039\0020 Pr\00e9 c\00e9 dent'; } </style> Let us know how it goes. This worked out perfectly! Thank you very much @creedon! creedon 1 Link to post
elijah_aaron 3 Share Posted December 6, 2020 How do I add a "Next" and "Previous" button in the first place? I can't figure out if it comes with my site version or not. That would be SO helpful Link to post
tuanphan 8,928 Share Posted December 8, 2020 On 12/6/2020 at 10:59 AM, elijah_aaron said: How do I add a "Next" and "Previous" button in the first place? I can't figure out if it comes with my site version or not. That would be SO helpful Do you still need help on this? You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
creedon 399 Share Posted December 9, 2020 @tuanphan I responded to @elijah_aaron's question here. tuanphan 1 Hello I'm Thomas. I've been getting websites up and running for 26 years. I want to help you at whatever level meets your needs, from as little (if you're a DIYer) to as much as you need. Link to post
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment