amandaabbott Posted August 19 Share Posted August 19 (edited) Hello! I'm trying to figure out how to get this large H1 to be flush against the top of the text box and section. I have tried multiple css options that seem to be focusing on getting the block itself to the top of the section, and not the actual text in the block. I'm sure this is something to do with the line height, but I am not sure what the solution would be. Any help is appreciated! https://abigailjames.squarespace.com It currently looks like this: But it needs to looks like this: Edited August 19 by amandaabbott Link to comment
creedon Posted August 19 Share Posted August 19 Site-wide password? Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
amandaabbott Posted August 20 Author Share Posted August 20 @creedon it's abigailjames Link to comment
Solution creedon Posted August 20 Solution Share Posted August 20 This isn't a solution but one possible starting point. /* nudge text blocks up */ #block-06adc4d7bf862e37a580, #block-e813dfb08df4fee63ce1, #block-992e00ad0c50659a08bc { margin-top : -0.5em; } Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
amandaabbott Posted August 20 Author Share Posted August 20 Ah that actually did work pretty well! I was wanting it for the "work with me" text, so I just changed the block-id and it seemed to do the trick. It does seem to move depending on the screen size though, so I think I'll need to add some workaround there. Thank you so much 🙂 creedon 1 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