-
JunaidRaza
I have a haro section but its width isn’t full. You can see some margin on the right side.
How to fix it?
Secondly, once I remove the sidebars on any page, it text goes full without margin and I can’t fix that anyway.
I have removed the left sidebar, just to clear the question.
-
Hi there,
lets focus on the hero first.
Edit the hero element,
And open the List view of editor:https://wordpress.org/documentation/article/list-view/
You will see there is a top level container with an inner container eg.
Container Block ---- Container Block ---- ---- other blocks inside
The first container is the full width container, set the background gradient / image on this container.
The second inner contaienr has a Sizing > Max width which keeps the content contained within in it. Remove the background gradient from this block -
JunaidRaza
Ok. It’s working now.
Now, let’s move on the second problem.
-
The page uses a full-width content container, meaning it goes full-width and removes all theme paddings.
Let me know if you want to use the full-width content container.
-
JunaidRaza
I want to add padding. It’s visually poor.
-
Based on your desing, it looks like you do not need to use full width content container.
To disable the full-width layout, check 2 places:
1.Go to appearance > elements, check if you have a layout element (mass operation), if so, exclude this page from it.
2. Edit the page, check if it’s been set to full width via the layout metabox, if so, set it to
default
. -
JunaidRaza
Got it. Thanks
-
No Problem 🙂
- You must be logged in to reply to this topic.