- This topic has 11 replies, 2 voices, and was last updated 4 years, 3 months ago by
Leo.
-
AuthorPosts
-
February 13, 2019 at 10:59 pm #809925
JB
What setting will cause the contained page section to center like the header or footer? I am talking here about the home page, a page named mypage. I have been fighting this trying to get the sections on the home page to line up and I just have something set wrong.
February 13, 2019 at 11:11 pm #809933Leo
StaffCustomer SupportHi there,
It should be centered by default.
It’s not centered because this CSS from SO-CSS:
.grid-container.grid-parent.generate-sections-container { float: none; margin-right: 40px; margin-bottom: 20px; margin-left: 40px; text-align: center; vertical-align: middle; padding: 10px 0px 40px 15px; /* margin: 10px 0px 10px 10%; */ }
February 13, 2019 at 11:21 pm #809936JB
Ok, thanks. This is left over from something I must have been doing at some point before. Thanks a bunch…..very stupid.
February 13, 2019 at 11:27 pm #809939JB
Why do the sidebars not show on the front page? (mypage)
February 14, 2019 at 9:22 am #810561Leo
StaffCustomer SupportI can see sidebar on home page 🙂
Have you fixed this?
February 14, 2019 at 9:42 am #810577JB
I got the following reply after I found a snippet to fix it.
This is me: add_filter( ‘generate_sections_sidebars’,’__return_true’ );
I mean, really, Generatepress. Fix this.
February 14, 2019 at 5:20 am #810181
David
Customer Support
Hi there,glad to hear you found the solution and apologies it caused some frustration.
Sections was designed as a very basic pagebuilder more for landing pages so it was built with Sidebars disabled. It was never envisioned that it would be used with one, but as always Tom added filters to make it possible.
>>>> My comment is that if you have an option to select the layout with sidebars on a page and you use sections on the page, the appearance of the rendered page should respect the layout selection.
Perhaps it says somewhere in big letters in the documentation “IF YOU USE SECTIONS ON A PAGE WE ASSUME YOU ARE USING IT FOR A LANDING PAGE AND WE DON’T RESPECT THE LAYOUT YOU CHOSE!”
Or turn that off if you select Sections and put a hint where the layout is that says “Layout can’t use sidebars in a page with sections.”
The thing is that you do allow sidebars with posts.
I know the world is moving fast, and it’s impossible to cover all the bases, but your users waste time trying to figure out why something doesn’t work, when actually it is working as designed. (I ran a software company for 20 years.)
So now I just want to figure out how to use the snippet only where I want, but, actually, I want a sidebar everywhere, except maybe Privacy and Terms.
February 14, 2019 at 9:44 am #810582JB
I actually don’t like my selection about the warning where layout is, because if you override it like I am, it would still show the warning. Ah, no biggie.
Thanks for your help. You folks give great support.
JB
February 14, 2019 at 9:50 am #810587JB
The reason I am using sections is to get a look that I want on the front page, with borders around the sections. Sections does it perfectly.
February 14, 2019 at 9:52 am #810594Leo
StaffCustomer SupportSorry for the confusion. This really hasn’t come up that much as most people who use sections do not want to use a sidebar.
We will not be making more changes to the current sections module as the new WordPress Gutenberg editor basically does the exact same thing.
Looking at your page, I would recommend you to check it out as you should be able to do the same thing with Gutenberg.
Sections will be phased out slowly overtime.
Just the world of software 🙂
February 14, 2019 at 10:12 am #810608JB
Ok that’s important to know. The thing about Gutenberg is that it has some early stage shortcomings. So I will pitch sections and go Gutenberg, since that is the way you will be heading. Do you have a beta of your latest software that goes with Gutenberg?
February 14, 2019 at 10:13 am #810609JB
Or does the current version work well?
February 14, 2019 at 10:29 am #810630Leo
StaffCustomer SupportIf you are using the latest versions for both free theme and premium plugin then it should work well.
More info here: https://generatepress.com/gutenberg/
-
AuthorPosts
- You must be logged in to reply to this topic.