- This topic has 9 replies, 4 voices, and was last updated 2 years, 11 months ago by
David.
-
AuthorPosts
-
April 3, 2023 at 8:56 am #2594900
Anant
Hi Team,
I am looking to center align the header of post page to make it more suitable with the single column view.
I tried changing the element of “Post page hero” by creating a duplicate one with changes but was unable to do so.
I have shared an example of layout what I am looking to achieve in private information along with the page where I am testing it on.
Can you please help with this?
April 3, 2023 at 9:28 am #2594940Leo
StaffCustomer SupportHi there,
Just to confirm, are you trying to replicate the exact style as shown in the example or simply trying to center this section here?
https://www.screencast.com/t/u96o8Gc3EFILet me know 🙂
April 3, 2023 at 11:44 am #2595171Anant
Centering would work fine I guess Leo.
April 3, 2023 at 5:51 pm #2595458Fernando Customer Support
Hi Anant,
Set the Container Block holding the title and other stuff to display – flex. Then, alignment settings will appear. You can choose the alignment you prefer there.
Reference: https://docs.generateblocks.com/article/layout-options-overview/#flex
April 3, 2023 at 10:36 pm #2595622Anant
Hi Fernando,
I tried it but it didn’t work. Heres’ a screenshot: https://imgur.com/os0Yziu
Also apart from heading, the other 2 containers should also be center aligned.
I have shared the login details in private info as well to look it up in case required.April 3, 2023 at 10:47 pm #2595635Fernando Customer Support
When you are done editing, can you leave the Edit page of that Block Element so we can view it? We’ll check what needs to be done.
April 4, 2023 at 12:02 am #2595717Anant
Hi Fernando, I’ve left. Please check now.
April 4, 2023 at 12:22 am #2595740Fernando Customer Support
Disable “Use legacy layout system”.
Set the width of the Container Block to
100%. It’s currently set to just 40%.Set the display to
flex. Align it center. Reference: https://docs.generateblocks.com/article/layout-options-overview/#flexApril 4, 2023 at 6:11 am #2596252Anant
Did the same but no change in results. Can you please check.
April 4, 2023 at 8:08 am #2596579David
StaffCustomer SupportHi there,
check now.
1. I duplicated the entire Container Block and deleted the original.
This reset the unique CSS Classes as currently it was conflicting with the original hero that you copied it from.2. the Parent Container
Layout > Disabled the Legacy Container
Sizing > Max Width set to600px
Spacing > Left & Right Margin set toauto -
AuthorPosts
- You must be logged in to reply to this topic.