CooperBlack Posted June 16, 2022 Share Posted June 16, 2022 Site URL: https://raccoon-oarfish-szer.squarespace.com/ I'm using the following code for custom social icons in the header: .header-menu-actions-action:nth-of-type(2) { svg { display:none; } background-image: url(https:.....png); background-size: 100%; background-repeat: no-repeat; } That all works fine, but I can't figure out how to create a hover style for the icons I've uploaded. I'm thinking I could upload a different color .png file for hover, but all my attempts at figuring out how/where to add a:hover anywhere does not work when attempting additional code. All my searches have found how to add the above snippet, but nothing about hover. pwd: Largeosity Link to comment
tuanphan Posted June 17, 2022 Share Posted June 17, 2022 Use some code like this for hover icon .icon--fill:nth-of-type(3):hover { background-image: url(https://cdn.pixabay.com/photo/2022/06/13/19/43/man-7260571__480.jpg); } 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
CooperBlack Posted June 17, 2022 Author Share Posted June 17, 2022 Wow, I wasn't even close. Thanks a lot! 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