Site logo

Archived topic

Arctic Theme - Elements Layout Width

7 replies · Started by Math on July 1, 2021

Viewing posts 1–8 of 8

Hi,

When I apply a width to a specific page (i.e. 1200px) in the elements module, nothing happens. Is something overriding it?

I disabled other plugins and also checked elements to see if there's anything else overriding it and couldn't find any.

https://explorer.agency/likes

Hi there,

The content width option in layout can only make the container smaller and not bigger - to be honest I'm not sure why and will bring this to an internal discussion.

Two options for now:

1. You can use CSS to target specific pages:

body.page-id-xxx .site.grid-container {
    max-width: 1200px;
}

2. Set the global container width in the customizer to 1200px and use the layout element to make everything else smaller.

Let me know if this helps :)

Hi Leo,

Didn't realize that. Since it's only for one page, I'll go with option 1. However, it doesn't seem to be working for me.

body.page-id-6946 .site.grid-container {
    max-width: 1200px;
}

Can you link me to the page in question?

The page you've linked in the original topic has a different ID.

Hi there,

This page doesn't have an ID. It's not a static page, but rather the blog index page.

For this page, you can try this CSS:

body.blog .site.grid-container {
    max-width: 1200px;
}

That worked. Thank you.

No problem. :D

This archived topic is closed to new replies.