Amanihime Posted October 15, 2021 Share Posted October 15, 2021 (edited) Site URL: https://spoonfulofsugarent.squarespace.com/ Hello! I'm looking for some help, I've been tweaking this site for about a week and there's some last touches I want to make to the home page that I can't seem to figure out! I'll list my issues in order of priority- 1) I'm trying to get the font of the title header to adjust to 1.0 or 1.2rem for the mobile layout to stop it from being monstrous on the phone. there's been a couple of different codes I've looked up and tried to plug in but the site isn't responding to any of them. I left the last one I tried you can see in the code box below 2) same as 1, but to make the full-bleed background fit the phone width. I'm not sure if this is connected to the font sizing or requires a different code. 3) The site navigation header I'm trying to figure out if I can make the background semi-transparent, OR if there's a way for me to give the text either a glow, shadow or stroke effect for it to pop out from the background photo. I managed to get it the glow font for the title header, but it's not working the same for the site header. (ignore the colors on the site, it's mostly to help my brain compute what is going on 🤣) the block of coding I have in my CSS section is below for reference. Thank you in advance! <style> {{ .header{ font-size: 180px; letter-spacing: 5px; -webkit-text-stroke-width: 2px; -webkit-text-stroke-color: hsl(51, 80%, 35%); text-align: center; text-shadow: 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #fff, 0 0 25px #fff, 0 0 30px #fff, 0 0 35px #ff4da6, 0 0 40px #ff4da6;} h2 { font-size: 95px; } @media screen and (max-width:640px) { #site-title { font-size: 1.2rem; } { #h1 { font-size: 1.2rem; } } </style> Edited October 15, 2021 by Amanihime Link to comment
Beyondspace Posted October 16, 2021 Share Posted October 16, 2021 On 10/15/2021 at 9:24 PM, Amanihime said: Site URL: https://spoonfulofsugarent.squarespace.com/ Hello! I'm looking for some help, I've been tweaking this site for about a week and there's some last touches I want to make to the home page that I can't seem to figure out! I'll list my issues in order of priority- 1) I'm trying to get the font of the title header to adjust to 1.0 or 1.2rem for the mobile layout to stop it from being monstrous on the phone. there's been a couple of different codes I've looked up and tried to plug in but the site isn't responding to any of them. I left the last one I tried you can see in the code box below 2) same as 1, but to make the full-bleed background fit the phone width. I'm not sure if this is connected to the font sizing or requires a different code. 3) The site navigation header I'm trying to figure out if I can make the background semi-transparent, OR if there's a way for me to give the text either a glow, shadow or stroke effect for it to pop out from the background photo. I managed to get it the glow font for the title header, but it's not working the same for the site header. (ignore the colors on the site, it's mostly to help my brain compute what is going on 🤣) the block of coding I have in my CSS section is below for reference. Thank you in advance! <style> {{ .header{ font-size: 180px; letter-spacing: 5px; -webkit-text-stroke-width: 2px; -webkit-text-stroke-color: hsl(51, 80%, 35%); text-align: center; text-shadow: 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #fff, 0 0 25px #fff, 0 0 30px #fff, 0 0 35px #ff4da6, 0 0 40px #ff4da6;} h2 { font-size: 95px; } @media screen and (max-width:640px) { #site-title { font-size: 1.2rem; } { #h1 { font-size: 1.2rem; } } </style> Look like that you are getting some issues in mobile display, here is some of my suggestions Add to Home > Design > Custom Css @media only screen and (max-width: 767px) { /*style h1*/ section[data-section-id="615a86b97d20d35062ff5be4"] .content-wrapper .content h1 { font-size: 1.2rem; } /*style img*/ section[data-section-id="615a86b97d20d35062ff5be4"] .section-background img{ object-fit: contain !important; margin-top: 82px; } } Support me by pressing 👍 if this useful for you 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
Beyondspace Posted October 16, 2021 Share Posted October 16, 2021 My testing result 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment