tinyinternetcompany Posted March 7 Share Posted March 7 (edited) I'm messing around with the Wexley template for a client and can't for the life of me figure out how to justify text and images differently on desktop view in the footer. I have it justified right and it works in on mobile, but on desktop it stubbornly stays on the left. Any simple custom CSS to fix this? https://www.characterdriven.work/corporate-portraiture On mobile it works: Edited March 7 by tinyinternetcompany moved some things around ❤️ tiny internet company Link to comment
Ziggy Posted March 7 Share Posted March 7 I would justify the elements on desktop using the available tools, and then use CSS to adjust just the mobile view. Are you simply wanting the text to be center aligned on desktop? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
tinyinternetcompany Posted March 9 Author Share Posted March 9 (edited) Oops I had some custom CSS in there preventing the text from justifying right. Now I just need the picture of the logos at the very bottom to justify right. Any ideas? The custom CSS was this: @media screen and (min-width:800px) { header#header { display: flex; } div#logo, section#page p { text-align: left !important; } div#topNav { text-align: right !important; } } .form-wrapper { background:#f2f2f2; padding:5px; border-style:solid; border-width:1px; border-color:#7B666A; } #topNav nav .folder .subnav { background: hsl(220, 4%, 100%) !important; } .form-wrapper { padding: 50px; background-color: #fefefe; border: 1px solid #bababa; border-radius: 0; } .button.sqs-system-button.sqs-editable-button{background:#026873;} And I changed it to this (I simply deleted the p tag after section#page in the first line. @media screen and (min-width:800px) { header#header { display: flex; } div#logo, section#page { text-align: left !important; } div#topNav { text-align: right !important; } } .form-wrapper { background:#f2f2f2; padding:5px; border-style:solid; border-width:1px; border-color:#7B666A; } #topNav nav .folder .subnav { background: hsl(220, 4%, 100%) !important; } .form-wrapper { padding: 50px; background-color: #fefefe; border: 1px solid #bababa; border-radius: 0; } .button.sqs-system-button.sqs-editable-button{background:#026873;} Thanks! Edited March 9 by tinyinternetcompany ❤️ tiny internet company Link to comment
Ziggy Posted March 9 Share Posted March 9 Try this: @media only screen and (min-width:768px) { #block-yui_3_17_2_1_1666942614856_4137 { .sqs-block-image .image-block-outer-wrapper:not(.image-block-v2) .intrinsic { margin-right: 0 !important; } } } (Just targeting desktop) tuanphan 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
tinyinternetcompany Posted April 3 Author Share Posted April 3 Hmmm doesn't seem to work. ❤️ tiny internet company Link to comment
tuanphan Posted April 6 Share Posted April 6 Don't remove any code in your current code. Add this to Design > Custom CSS /* align right footer images */ div#block-yui_3_17_2_1_1666942614856_4137 figure { margin-right: 0 !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