Guest Posted July 10, 2022 Share Posted July 10, 2022 (edited) How do I align the text to be over the photo? On the preview version its exactly how I want it but on the actual website text is extended across the page. Please find attached the screenshots of comparison. I am currently using a photo with a text block underneath and the following code to move the text onto the photo: #block-yui_3_17_2_1_1657493916918_3930, #block-yui_3_17_2_1_1657474776502_3397 h1 { position: absolute; z-index: 9; top: 90px; left: -30px; } Edited July 12, 2022 by TLCDeisgn Link to comment
tuanphan Posted July 11, 2022 Share Posted July 11, 2022 Veronica Password is incorrect 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
Guest Posted July 11, 2022 Share Posted July 11, 2022 (edited) On 7/11/2022 at 9:31 AM, tuanphan said: Veronica Password is incorrect Sorry its all lowercase Password is: veronica Edited July 12, 2022 by TLCDeisgn Link to comment
tuanphan Posted July 12, 2022 Share Posted July 12, 2022 Try this new code #block-yui_3_17_2_1_1657493916918_3930, #block-yui_3_17_2_1_1657474776502_3397 h1 { position: absolute; z-index: 9; top: 90px; left: -30px; left: 50%; transform: translateX(-50%); } 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
Guest Posted July 12, 2022 Share Posted July 12, 2022 10 hours ago, tuanphan said: Try this new code #block-yui_3_17_2_1_1657493916918_3930, #block-yui_3_17_2_1_1657474776502_3397 h1 { position: absolute; z-index: 9; top: 90px; left: -30px; left: 50%; transform: translateX(-50%); } it worked!! thank you 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