Jump to content

Logo on Cover Page

Recommended Posts

Posted (edited)

Hi! I am using the York template on Version 7.0 ! I really want to add my logo (Lolipop graphic) to the box on my cover page like the screenshot attached, just a quick mockup I made using Wix.

I attached my current Squarespace page and how I cannot use both the text and logo. Would I be able to achieve this with code?

Thanks so much!

 

Screenshot at Oct 19 12-36-53.png

Screenshot at Oct 24 08-26-58.png

509cbcc5-ff86-4670-b60b-958586083cd6.jpeg

Edited by bonipops
Giving thanks :)
  • Replies 19
  • Views 2k
  • Created
  • Last Reply

Top Posters In This Topic

Posted
On 10/24/2022 at 7:51 PM, bonipops said:

Hi! I am using the York template on Version 7.0 ! I really want to add my logo (Lolipop graphic) to the box on my cover page like the screenshot attached, just a quick mockup I made using Wix.

I attached my current Squarespace page and how I cannot use both the text and logo. Would I be able to achieve this with code?

Thanks so much!

 

Screenshot at Oct 19 12-36-53.png

Screenshot at Oct 24 08-26-58.png

509cbcc5-ff86-4670-b60b-958586083cd6.jpeg

What is your protected password so I can take a look?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted
On 10/26/2022 at 2:50 AM, bonipops said:

Hello! It is "ILLU450" !

Add to Cover Page Header. Replace Pixabay with your logo image url

<style>
  .sqs-slide-wrapper[data-slide-type="cover-page"] div.sqs-slide[data-slide-type="cover-page"] .sqs-slide-layer:not(.scroll) .align-content-center-vert:not(.scroll) .align-center-vert:before {
    background-image: url(https://cdn.pixabay.com/photo/2022/08/18/10/41/herring-gull-7394570__480.jpg);
    content: "";
    display: block;
    width: 70px;
    height: 70px;
    background-position: center;
    margin: 0 auto;
    margin-bottom: 10px;
    background-size: cover;
    background-repeat: no-repeat;
}
</style>

image.thumb.png.2f8033bca29743deef1081eea0b3e3c1.png

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!)

  • 2 weeks later...
Posted
On 10/27/2022 at 9:47 AM, tuanphan said:

Add to Cover Page Header. Replace Pixabay with your logo image url

