Sarah-W Posted September 15, 2020 Share Posted September 15, 2020 Hi, I found code that puts a shadow around summary items, but instead of separating individual items, I wanted to put a shadow around the complete container box for the summary block. I tried changing "summary-content" to "container-box" and "summary-block" but it didn't work. Any advice or code would be appreciated! Thank you. Link to comment
tuanphan Posted September 19, 2020 Share Posted September 19, 2020 Can you share link to page where you use summary? We can check easier. 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
Sarah-W Posted September 20, 2020 Author Share Posted September 20, 2020 23 hours ago, tuanphan said: Can you share link to page where you use summary? We can check easier. 23 hours ago, tuanphan said: Can you share link to page where you use summary? We can check easier. Hi Tuanphan, Thanks for getting back to me. I got the code to work for shadow around the summary box. However, it's very tight against the text, so I need to add padding. I'd also like to change the background to light grey. I might solve it before you see this, but if you are around, here is the code I have: div#block-yui_3_17_2_1_1599738514010_17446>div { background-color: #ffffff; border-radius: 5px; -webkit-box-shadow: 0px 0px 15px rgba(100, 100, 100, 0.1) !important; -moz-box-shadow: 0px 0px 15px rgba(100, 100, 100, 0.1) !important; box-shadow: 0px 0px 15px rgba(100, 100, 100, 0.1) !important;} Many thanks for all the help you give here. Link to comment
derricksrandomviews Posted September 20, 2020 Share Posted September 20, 2020 I think you need to change the border radius to a larger pixel size and here are hex colors so you change the #fffff to one of your choosing. https://www.color-hex.com/ Link to comment
Sarah-W Posted September 21, 2020 Author Share Posted September 21, 2020 @derricksrandomviews. Thanks so much! Will do. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.