Jump to content

Mobile Header Layout for Brine Family (The Maple Inn Template) on Version 7.0

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 5
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
Posted

You can use this to Website Tools (under Not Linked) > Custom CSS

@media screen and (max-width:767px) {
body.homepage .Parallax-item:first-child img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
}

section#mtn {
    min-height: unset !important;
    height: 160px !important;
}

section#mtn * {
    font-size: 16px !important;
}
}

 

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 7/8/2024 at 11:34 PM, edmundotai1991 said:

Would there be a way to center the grey block of code in the center of the image?

 

You can change to this new code

@media screen and (max-width: 767px) {
    body.homepage .Parallax-item:first-child img {
        width:100% !important;
        height: auto !important;
        left: 0 !important;
    }

    section#mtn {
        min-height: unset !important;
        height: 160px !important;
    }

    section#mtn * {
        font-size: 16px !important;
    }
    section#mtn .code-block {
        top: 20px;
        position: relative;
    }
    section#mtn .spacer-block {
        display: none;
    }
}

 

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

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.