Jordenzie Posted January 17, 2021 Share Posted January 17, 2021 Site URL: https://www.1999worldwide.com/music Here's the audio widget: .sqs-widgets-audio-player {box-shadow: 2px 5px 15px rgba(0,0,0,0.2); background:linear-gradient(to right, lightblue,pink)!important; border-radius: 35px!important} .sqs-widgets-audio-player .title-wrapper .title, .sqs-widgets-audio-player .artistName, .sqs-widgets-audio-player .time {color: #fff!important} .sqs-widgets-audio-player .action .play-button {border-left-color: #fff!important} .sqs-widgets-audio-player .action .pause{border-color: #fff!important} Here's what I am trying to accomplish: .sqs-widgets-audio-player:first-child {background:#E50026!important;} .sqs-widgets-audio-player:nth-child (2) {background:#006AFE!important;} .sqs-widgets-audio-player:nth-child (3) {background:#10A786!important;} .sqs-widgets-audio-player:last-child {background:#FFCD1C!important;} Here's the problem: The global color of the audio blocks will only correspond the last-child Please help, Thank you! Link to comment
tuanphan Posted January 20, 2021 Share Posted January 20, 2021 I answered your email. Not sure you received it? You can target block id. div#block-yui_3_17_2_1_1609989010394_13873 .player { background: red; } Use this tool to target block id. https://chrome.google.com/webstore/detail/squarespace-collectionblo/bggpdfnccodbnmcndckmeehdjkjojkde Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.