- This topic has 12 replies, 4 voices, and was last updated 3 years, 1 month ago by Morgan.
-
AuthorPosts
-
January 11, 2021 at 12:06 am #1613943Morgan
I’m just jumping back into GP and WordPress after about a year, am a Gutenberg noob testing to see if it’s viable to either wholly or partly replace Elementor for developing my new personal sites.
I mistakenly posted here coz I was confused about the role of Customizer in controlling the full-width layout.So, am opening this new topic to ask: what’s the recommended >3.0 way to control the standardised sitewide layout, like Customizer did before?
Layout in Cust doesn’t have a 100% option anymore, I read in Docs that it was recommended to simply make it max of 2000 px (maybe from 2016), yet I’m working on a 2560 screen right now, and plenty of others are too.It makes sense to me to set the standard widths and paddings in Customizer, then control blocks in Gutenberg (or Elementor), and most are there in Cust, but not all?
Could you pls get me up to speed?
Also, installed starter site ‘Abstract’, no images or working layout imported, and changing *any* of the Layout/Container/. . settings – has next to no affect on any page blocks.
January 11, 2021 at 12:40 am #1613954ElvinStaffCustomer SupportHi,
The control of the layout is a mix of things.
I recommend reading the documentation about the Container Layout Overview found here:
https://docs.generatepress.com/article/container-layout-overview/And the Layout Element found here:
https://docs.generatepress.com/article/layout-element-overview/Container Layout option within the Customizer is used to set the general settings of the site.
Meanwhile, Layout Element is used if you want to apply conditional settings depending on the page/post type. π
Then there’s Hook, Block and Header Element. These modules are things you can insert to your site’s layout using hooks.
You can read and search around the documentation site for more information.
https://docs.generatepress.comJanuary 11, 2021 at 1:04 am #1613976pkeHi
So that means there is no simple setting which allows just a 100% with?
thanks
PkeJanuary 11, 2021 at 1:31 am #1613993ElvinStaffCustomer SupportHi
So that means there is no simple setting which allows just a 100% with?
thanks
PkeI’m not sure what you mean.
If you meant for content to go full width of the viewport, Layout Element’s “Content” tab allows for “Full Width (no padding)”.
https://docs.generatepress.com/article/layout-element-overview/#content-1January 11, 2021 at 3:36 am #1614113MorganHi Elvin,
Thanks, I’ll get to that into shortly, yet before I do – have you got any insight into why the imported ‘Abstract’ isn’t affected by Customizer?
It should be right? (I provided all site details above).
And it’s meant to import all the demo images, etc, and have a complete working demo right?
HOME in Gutenberg shows a bunch of blocks with “this block contains unexpected or invalid content”.If this Abstract theme isn’t updated/gutenberg/3.0 compatible could you detail which sites are?
January 11, 2021 at 5:55 am #1614224DavidStaffCustomer SupportHi there,
the site hasn’t imported correctly, if you inspect the Page and check any element you will see most of the classes have been prefixed by
\
which is not normal.Can you reset the site ? Make sure any server caches or other optimzations such as Redis are disabled and retry the import.
January 12, 2021 at 4:53 am #1615543MorganEDIT: as this is distinct issue, created new Topic: https://generatepress.com/forums/topic/starter-site-import-code-broken-inserted-throughout/#new-post
January 12, 2021 at 5:26 am #1615589DavidStaffCustomer SupportThanks for creating a new topic… we’ll take a look asap.
January 12, 2021 at 8:28 am #1615979MorganContainer Layout option within the Customizer is used to set the general settings of the site.
Meanwhile, Layout Element is used if you want to apply conditional settings depending on the page/post type. π
Hi again, to jump back into the pertinent questions above – yes I’m well aware of Customizer, Element, and page options to get full-width, I was asking if there have been changes to the approach to get, as @pke also asked, full-width pages, given GenerateBlocks, Gutenberg and GP 3.0 are here to stay.
I.e. I can see I can force full-width to a page through GenerateBlocks now (didn’t exist last time I GP’d – w’ TinyMCE & Elementor), and set Container to full-width.Given these changes it seems logical to me that you could now apply 100% width in Customizer (which is the site, not page, container, right?), and then control the Page flexbox with nested containers, blocks, etc, through Gutenberg.
In fact – forcing full-width* from the page out seems backwards, from the inside-out instead of the outside-in.
*Tho a great option to have.I do understand you can get full-width with GP-Elements, there just seems to be more cross-over with Gutenberg now, is Elements still the GP way for this?
Also, how do I apply Elements to pages in Gutenberg?In short, it seems a confusing period of change we’re in!
Totes open to being set straight if I’m missing something π
January 12, 2021 at 9:04 am #1616033DavidStaffCustomer SupportHi there,
we added the forced full/wide width option to GenerateBlocks, mainly because the Gutenberg user community feels they are necessary and it means Themes that don’t provide full width template options could use that feature.
But the method it uses is what core Gutenberg does, which is some rather hackish CSS.
The Customizer doesn’t accept a % container width, instead you would simply type into the field a really high impossible value like 6000px.
Personally i still recommend using the Layout Element to make full width templates as this also strips theme padding and can be applied selectively, such as excluding archives.
Also, how do I apply Elements to pages in Gutenberg?
I am not sure what you mean ? Can you explain a little more.
January 12, 2021 at 9:34 am #1616056pkeThanks Elvin and David!
Quick response as always!! I think my “problems” are solved. I am setting the “with” in customizer on ca. 1100 px – So it works (and was working since years) well with big desktop screen and also looks perfect for Mobiles (which is most important!).
And i using now the plugin “Lightweight Social Icons” which works fine / see: https://www.mia.ch
Have a great day
pkeJanuary 13, 2021 at 1:22 am #1616636DavidStaffCustomer SupportGlad we could be of help
March 8, 2021 at 10:49 pm #1687570MorganGot it, and thanks.
-
AuthorPosts
- You must be logged in to reply to this topic.