MeagenH Posted September 18, 2019 Posted September 18, 2019 I'm using the Tremont template and have managed to get the logo and social icons centered with some CSS however, if you view the site on a larger monitor (24"+) the logo and social icons are no longer centered. Any ideas how to make it consistent over multiple screen sizes? View the site demo here - https://rumemockup.squarespace.com/home PASSWORD: RUME Thank you!
tuanphan Posted September 19, 2019 Posted September 19, 2019 @meagen try removing these code .site-branding h1 img { position: absolute; left: 36% } @media screen and (max-width: 640px) { .site-branding h1 img { position:absolute; left: 23%; margin-top: 50px } } .tweak-nav-style-standard.tweak-display-social-icons.tweak-social-icons-on-right:not(.move-social) .header-social-icons-right { position: absolute; left: 29%; margin-top: -80px !important } @media screen and (max-width: 640px) { .tweak-nav-style-standard.tweak-display-social-icons.tweak-social-icons-on-right:not(.move-social) .header-social-icons-right { position:absolute; left: 17% !important; margin-top: -20px !important } } @media screen and (max-width: 1920px) { .header-social-icons-with-nav .sqs-template-social-icons,.header-social-icons-right .sqs-template-social-icons { margin-left:-100px } } and add this code to Home > Design > Custom CSS /* Move social icon top, logo bottom */ header#siteHeader { display: flex; flex-direction: column-reverse; } /* Center Social Icons */ .header-social-icons-right { margin-left: unset !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!)
MeagenH Posted September 19, 2019 Author Posted September 19, 2019 @tuanphan thank you so much, worked perfectly!
MeagenH Posted September 19, 2019 Author Posted September 19, 2019 @tuanphan thank you so much, worked perfectly!
MeagenH Posted September 19, 2019 Author Posted September 19, 2019 @tuanphan I spoke too soon! Noticing the social icons aren't appearing on mobile. Any solution? Thanks for the help!
MeagenH Posted September 19, 2019 Author Posted September 19, 2019 @tuanphan I spoke too soon! Noticing the social icons aren't appearing on mobile. Any solution? Thanks for the help!
tuanphan Posted September 20, 2019 Posted September 20, 2019 @meagen edit last code to .header-social-icons-right { margin-left: unset !important; visibility: visible !important; right: unset !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!)
MeagenH Posted September 22, 2019 Author Posted September 22, 2019 @tuanphan Hmm, noticing on a larger screen the logo is still being iffy and not centering. See example here https://imgur.com/a/JQ1jxtF Is it possible for this to work on a large screen resolution? Thanks in advance! :)
JakeMagnus Posted December 18, 2019 Posted December 18, 2019 Hi @tuanphan I seem to be having the exact same problem. Did you ever happen to find a solution for the centered logo being ever so slightly off center? Please see attached image which shows the centre line (blue) and the logo ever slightly off-center. Please help!
tuanphan Posted December 18, 2019 Posted December 18, 2019 2 hours ago, JakeMagnus said: Hi @tuanphan I seem to be having the exact same problem. Did you ever happen to find a solution for the centered logo being ever so slightly off center? Please see attached image which shows the centre line (blue) and the logo ever slightly off-center. Please help! Please share site url to check. 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!)
JakeMagnus Posted December 19, 2019 Posted December 19, 2019 Thanks @tuanphan, the site is https://capybera-tangerine-g3d5.squarespace.com/en/projects. (pw: STUCHBURY13) Also wondering if you know anything about adding a language switcher button? I have created all the necessary multilingual pages and they are working properly ie spanish pages have the spanish navigation bar and vice versa with english but just can't seem to create the button to toggle between them.
JakeMagnus Posted December 19, 2019 Posted December 19, 2019 Hi @tuanphan I actually managed to get the language switcher to appear and ALMOST working. The english button works perfectly but when I click "Spanish" It takes me to the spanish version but the home index page won't load.
JakeMagnus Posted December 19, 2019 Posted December 19, 2019 Hi again, @tuanphan really sorry to keep bothering you! I got the language switcher working great but just wondering if you could check why the logo isn't quite centered
tuanphan Posted December 19, 2019 Posted December 19, 2019 2 hours ago, JakeMagnus said: Hi again, @tuanphan really sorry to keep bothering you! I got the language switcher working great but just wondering if you could check why the logo isn't quite centered Your site is private. Please setup password & share url again. See my signature if you dont know how to. 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!)
JakeMagnus Posted December 19, 2019 Posted December 19, 2019 5 minutes ago, tuanphan said: Your site is private. Please setup password & share url again. See my signature if you dont know how to. Hi, thanks it should be good to go now. https://capybera-tangerine-g3d5.squarespace.com/config/pages PW: qwerty
Recommended Posts
Archived
This topic is now archived and is closed to further replies.