mallorycs Posted June 1, 2021 Share Posted June 1, 2021 Site URL: https://www.sundayschoolwine.com/membership Hi, I put highlights behind my subtitle text in these image cards using this code: .image-subtitle p { background: linear-gradient(180deg, rgba(255,255,255,0) 15%, #FCFBEA 40%); display: inline; color: black; font-size: 22px !important; } Works fine, except I had the text separated with a space (see second photo w/o highlight behind text). But when I enter the highlight coding, the space disappears. Help! Link to comment
tuanphan Posted June 2, 2021 Share Posted June 2, 2021 Add to Custom CSS body:not(.image-block-card-dynamic-font-sizing) .sqs-block-image .design-layout-card .image-title p { display: inline-block !important; } 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
mallorycs Posted June 5, 2021 Author Share Posted June 5, 2021 On 6/2/2021 at 3:53 PM, tuanphan said: Add to Custom CSS body:not(.image-block-card-dynamic-font-sizing) .sqs-block-image .design-layout-card .image-title p { display: inline-block !important; } @tuanphan Didn't do it. Here's what I have and still looks the same as the first photo. #membership-intro .image-subtitle p { background: linear-gradient(180deg, rgba(255,255,255,0) 15%, #FCFBEA 40%); display: inline; color: black; font-size: 22px !important; } body:not(.image-block-card-dynamic-font-sizing) .sqs-block-image .design-layout-card .image-title p { display: inline-block !important; } Link to comment
mallorycs Posted June 12, 2021 Author Share Posted June 12, 2021 Still haven't found a solution. 😭 @tuanphan any thoughts?? Link to comment
tuanphan Posted June 14, 2021 Share Posted June 14, 2021 Try this div:not(.image-block-card-dynamic-font-sizing) .image-title p { display: inline-block !important; } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment