lamdra Posted October 20, 2021 Share Posted October 20, 2021 I'm using the following code to add a highlight to my h2 when bolded but the highlight is abrupt when the line breaks in mobile or smaller browser size. Is there a better way to do this so that the highlight feels more like a background around all letters with equal space? h2 strong { background: #1b1b1a; padding-top: 7px; padding-bottom: 7px; font-weight:normal !important; } URL: https://cantina-loca.squarespace.com/ Password: 8989 Link to comment
Beyondspace Posted October 20, 2021 Share Posted October 20, 2021 9 hours ago, lamdra said: I'm using the following code to add a highlight to my h2 when bolded but the highlight is abrupt when the line breaks in mobile or smaller browser size. Is there a better way to do this so that the highlight feels more like a background around all letters with equal space? h2 strong { background: #1b1b1a; padding-top: 7px; padding-bottom: 7px; font-weight:normal !important; } URL: https://cantina-loca.squarespace.com/ Password: 8989 It seems that you 've solved your issue on your own, doesn't it? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
lamdra Posted October 20, 2021 Author Share Posted October 20, 2021 4 minutes ago, bangank36 said: It seems that you 've solved your issue on your own, doesn't it? No, I haven't actually. I worked around it for now by doing a hard return and adding a space before the line. But that's not ideal. Do you know how I can fix this without the forced return? Link to comment
lamdra Posted October 20, 2021 Author Share Posted October 20, 2021 2 hours ago, lamdra said: No, I haven't actually. I worked around it for now by doing a hard return and adding a space before the line. But that's not ideal. Do you know how I can fix this without the forced return? Still happens on longer headlines where I can't control the line breaks. Link to comment
tuanphan Posted October 22, 2021 Share Posted October 22, 2021 8989 Incorrect password. Can you check it again? 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
lamdra Posted October 27, 2021 Author Share Posted October 27, 2021 On 10/22/2021 at 4:29 AM, tuanphan said: 8989 Incorrect password. Can you check it again? site is live now at cantinaloca.com. Would love to help resolve this issues. Thanks for looking! Link to comment
lamdra Posted October 28, 2021 Author Share Posted October 28, 2021 On 10/22/2021 at 4:29 AM, tuanphan said: 8989 Incorrect password. Can you check it again? @bangank36 @tuanphan Any thoughts? Site is no longer password protected. You can recreate the issue on mobile version of this pagehttps://www.cantinaloca.com/our-story Thanks for your help! Link to comment
tuanphan Posted October 31, 2021 Share Posted October 31, 2021 On 10/28/2021 at 10:30 AM, lamdra said: @bangank36 @tuanphan Any thoughts? Site is no longer password protected. You can recreate the issue on mobile version of this pagehttps://www.cantinaloca.com/our-story Thanks for your help! How do you want the text to appear on the desktop-tablet-mobile? 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
lamdra Posted November 1, 2021 Author Share Posted November 1, 2021 On 10/30/2021 at 7:37 PM, tuanphan said: How do you want the text to appear on the desktop-tablet-mobile? I'd like there to be padding on the left of the text when it drops down a line. The way "Call Loca" looks is what I'm after but unless I manually add a return and a space I can't get it. For example what you see before "Time" is what it looks like if it just automatically drops a line in smaller screens. Is there a way to keep that left padding even when the sentence breaks into multiple lines? 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