Jump to content

Full width (shop page only)

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 10
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

19 hours ago, tuanphan said:

Try adding this to Website Tools (under Not Linked) > Custom CSS

body[class*="type-products"].view-list section#container {
    max-width: 100% !important;
}

 

Beautiful. I am in awe of your coding knowledge. I have one more question actually; I have the following code to add some spacing to my homepage: 

/* Main content padding */
div#grid {
    margin-left: 50px !important;
    margin-right: 35px !important;
    width: calc(~"100% - 70px") !important;
}

.homepage #grid .item a {
   width: 97%;
   height: 97%;
}    

Is there a way to add this spacing to another page as well, not just the home page? The second page is the same layout and grid so just need to know how to apply the above again

Link to comment
  • Solution
On 1/11/2024 at 5:36 AM, KrisMiklos said:

Beautiful. I am in awe of your coding knowledge. I have one more question actually; I have the following code to add some spacing to my homepage: 

/* Main content padding */
div#grid {
    margin-left: 50px !important;
    margin-right: 35px !important;
    width: calc(~"100% - 70px") !important;
}

.homepage #grid .item a {
   width: 97%;
   height: 97%;
}    

Is there a way to add this spacing to another page as well, not just the home page? The second page is the same layout and grid so just need to know how to apply the above again

Just remove 

.homepage

from your code

 

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.