<style>
  .sqs-slide-wrapper[data-slide-type="cover-page"] div.sqs-slide[data-slide-type="cover-page"] .sqs-slide-layer:not(.scroll) .align-content-center-vert:not(.scroll) .align-center-vert:before {
    background-image: url(https://cdn.pixabay.com/photo/2022/08/18/10/41/herring-gull-7394570__480.jpg);
    content: "";
    display: block;
    width: 70px;
    height: 70px;
    background-position: center;
    margin: 0 auto;
    margin-bottom: 10px;
    background-size: cover;
    background-repeat: no-repeat;
}
</style>

image.thumb.png.2f8033bca29743deef1081eea0b3e3c1.png

Hello!! This is awesome! Is there anyway I can get it partially off like in the mockup image I posted in the original post?

  • 3 weeks later...
Posted

https://bonipops.com/welcome

Use this new code

<style>
   .sqs-slide-wrapper[data-slide-type="cover-page"] div.sqs-slide[data-slide-type="cover-page"] .sqs-slide-layer:not(.scroll) .align-content-center-vert:not(.scroll) .align-center-vert:before {
    background-image: url(https://cdn.pixabay.com/photo/2022/08/18/10/41/herring-gull-7394570__480.jpg);
    content: "";
    display: block;
    width: 70px;
    height: 70px;
    background-position: center;
    margin: 0 auto;
    margin-bottom: 10px;
    background-size: cover;
    background-repeat: no-repeat;
     position: absolute;
     top: -35px;
     left: 50%;
     transform: translateX(-50%);
}
 .sqs-slide-wrapper[data-slide-type="cover-page"] div.sqs-slide[data-slide-type="cover-page"] .sqs-slide-layer:not(.scroll) .align-content-center-vert:not(.scroll) .align-center-vert {
     position: relative !important;
 }
</style>

image.thumb.png.ebb493a01e077aee18a3eb7973126542.png

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!)

  • 2 months later...
Posted
On 12/4/2022 at 3:52 AM, tuanphan said:

https://bonipops.com/welcome

Use this new code

<style>
   .sqs-slide-wrapper[data-slide-type="cover-page"] div.sqs-slide[data-slide-type="cover-page"] .sqs-slide-layer:not(.scroll) .align-content-center-vert:not(.scroll) .align-center-vert:before {
    background-image: url(https://cdn.pixabay.com/photo/2022/08/18/10/41/herring-gull-7394570__480.jpg);
    content: "";
    display: block;
    width: 70px;
    height: 70px;
    background-position: center;
    margin: 0 auto;
    margin-bottom: 10px;
    background-size: cover;
    background-repeat: no-repeat;
     position: absolute;
     top: -35px;
     left: 50%;
     transform: translateX(-50%);
}
 .sqs-slide-wrapper[data-slide-type="cover-page"] div.sqs-slide[data-slide-type="cover-page"] .sqs-slide-layer:not(.scroll) .align-content-center-vert:not(.scroll) .align-center-vert {
     position: relative !important;
 }
</style>

image.thumb.png.ebb493a01e077aee18a3eb7973126542.png

Hi Again!! Thank you for this, so if you take a look at my website you can see I have it on there. However, I notice it does not attach to the white box on the cover page, so it differs from computer to computer screen. How can I fix this? 

image.png

Posted
On 2/14/2023 at 12:17 AM, bonipops said:

Hi Again!! Thank you for this, so if you take a look at my website you can see I have it on there. However, I notice it does not attach to the white box on the cover page, so it differs from computer to computer screen. How can I fix this? 

image.png

Don't remove any code in current code

Add this to COver Page Header

<style>
  .sqs-slide-wrapper[data-slide-type="cover-page"] div.sqs-slide[data-slide-type="cover-page"] .sqs-slide-layer:not(.scroll) .align-content-center-vert:not(.scroll) .align-center-vert {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
.sqs-slide-wrapper[data-slide-type="cover-page"] div.sqs-slide[data-slide-type="cover-page"] .sqs-slide-layer:not(.scroll) .align-content-center-vert:not(.scroll) .align-center-vert:before {
    top: -50px !important;
}
</style>

 

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!)

Posted (edited)
On 2/15/2023 at 8:57 PM, tuanphan said:

Don't remove any code in current code

Add this to COver Page Header

<style>
  .sqs-slide-wrapper[data-slide-type="cover-page"] div.sqs-slide[data-slide-type="cover-page"] .sqs-slide-layer:not(.scroll) .align-content-center-vert:not(.scroll) .align-center-vert {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
.sqs-slide-wrapper[data-slide-type="cover-page"] div.sqs-slide[data-slide-type="cover-page"] .sqs-slide-layer:not(.scroll) .align-content-center-vert:not(.scroll) .align-center-vert:before {
    top: -50px !important;
}
</style>

 

Amazing! One last thing seems like when I add the new code it brings up the whole box and doesn't center it like it was before.

The first picture is before, the second is after.image.thumb.png.1013daec133ad0154308d025a93ac866.pngimage.thumb.png.9dba1303f16d4236da0b30f285906ebf.png

Edited by bonipops
Posted
On 2/18/2023 at 10:08 AM, bonipops said:

Amazing! One last thing seems like when I add the new code it brings up the whole box and doesn't center it like it was before.

The first picture is before, the second is after.image.thumb.png.1013daec133ad0154308d025a93ac866.pngimage.thumb.png.9dba1303f16d4236da0b30f285906ebf.png

Find & remove this line from Cover Page Header

image.png.afaf0c1004d97081c187c30261191a39.png

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!)

Posted
On 2/21/2023 at 5:03 AM, tuanphan said:

Find & remove this line from Cover Page Header

image.png.afaf0c1004d97081c187c30261191a39.png

Seems like that did not work! I would the whole box centered since it is too far up now 

image.thumb.png.c7fb188a09963099479839f7fe36590d.png

Posted

Try adding this to last line in Cover Page Header

<style>
  .sqs-slide-wrapper[data-slide-type="cover-page"] div.sqs-slide[data-slide-type="cover-page"] .sqs-slide-layer:not(.scroll) .align-content-center-vert:not(.scroll) .align-center-vert {
    position: fixed !important;
}
</style>

 

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!)

Posted
On 3/5/2023 at 8:13 PM, tuanphan said:

Try adding this to last line in Cover Page Header

<style>
  .sqs-slide-wrapper[data-slide-type="cover-page"] div.sqs-slide[data-slide-type="cover-page"] .sqs-slide-layer:not(.scroll) .align-content-center-vert:not(.scroll) .align-center-vert {
    position: fixed !important;
}
</style>

 

I do not think that worked either ):!

Posted
15 hours ago, tuanphan said:

Can you duplicate the site & add me as an admin? I can test code easier

Yes! What email should I sent the invite to?

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.