- This topic has 8 replies, 3 voices, and was last updated 5 years ago by
David.
-
AuthorPosts
-
March 29, 2021 at 3:30 am #1713740
Adrian
Hey, it looks like this: I’d like to create my WordPress theme look from scratch. I have installed the GeneratePress theme and the premium plugin.
Should I design a theme first and then create a child theme that will take the current look? Or maybe it’s better to create a child theme at the very beginning and create the whole look there?
Will updates to your theme / plugin break my website?
I just don’t understand when to create a child theme.
March 29, 2021 at 5:30 am #1713866David
StaffCustomer SupportHi there,
a Child Theme is ONLY required if you intend to make edits to the theme template files.
If you’re simply making changes via the Customizer and adding Content to your site then there is no need for a child theme.March 29, 2021 at 6:29 am #1713957Adrian
Sorry, but I am just starting my adventure with WordPress and it is a bit incomprehensible to me.
So your GeneratePress theme is really just the foundation for creating our own themes, right?
I am going to create a more advanced header and I am not able to achieve this with the Customizer. So I’ll probably have to edit the header.php file. So: I make changes in this file and then create a child theme?
Will GeneratePress theme updates overwrite the header.php file?
March 29, 2021 at 7:40 am #1714305David
StaffCustomer SupportWordPress provides the Database and Code setup for controlling the storage and output of your content.
The Theme provides the templates for that content to be displayed.
GPP Premium provides you with additional Customizer options and other features such as the Elements module for customizing the theme.
What GP doesn’t do is create Themes. It is the foundation for creating your own sites.If you must edit the header.php file then yes, you would need to first add a child theme:
https://docs.generatepress.com/article/using-child-theme/Then make a copy of the header.php file and place that in your child themes root folder.
Then make edits to the child theme header.php file ( Not the parent theme ).Do you have an example of the header your trying to build – as you may not require a child theme to achieve it ?
March 29, 2021 at 8:06 am #1714337Adrian
I will send you a link to the sample menu that I want to achieve. I will add them in a private message due to the fact that it is from a different theme.
It may be that I just haven’t discovered all the possibilities of this plugin template yet. I bought it only today, I pre-searched all the options and I don’t know how to go about it from the Customizer level.
What I’m trying to accomplish is a header of three rows. There is maybe a way to create such a header? Some place where i can add html code
March 29, 2021 at 5:26 pm #1714724Elvin
StaffCustomer SupportHi there,
The example header you’re trying to achieve should be doable by either:
Enabling the Top bar section and the Secondary navigation PLUS bit of CSS and PHP.
OR,
Using the GP Premium 2.0’s new Block Template to create your fully custom header.
https://share.getcloudapp.com/llu5vR7EThere’s no need for child theme for this.
March 31, 2021 at 1:14 am #1716259Adrian
Thank you very much for your answer. I think I’m on the right track and this header is slowly starting to look like it should.
I don’t know if I should create a separate topic, but I’m also wondering how to do:
1. Woocommerce mini-cart icon added to the header created in the Elements GeneratePress section. In other topics on this forum I read that the mini-cart icon can only be added in the Main Menu and Secondary Menu. But when creating the header using Elements, I would like it to look different and add the icon elsewhere. I will send you the link to the header that he is modeling on. As you can see, it can be found next to the search form, wishlist and my account.
2. Is it possible to add a log in / log out button, which changes depending on whether the user is already logged in to the website? I’ve seen that there are a couple of plugins that allow you to add this option to a menu, but as soon as the GeneratePress Elements section imports the menu, it becomes permanent. The button does not change automatically, it just shows “Log out” itself, for example, or adds two buttons next to each other “Log in” and “Log out”. This example is also in the link I sent.
I don’t know if there is a chance to do something like this, but if it works, it will be great. Thank you very much for your willingness to help and have a nice day!
March 31, 2021 at 1:27 am #1716273Adrian
Aaa, I also noticed that even when the mini-cart icon with woocommerce appears in the menu, nothing happens when you hover over it. How to enable the quick preview of what products are in the cart? Currently I need to click on the cart to be taken to the cart page. What I expect is the most common drop-down menu with added products, their quantity, the ability to remove this product from the cart, etc.
March 31, 2021 at 2:42 am #1716315David
StaffCustomer SupportHi there,
in Customizer > Layout > Woocommerce check the: Display Mini Cart Sub Menu
https://docs.generatepress.com/article/woocommerce-overview/
I recommend raising new topics for each new requirement as it will make it easier for your and others to find the specific answers 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.