ThisWayToFabulous Posted April 18, 2022 Posted April 18, 2022 Site URL: https://tmha-new-site.squarespace.com/ PASSWORD: tamara I'm having trouble forcing the text in the footer to be much smaller on mobile. Here's what I used, what am i doing wrong? /* MOBILE Footer */ @media screen and (max-width: 767px) { #block-yui_3_17_2_1_1643035101636_6848 p3 { font-size: 7px !important; letter-spacing: 0em; line-height: 1.2em; }}
Beyondspace Posted April 18, 2022 Posted April 18, 2022 48 minutes ago, ThisWayToFabulous said: Site URL: https://tmha-new-site.squarespace.com/ PASSWORD: tamara I'm having trouble forcing the text in the footer to be much smaller on mobile. Here's what I used, what am i doing wrong? /* MOBILE Footer */ @media screen and (max-width: 767px) { #block-yui_3_17_2_1_1643035101636_6848 p3 { font-size: 7px !important; letter-spacing: 0em; line-height: 1.2em; }} Try @media only screen and (max-width: 767px) { #block-yui_3_17_2_1_1643035101636_6848 span { font-size: 15px !important; } } Let me know how it works on your site BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
ThisWayToFabulous Posted April 18, 2022 Author Posted April 18, 2022 Yes it worked for size but i cant seem to update the line height? also i tried to duplicate it for the other line of text and its not doing the whole thing? Quote /* MOBILE Footer */ @media only screen and (max-width: 767px) { #block-yui_3_17_2_1_1643035101636_6848 span { font-size: 10px !important; line-height: .5em !important; } } @media only screen and (max-width: 767px) { #block-227b2582479aa1d0375d span { font-size: 10px !important; line-height: .5em !important; } }
tuanphan Posted April 19, 2022 Posted April 19, 2022 19 hours ago, ThisWayToFabulous said: Yes it worked for size but i cant seem to update the line height? also i tried to duplicate it for the other line of text and its not doing the whole thing? Use this new code to adjust line height @media only screen and (max-width: 767px) { #block-yui_3_17_2_1_1643035101636_6848 span { font-size:10px !important; } #block-yui_3_17_2_1_1643035101636_6848 p { line-height: 0.5em !important; } } 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!)
ThisWayToFabulous Posted April 20, 2022 Author Posted April 20, 2022 @tuanphan THANK YOU! Quick question tho... I duplicated it for the other block too (customized website by...) but for some reason its only applying to half of it? See screenshot! /* MOBILE Footer */ @media only screen and (max-width: 767px) { #block-yui_3_17_2_1_1643035101636_6848 span { font-size:10px !important; } #block-yui_3_17_2_1_1643035101636_6848 p { line-height: 0.5em !important; } } @media only screen and (max-width: 767px) { #block-227b2582479aa1d0375d span { font-size:10px !important; } #block-227b2582479aa1d0375d p { line-height: 0.5em !important; } }
tuanphan Posted April 23, 2022 Posted April 23, 2022 On 4/20/2022 at 9:18 PM, ThisWayToFabulous said: @tuanphan THANK YOU! Quick question tho... I duplicated it for the other block too (customized website by...) but for some reason its only applying to half of it? See screenshot! /* MOBILE Footer */ @media only screen and (max-width: 767px) { #block-yui_3_17_2_1_1643035101636_6848 span { font-size:10px !important; } #block-yui_3_17_2_1_1643035101636_6848 p { line-height: 0.5em !important; } } @media only screen and (max-width: 767px) { #block-227b2582479aa1d0375d span { font-size:10px !important; } #block-227b2582479aa1d0375d p { line-height: 0.5em !important; } } You want add a space between black - pink text? /* Footer black pink text */ @media screen and (max-width:767px) { div#block-227b2582479aa1d0375d p a { margin-top: 20px; } } 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!)
ThisWayToFabulous Posted April 28, 2022 Author Posted April 28, 2022 @tuanphan NO, I want the "CUSTOMIZED WEBSITE DESIGN BY" line and the "THIS WAY TO FABULOUS INC" line to be the same size ( the size of this way tofabulous)
tuanphan Posted May 1, 2022 Posted May 1, 2022 On 4/29/2022 at 3:24 AM, ThisWayToFabulous said: @tuanphan NO, I want the "CUSTOMIZED WEBSITE DESIGN BY" line and the "THIS WAY TO FABULOUS INC" line to be the same size ( the size of this way tofabulous) Edit this code @media only screen and (max-width: 767px) { #block-227b2582479aa1d0375d span { font-size:10px !important } #block-227b2582479aa1d0375d p { line-height: .5em !important } } to this @media only screen and (max-width: 767px) { #block-227b2582479aa1d0375d * { font-size:10px !important; display: block !important;} #block-227b2582479aa1d0375d p { line-height: 2em !important; } } 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