sihole Posted February 2 Share Posted February 2 Hi! I have succsessfully managed - with wonderful help from the Forum (thanks!) - to add audio to the top right corner of my header. But I would like to change the play/pause buttons I now have, to more audio spesific icons like theese: https://fontawesome.com/icons/volume-off?s=solid&f=classic https://fontawesome.com/icons/volume-high?s=solid&f=classic How can this be achieved? Site: https://dahlia-chameleon-xdem.squarespace.com Pass: sketchingsound Link to comment
tuanphan Posted February 8 Share Posted February 8 Which audio are you referring to? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
sihole Posted February 8 Author Share Posted February 8 Ah, sorry. I was trying to fix it myself and therefore had messed up the code. Now I have inserted the original code I got from the forum (in advanced/code injection/footer) and the play/pause buttons are back. I have learned that I need a newer version of Font awesome to make my desired icons work. I have registered as a Font awesome user, and on my account it says version 6. Below are my kit codes, cc from my account. <script src="https://kit.fontawesome.com/a0d43cfa57.js" crossorigin="anonymous"></script> <link rel="stylesheet" href="https://kit.fontawesome.com/a0d43cfa57.css" crossorigin="anonymous"> How to put it all together to get the icons I want? Thanks! Link to comment
tuanphan Posted February 11 Share Posted February 11 Don't remove any code in your current code. Add this to Code Injection > Footer <style> a.fa.fa-play:before { content: "\f026" !important; } a.fa.fa-pause:before { content: "\f028"; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
sihole Posted February 11 Author Share Posted February 11 Thanks a lot! This worked 🙂 Is it possible to change the size of the icons? I would like them to be a bit larger if possible. Link to comment
tuanphan Posted February 15 Share Posted February 15 On 2/11/2023 at 10:23 PM, sihole said: Thanks a lot! This worked 🙂 Is it possible to change the size of the icons? I would like them to be a bit larger if possible. Use this <style> a.fa.fa-play:before { content: "\f026" !important; font-size: 30px !important; } a.fa.fa-pause:before { content: "\f028"; font-size: 30px !important; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment