-
Hello,
I’m trying to set a custom element to allow the front page to have no constraints on the content area.
This is what I’ve done..
But it is still restricting the content area.
-
Hi there,
Not sure if I fully understand.
Do you have an existing element that’s setting the Content width already?
If so then add the Front page to the exclusion rule of that existing element instead of creating a new one.
Let me know if this helps 🙂
-
Hi Leo!
It already has a front page exclusion
-
Fernando
Hi there,
For reference, could you share the link to your Frontpage?
-
Added to private information
-
Fernando
Could you also share admin login credentials? I’ll investigate further.
-
Done.
-
Fernando
To clarify, are you trying to set the Page to full-width or change the max-width?
-
Trying to just make it so the table fits at it’s full width. Beyond that I don’t really care about the width of the page.
-
Fernando
I see. Could you set the Page to full-width from your Layout Element?
-
I have tried that. It did not work.
-
Fernando
Could you keep it at full-width? I’ll check why it isn’t working.
-
I changed it again to full width
-
Fernando
This custom code you have is causing the issue:
.no-sidebar .inside-article > *, .no-sidebar #comments, .no-sidebar .nav-links { max-width: 700px; margin-left: auto; margin-right: auto; }
Try editing it to:
body.no-sidebar:not(.home) .inside-article > *, body.no-sidebar:not(.home) #comments, body.no-sidebar:not(.home) .nav-links { max-width: 700px; margin-left: auto; margin-right: auto; }
-
Why would there be custom code, this is a fresh install of generate press…
I used the SPLIT template from the site library, does it come with custom code?
-
Fernando
I see. That’s just for design. It’s added automatically when you import the Template.
You can replace it with my recommended code if you want to amend the Homepage’s width.
- You must be logged in to reply to this topic.