Jump to content

Aligning text to logo

Recommended Posts

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Remove, make a copy somewhere, any previous attempts at manipulating that text block.

@media only screen and ( pointer : coarse) and ( mmin-width : 1025px ),
screen and ( min-width : 800px )

    #block-6a5984dad3cbc96af63c {
      left : 0;
      padding-left : 4vw;
      position : fixed;

This is for v7.1 and specific to the posters need.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment

Super! Now I'm trying to figure out how to keep that block a bit higher up on the page, somewhere closer to halfway down the image. Thanks! 

EDIT: I experimented a bit and adding these two lines seems to work, not sure if there's a cleaner way...
      top: 0;
      padding-top: 9%;

EDIT 2: It seems to have applied to mobile too even though it seems the screen width is specified in your code... would prefer it doesn't apply to mobile -- thank you!

EDIT 3: Whooops I just noticed the text is now scrolling down the page and overlaying over other images... see attached screenshot

Screen Shot 2022-06-08 at 10.43.24 AM.png

Edited by camfont
Link to comment

@creedon 's solution is certainly valid, but personally, I'd go a different route.

Trying to position via fixed or absolute is problematic because fixed is always on screen and sqsp uses a lot of relative elements which make it hard to use absolute. It's better to adjust the parent element to the header's specs. (Speaking of which, this whole alignment thing isn't a problem if you set the header to not go wider than the rest of the page. )

Here's what I'd do:

div#page-section-623a002cd58eb62b7dfa1775 {
    min-width: 92vw!important;
    margin-left: calc(~"50% - 46vw");

As long as your headlines are left justified, it should work and you won't have it popup elsewhere on the page.

Link to comment

@DV2 That seems to work! I did have to add negative margin b/c it was too far down @creedon I tried your solution but there's too much margin on the left, it doesn't align like in your examples... 

Thanks all – until I break it again!!!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.