Jump to content

Introduction Section not Resizing on Mobile

Recommended Posts

  • Replies 7
  • Views 400
  • Created
  • Last Reply

Top Posters In This Topic

Try this on custom CSS:

@media only screen and (max-width: 799px) {

/* center aligning heading and button */
#block-34b0912c095dbf42afc0 .sqs-block-content h1 {

display:block !important;
margin-left:auto;
margin-right:auto;
text-align:center;
}
#block-yui_3_17_2_1_1622422433135_9712 .sqs-block-content a {

display:block !important;
margin-left:auto;
margin-right:auto;
}

/* adjust height of intro section */
#intro {
height:30vh;
}

}

 

Link to comment
10 hours ago, rsharnum said:

Would that be added to Design > Custom CSS?

Yes. If that doesn't work, you can try the below code as code block on the home page:

 

<style>
@media only screen and (max-width: 799px) {

/* center aligning heading and button */
#block-34b0912c095dbf42afc0 .sqs-block-content h1 {

display:block !important;
margin-left:auto;
margin-right:auto;
text-align:center;
}
#block-yui_3_17_2_1_1622422433135_9712 .sqs-block-content a {

display:block !important;
margin-left:auto;
margin-right:auto;
}

/* adjust height of intro section */
#intro {
height:30vh;
}

}
</style>

It looks like this for me:

asd.PNG.6f5d2841496a142842c133805480bdf8.PNG

Link to comment
  • 3 weeks later...
On 6/18/2021 at 9:37 PM, rsharnum said:

Thank you, that did change things, but not in the way that I'd like it to change.

I want to change the height of the banner on mobile view only, not move the text box and button. 

Hi. Do you still need help on this?

Also, I see some other problems. Need fix?

Site URL – https://www.makeupbyalessandra.com/

1. (Homepage) Reduce text width?

https://www.makeupbyalessandra.com/

lime-yellow-anbz.squarespace.com-01-min.

2. (About) Reduce text width?

https://lime-yellow-anbz.squarespace.com/about

lime-yellow-anbz.squarespace.com-02-min.

3. (Birkman) Resize button?

https://lime-yellow-anbz.squarespace.com/birkman

lime-yellow-anbz.squarespace.com-03-min.

4. (Blog) Add space between title and paragraph?

https://lime-yellow-anbz.squarespace.com/blog

lime-yellow-anbz.squarespace.com-04-min.

5. (Blog) Make time in the same line?

https://lime-yellow-anbz.squarespace.com/blog

lime-yellow-anbz.squarespace.com-05-min.

6. (Mobile) Add close icon?

lime-yellow-anbz.squarespace.com-06-min.

7. (Tablet – Homepage) Reduce text width?

https://lime-yellow-anbz.squarespace.com/

lime-yellow-anbz.squarespace.com-07-min.

8. (Tablet -Birkman) Resize Button?

https://lime-yellow-anbz.squarespace.com/birkman

lime-yellow-anbz.squarespace.com-08-min.

9. (Tablet – Contact) Add space between text: say and hello?

https://lime-yellow-anbz.squarespace.com/contact

lime-yellow-anbz.squarespace.com-09-min.

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

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.