scholarsayze Posted March 18, 2021 Share Posted March 18, 2021 Site URL: https://bluebird-porcupine-yzdg.squarespace.com/home Hello, I am trying to organise my image in such a way so I can have a button positioned on top. I have done this by setting my image as a background, so I can add a button block on top. I have also used some code to tweak the position of where my image sits on the page. Here is the code: /* INSET LEVELS ON 1ST HEADER SECTION */ [data-section-id="6034c2b9d8e50b04d5651ea4"] { .section-background { top: 5vw!important; right: 3vw!important; bottom: 5vw!important; left: 21vw!important; } } Unfortunately, now my button no longer looks like it is in the middle of the 'image' rather it is naturally in the middle of the 'page' still, please see attached. How can I move the button (and above green image) so it sits more in the middle of the main image? I'm not sure if there is a better way to do this - I tried to add a spacer left (next to my nav links), and the image to the right of the spacer (so the spacer could push the image into position), but I can't figure how to add my green image and button on top of an image block. Please help! Page = https://bluebird-porcupine-yzdg.squarespace.com/home Pword = bluebird (may not need pword as site is live) Many thanks! Link to comment
tuanphan Posted March 22, 2021 Share Posted March 22, 2021 Hi. Do you still need help on this? 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!) Link to comment
scholarsayze Posted March 24, 2021 Author Share Posted March 24, 2021 Yes please Tuanphan, I'm still not sure how to fix this. It currently looks a little odd!! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.