Adjust text PDF Print Button
-
- Phoca Newbie
- Posts: 1
- Joined: 26 Mar 2024, 15:27
Adjust text PDF Print Button
How can I adjust the text of the PDF Print Button in the Frontend?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Adjust text PDF Print Button
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 1
- Joined: 13 Nov 2024, 20:03
Re: Adjust text PDF Print Button
To change the text of the PDF Print Button, you can use JavaScript or CSS. If the button has a unique ID or class, you could use JavaScript to target it and set a new innerHTML value, like this:
javascript
Copy code
document.getElementById('pdfPrintButton').innerText = 'New Button Text';
Alternatively, if you're using a plugin, check its settings to see if it provides an option to customize button text. This method should give you control over the text displayed on the button in the frontend.
javascript
Copy code
document.getElementById('pdfPrintButton').innerText = 'New Button Text';
Alternatively, if you're using a plugin, check its settings to see if it provides an option to customize button text. This method should give you control over the text displayed on the button in the frontend.