Jump to content

Fixing design layout on home page

Recommended Posts

  • Replies 4
  • Views 538
  • Created
  • Last Reply

Top Posters In This Topic

It looks like you fixed black?

To make image smaller, add this to Design > Custom CSS > then save & reload the site

/* Mobile-Home-Image size */
@media screen and (max-width:767px) {
.gallery-masonry {
    padding-left: 5vw !important;
    padding-right: 5vw !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!)

Link to comment

@tuanphan

the first screenshot is the mobile version and the second screenshot is the computer version. i am sorry for the confusion. I would like to make the computer version of the picture smaller. and for some reason there is that black line on the mobile version that i do not know how to take off so if you could help me with those two things i would appreciate it 

Link to comment
On 3/28/2022 at 8:54 AM, adamcleod said:

@tuanphan

the first screenshot is the mobile version and the second screenshot is the computer version. i am sorry for the confusion. I would like to make the computer version of the picture smaller. and for some reason there is that black line on the mobile version that i do not know how to take off so if you could help me with those two things i would appreciate it 

Use this new code

/*Desktop-Home-Image size */
@media screen and (min-width:768px) {
.gallery-masonry {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
}
}
@media screen and (max-width:767px) {
body.homepage .gallery-strips.gallery-strips--layout-strips {
    min-height: 50vh;
}
}

 

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.