MAC1 Posted August 21, 2023 Share Posted August 21, 2023 Hi, web: https://ellipse-teal-dl5w.squarespace.com/design/ultraflex pass: 2 Wondering how I can target a "hover over" colour for pagination < PREVIOUS and NEXT> icons in the portfolio. I was able to find code to change the arrows but not the text (PREVIOUS and NEXT) put the code in Website Tools / Custom CSS /* pagination hover */ .item-pagination[data-collection-type^="portfolio"] h2:hover { color: #42c6ff; } .item-pagination[data-collection-type^="portfolio"] .icon:hover svg { stroke: #42c6ff; } how far i got: Just need the NEXT and PREVIOUS to be a different colour on hover over. Thanks Link to comment
Solution DPruitt Posted August 21, 2023 Solution Share Posted August 21, 2023 Try this instead: .item-pagination-link:hover .item-pagination-prev-next, .item-pagination-link:hover .item-pagination-icon svg { color: #42c6ff !important; stroke: #42c6ff !important; } tuanphan and MAC1 2 Link to comment
MAC1 Posted August 22, 2023 Author Share Posted August 22, 2023 thank you works great 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