frotteedimare Posted May 18, 2021 Posted May 18, 2021 Site URL: https://www.frotteedimare.ch/ Hey all! Im trying to fix/position my container on the landing page, so that the top margin of the text always stays the same. Right know i work with spacers, but when i resize the window it keeps pushing the text around. Is there any CSS to work around? Thanks for any help!
tuanphan Posted May 19, 2021 Posted May 19, 2021 Add to Design > Custom CSS /* Mobile move text top */ @media screen and (max-width:640px) { div#page-5e9f276cfe5f525c31026724 { position: relative; top: -50px; } } Also, do you need to add a space on desktop? 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!)
frotteedimare Posted May 19, 2021 Author Posted May 19, 2021 Hey tuanphan Yes, that would be very helpful. Thank you very much in advance!
tuanphan Posted May 20, 2021 Posted May 20, 2021 On 5/19/2021 at 6:18 PM, frotteedimare said: Hey tuanphan Yes, that would be very helpful. Thank you very much in advance! Add to Design > Custom CSS /* desktop banner text */ @media screen and (min-width:992px) { div#page-5e9f276cfe5f525c31026724 { position: relative; top: 50px; } } 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
Archived
This topic is now archived and is closed to further replies.