Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Custom Cover Page - Fitting to Screen


Question

Site URL: https://disc-strawberry-4nlb.squarespace.com

Hi all, 

I have made a custom cover page/landing page by inserting code block directly to the page to remove header/footer.

( <style>
.header, #footer-sections {
  display: none !important
}
</style> )

HOWEVER, now when I view the cover page, the background image, text, and logo do not FIT/RESIZE TO SCREEN. Instead, I have to scroll down to view the whole page (see screenshot below). How do I fix this?

LINK: https://disc-strawberry-4nlb.squarespace.com
PASSWORD: gallery


THANK YOU!!

Screen Shot 2021-05-28 at 1.09.59 AM.png

Link to comment

4 answers to this question

Recommended Posts

  • 0

Add to Covert Page Header

<style>
  section {
    height: 100vh !important;
    overflow: hidden;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0
9 hours ago, tuanphan said:

Add to Covert Page Header


<style>
  section {
    height: 100vh !important;
    overflow: hidden;
}
</style>

 

Thank you!! I added it and it worked as desired! However, now my logo/image is being cut off at the top..

When I am on my imac/large screen, it is not cut off (although the logo is now quite small and off center..) - (Screenshot #1 below) 
But when I am on my laptop, it is cut off (Screenshot #2 Below) 

Any thoughts on how to not have the logo cut off on some screens? Ideally I would love to learn a code that would allow me to tweak the size and placement on ALL screens - and have it look consistent across the board (large, centered logo but not cut off at top). Not sure if this is possible as different screens have different resolutions. Thank you so much @tuanphan🙂

Screenshot1.png

Screenshot2.png

Link to comment
  • 0

Hi. Do you still need help on this?

In case yes, can you share link to cover page?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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...