Jump to content

Matt_Lifelancs

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Matt_Lifelancs

  1. Hey people,

     

    I am using Code Injection to keep my page background image fixed while the sections move over the top. It is working great on desktop view, but doesn't seem to work on mobile view. Would anyone be able to let me know what I am missing with this... (p.s. I'm not super knowledged with coding. This website was made through self teaching mostly via youtube and Chatgpt. haha)

    <style>
      .header, #footer-sections{
        display:none !important;}
    
    #page{
    background-image:url(https://images.squarespace-cdn.com/content/6486db2ea9f57144972f519e/ddab9b56-c024-4210-a0f7-8882c5aafb48/Rise+Up+Background.jpeg?content-type=image%2Fjpeg);
    background-size: 100%;
      background-attachment:fixed !important;
    }
    
    /* Make the page section backgrounds transparent */
    #page .page-section {
    background: transparent!important
    }
    #page .page-section .section-background {
    background: transparent !important;
    }
    
    
    .section-border{opacity:0!important}
      
    </style>

     Any help would be super appreciated.

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