tuanphan Posted October 16 Posted October 16 To make text over on bottom left of image in List Carousel (People Section). #1. First, find ID of Carousel Section. In my example, it is: section[data-section-id="6704d59e0d0efb17d4423220"] #2. Use this code to Custom CSS box section[data-section-id="6704d59e0d0efb17d4423220"] { .list-item-content { position: absolute; bottom: 10px; left: 10px; } } #3. To add a background behind text, use this new code section[data-section-id="6704d59e0d0efb17d4423220"] { .list-item-content { position: absolute; bottom: 0; left: 0; background-color: #fff; } .list-item-content>* { padding: 10px 20px; } } #4. Or if you want to add a dark overlay over image only + change text color, use this new CSS code section[data-section-id="6704d59e0d0efb17d4423220"] { .list-item-content { position: absolute; bottom: 20px; left: 10px; z-index: 99999; } li.list-item * { color: #fff; } .user-items-list-carousel__media-inner:after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 999; background-color: rgba(0,0,0,0.5); } } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment