Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
MarcMencio

Content width in Lange project pages

Question

Hi,

I would like to make the content width of my projects wider than the default settings of the Lange template. 

I introduced some CSS that changed the margins of the pages as I would like them to be, but they also altered the margins of the homepage and index which was unintended:

 #page { max-width: 100%; margin: 140px; padding: 0; }

 

Is there anyway I can target the content of the pages without targeting the content of the homepage ?

 

Any clue would be much appreciated!!!
Thanks much,

Marc
https://marcmencio.squarespace.com/

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

 

Try replacing your rule with the following:

body:not(.homepage, #collection-5d33fd2aa550120001edc34c) #page { max-width: 100%; margin: 140px; padding: 0; }

Please hit LIKE to share your appreciation of posts that are helpful or useful. 

The like button is somewhere over thereover-there.jpg

Of course, Likes don't pay the bills.. If you're looking for a Squarespace Developer you can hire me here

Share this post


Link to post
  • 0

Hey Colin, I just tried doing this as it sounds like I'm looking to achieve the same thing, and it didn't work. Any reason why? Does the "collection-5d...etc" not apply to me? What's the general code that could be broadly applied to all of these page types in one fail swoop, or what is the code that needs to be added to each page? Thank you in advance for any info.

 

On 10/9/2019 at 12:14 PM, colin.irwin said:

body:not(.homepage, #collection-5d33fd2aa550120001edc34c) #page { max-width: 100%; margin: 140px; padding: 0; }

 

Share this post


Link to post
  • 0
On 5/24/2020 at 6:53 AM, dzam said:

Hey Colin, I just tried doing this as it sounds like I'm looking to achieve the same thing, and it didn't work. Any reason why? Does the "collection-5d...etc" not apply to me? What's the general code that could be broadly applied to all of these page types in one fail swoop, or what is the code that needs to be added to each page? Thank you in advance for any info.

 

 

each page has different ID, #collect...

Can you share link to project page on your site?


You can send your question to my email to get faster answer. I provide free priority support in this crazy time. 

How to Setup Password & Share URL - Free Templates - Free Code - CSS ID List

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...