michaelgsloane Posted January 25, 2022 Posted January 25, 2022 Hi, I am trying to position a graphic of a half logo to the edge of a web page within a section on a squarespace site. Does anyone know how to position and size it, and keep it in the same position and scale on various screen sizes? I have attached a screenshot of the design. Any help would be appreciated. Thanks Michael
SquareRefresh Posted January 25, 2022 Posted January 25, 2022 Hey, would be good to get Your site link so we can check it. michaelgsloane 1 SquareRefresh, premium plugins & templates that have an elevated feel. Plugins: Have your site stand out. Templates: Our templates are designed with versatility in mind.Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins.
michaelgsloane Posted January 25, 2022 Author Posted January 25, 2022 Here is the site link https://teal-cheetah-5n6a.squarespace.com/
tuanphan Posted January 26, 2022 Posted January 26, 2022 20 hours ago, michaelgsloane said: Here is the site link https://teal-cheetah-5n6a.squarespace.com/ Add to Design > Custom CSS @media screen and (min-width:992px) { [data-section-id="61ab54b9347aed563af7ce1c"]:after { content: ""; background-image: url(https://cdn.pixabay.com/photo/2021/10/09/05/33/cosmos-6693008__480.jpg); width: 100px; height: 350px; position: absolute; right: 0; }} michaelgsloane 1 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!)
michaelgsloane Posted January 26, 2022 Author Posted January 26, 2022 4 hours ago, tuanphan said: Add to Design > Custom CSS @media screen and (min-width:992px) { [data-section-id="61ab54b9347aed563af7ce1c"]:after { content: ""; background-image: url(https://cdn.pixabay.com/photo/2021/10/09/05/33/cosmos-6693008__480.jpg); width: 100px; height: 350px; position: absolute; right: 0; }} Thanks for that. But it still isn't working for me. See screenshot attached. I see that in the code you have a url background image. How do I swap that with the half symbol? Thanks Michael
tuanphan Posted January 27, 2022 Posted January 27, 2022 23 hours ago, michaelgsloane said: You can replace it with symbol image url 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!)
michaelgsloane Posted January 27, 2022 Author Posted January 27, 2022 8 minutes ago, tuanphan said: You can replace it with symbol image url Thanks, but that is still not working. The symbol has disappeared. Maybe I put the code in wrong? Attached is a screenshot of the custom css. Thanks again I appreciate the help
tuanphan Posted January 28, 2022 Posted January 28, 2022 Try pasting image url on browser address bar, to see if the image file exist or not. 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!)
michaelgsloane Posted January 28, 2022 Author Posted January 28, 2022 28 minutes ago, tuanphan said: Try pasting image url on browser address bar, to see if the image file exist or not. Yeah it appears when I paste the url into the browser. So it exists.
tuanphan Posted January 29, 2022 Posted January 29, 2022 On 1/28/2022 at 4:08 PM, michaelgsloane said: Yeah it appears when I paste the url into the browser. So it exists. Try remove left space inside image 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!)
michaelgsloane Posted January 31, 2022 Author Posted January 31, 2022 On 1/29/2022 at 11:02 PM, tuanphan said: Try remove left space inside image That didn't change anything.
tuanphan Posted February 4, 2022 Posted February 4, 2022 On 1/31/2022 at 10:34 PM, michaelgsloane said: That didn't change anything. then change your code to this @media screen and (min-width: 992px) { [data-section-id="61ab54b9347aed563af7ce1c"]:after { content:""; background-image: url(https://static1.squarespace.com/static/61ab4911428d796084f9a2fc/t/61f7ffc196c7247e6b8c731f/1643642817112/Icon_Half-08.png); width: 100px; height: 100%; position: absolute; right: 0; background-size: cover; } } 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