How to make a policy page full width on desktop?

Hi,

Can someone help with making our policy page full width?

On mobile its fine but computer has a lot of empty space.

Add custom CSS to your theme:

.shopify-policy__container {

max-width: 100% !important;

}

@danielehrhardt It works but also mobile and ipad changes. We want to apply it only on computer.

Hello @MaximesLife

I would like to give you some recommendations to support you:

  1. Go to Online Store->Theme->Edit code

  2. Open your theme.liquid theme file

  3. Paste below code before :


1200px is the width of the content , you can replace it with another number
The result will look like the image below:

Hope my recommendation can works and support for you!

Kind & Best regards!

GemPages Support Team

works thanks!

I am glad that my solution is helpful to you :grin: .

Hi,

Not working for me, can you please help? I am using Boost theme.

Here is the code I pasted before tag (experimenting with 1900 width) as advised:

And here is the resultant policy page:

Code change is saved, and navigation linking is fine.

Thank you.