This topic has 5 replies, 2 voices, and was last updated 8 years ago ago by Olga Barlow
Hi Support,
I’m sorry if this has been asked before, but the Search option on the forum is so hard to use I can never find anything 🙂 Any way to make it more “normal” ?
Anyway, my question…
I am using the latest version of X-Store theme. I would like to make my own variant of the header which is upgrade safe e.g. “Variant Center” which has the search option like in “Variant Centre2” but the layout of the logo, navbar, etc the same as “Variant Center”. Another option would be to have the same full search box, but aligned to the left of the Wishlist icon.
Could you please point me in the right direction ?
Thanks
I did some investigation and found the headers folder containing centre.php, centre2.php etc so I can mark up what I want, I could just do with being told how to make my new PHP file available as an option in the Customizer or 8Theme options ?
Also, would be good to confirm adding a new file here is ‘upgrade safe’
Thanks
Hello,
If you want to change any template files and avoid problems with next theme update you need to use child theme. XStore child theme archive you can find in theme package. Detailed information how child theme works you can find here https://codex.wordpress.org/Child_Themes You just copy theme file of header structure in child theme (into the same folder as it is in parent theme) and do the necessary changes. If you need to change any theme functions copy these functions in child theme functions.php
Regards
Thanks for the link, and for the reply.
Do I base the child theme on themes/xstore folder or the themes/xstore/theme folder ?
Hello,
Child theme should be located in wp-content/themes folder.
Regards
You must be logged in to reply to this topic.Log in/Sign up