- This topic has 3 replies, 2 voices, and was last updated 4 years, 11 months ago by
Elvin.
-
AuthorPosts
-
May 10, 2021 at 12:20 am #1772086
Cay
Are Elements a container for Blocks? Or what are they?
I have spent a lot of time trying to understand Elements. Apparently, it’s something beyond Blocks but I have not really understood the concept. Are there more texts about Elements? Much of the content presents only a series of settings. I am looking for more descriptions about how Elements relate to other concepts in the editor.To me, it looks like settings in a Block for an individual page also affect the Element on that page. Or have I missed something?
I also have a hard time following the idea in the video about Layout Element Overview. Is there anything more text-based on this topic?
I appreciate any help.
May 10, 2021 at 3:06 am #1772309Elvin
StaffCustomer SupportHi there,
It depends on what you’re using.
Header element
https://docs.generatepress.com/article/header-element-overview/This element allows you to create a Hero Section. It also allows you to merge the header and the page hero to achieve an overlaying navigation that hovers over page-hero.
Layout Element
https://docs.generatepress.com/article/layout-element-overview/This element allows you to modify the layout. With this, you can control the content container width, sidebar display and remove some parts under it’s “Disable Element” tab.
Hook Element
https://docs.generatepress.com/article/hooks-element-overview/This element, from the name itself, allows you to hook your code to specific hooks within the theme, this is in tandem with our hook visual guide. https://docs.generatepress.com/article/hooks-visual-guide/ You can run shortcodes and PHP snippets inside this element.
Block Element
https://docs.generatepress.com/article/block-element-overview/
This is GeneratePress’ attempt on a page builder.
The long writeup I recommend you reading is this one. (aside from the docs)
https://generatepress.com/introducing-the-gp-theme-builder/May 10, 2021 at 3:32 am #1772346Cay
Not yet, but I will try to clear my personal cache.
Great, thank you Elvin. I will dive into all this stuff and hopefully be enlightened.
May 10, 2021 at 4:03 pm #1773338Elvin
StaffCustomer SupportNo problem. Feel free to ask if you have any further questions. 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.