I am attempting to create a child theme for my vantage premium, i am needing to add some files to the functions otherwise i would just use the custom css. i used a ready made zip file child theme from another support post and it breaks my menus, i would like to update to 2.3 but have made changes to the functions.
i tried creating a child theme but it kept saying template missing.
any help would be appreciated, also is there there anyway easy way to add a second menu to the bottom of each page, mainly for mobile users so they don’t have to scroll all the way to the top!
Thanks so much!
Child Theme breaks menus in vantage premium
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Nathan
Here is a vanilla child theme you can get going with:
https://siteorigin.com/wp-content/uploads/2015/01/vantage-child-vanilla-enqueue.zip
That should work out the box. If it can’t find the parent style.css file please check that your parent folder is named “vantage”.
If you insert a custom menu widget into the footer, the following inserted under Appearance > Custom CSS will make it horizontal:
Thanks for the reply Andrew, i had pulled a vanilla child theme from a previous post, but for some reason your new one and the other breaks the main menu. if you look at the site dev.netrsr.com
This is unfortunately an expected result of activating a child theme. You’ll need to redo Menu assignments and Customizer settings. The menu isn’t broken you just need to re-save your primary menu into the theme’s primary menu location.
Hope that helps.
I don’t follow but i’ll just scrap the child theme i guess and just use the custom css to make smaller changes, as for putting a footer menu, identical to the main navigation, i need to use the function.php file. but that will be overwritten if i do any updates
When you had the parent theme activated, at some point you went to Appearance > Menus, created a custom menu and saved it to the theme’s primary menu location. When you activate any new theme, including a child theme, that setting gets reset. All you have to do is go to Appearance > Menus, select your custom menu, scroll down, check the primary menu location to assign the menu to that location and click save.
HAH, i’m an idiot! Thanks…
Super, glad that helped. No problem at all, very common question after activating a child theme.
wish i had seen it in the forums, hate asking questions that have been answered, must have just searched wrong. any thoughts on a secondary menu before the footer?
No problem.
Ok so you didn’t like my footer widget menu option :)
I think I actually worked the duplicate menu question up earlier this week. I’ll try find it.
Here we go:
https://siteorigin.com/wp-content/uploads/2015/02/vantage-child-footer-nav.zip
That’s the child theme for it above.
Here is thread, I go over the steps that I went through to build it.
Thread: Secondary Nav Issues
Thanks Andrew! The menu seems to be there, but there seems to be no drop down menu
I didn’t build any drop down styles into that one. Let me see what I can do quick.
With the child theme activated, go to Appearance > Editor, edit style.css. Assuming you haven’t added any other styles, remove the styles there and replace them with:
didn’t seem to do it, i originally had the css from your post in there and replaced it with the above, i’m assuming the style.css in the child theme has the styles for the footer so i don’t need the extra css. i replaced the custom css with the above. still no drop down menu, i feel bad to continue asking for help! it’s not even really an issue with your theme! but i really do appreciate it!
No problem.
Custom CSS is fine, in that case go to style.css and remove the selectors I have there. No sense in duplicating them.
Please go to Appearance > Editor and edit /parts/footer.php, find this line:
See where is says depth’ => 1, change that number. 3 or 4.
Thanks
That seems to function 99%, just doesn’t drop down fully goes to a long horizontal menu, could that have something to do with the layout of the page not allowing to move down to the edge of the browser window?
Thanks andrew you have been awesome
Did you by any chance leave the original CSS I sent in Custom CSS? If you scroll back to the top you’ll see that first snippet I sent. That shouldn’t still be in play.
this code
i removed that and is did not resolve the problem
No, not that CSS. I’ve re-worked this. The new final product is up here:
https://siteorigin.com/wp-content/uploads/2015/02/vantage-child-footer-nav-02.zip
The slightly re-worked Custom CSS is:
The slightly re-worked /parts/footer.php file looks like this:
Thank you so much, works great for our needs! I very much appreciate it! You should have a tip jar attached to the support pages!
Thanks again!
-Nathan
Super, really glad that did the trick for you.
We appreciate all the support.
Cheers!