Site logo

Archived topic

How to change container width for specific page

2 replies · Started by Johanna on June 1, 2019

Viewing posts 1–3 of 3

Hi I want to change the width for a single page.

I tried using:

body.page-id-2911 .grid-container {
max-width: 650px!important;
}

but this also changes the menu width

Use the elements in Appearance>GeneratePress>Elements. Just select "add new" element, select layout element, then under the content box tab, set the content width to 650px. On Display tab, select "page" under location and from the drop-down list that appears on the right, select the page you want to target then save the hook (after giving it a title). Check the page and see if the changes have taken effect.

This archived topic is closed to new replies.