Hi, I’m working with a child them and I’m hoping you can give me some guidance on an issue I’ve run into…
I’ve take your masthead nav code and repeated in the footer (with a few mods)r:
<div class="main-navigation secondary"> <?php get_template_part( 'parts/masthead_footer', apply_filters( 'vantage_masthead_type', siteorigin_setting( 'layout_masthead' ) ) ); ?> </div>
And also registered a new footer menu.
I’ve also made the following changes:
<?php get_template_part( 'parts/menu_footer', apply_filters( 'vantage_menu_type', siteorigin_setting( 'layout_menu' ) ) ); ?> <?php wp_nav_menu( array('container_class' => 'menu-footer', 'theme_location' => 'secondary') ); ?>
The problems I’m having are:
1) if the browser is resized all sorts of weirdness happens. For example the navbar repeats on the page, or it shows the wrong menu, or it get thicker.
2) the other issue I can’t seem to get passed it that everything below the secondary navbar insist on being fullwidth. How can I make it fit within the bounds of the site content (I don’t want to turn on ‘boxed’).
Thanks in advanced!
Hi Larry
We’d love to roll this out for you. It’s unfortunately more involved than we’re able to handle in the support department at the moment. What I do have though is a CSS snippet that’ll convert a custom menu widget from a vertical list to a horizontal list. This is the second iteration of this snippet:
Other widgets should then full under the custom menu widget.
Perhaps give this a go, hopefully it’ll be good enough for what you’re after here.
Hi Andrew,
I appreciate your extremely quick reply. Unfortunately I cannot use this because I’m using the custom throughout the site and I need it to be a vertical list.
Also, I need the masthead’s look/feel. Is there any other way I could look into resolving this issue (on my own)? Can you give me some other pointers? What do you think is going on?
Regards,
Larry
Thanks for the further info.
Look and feel aside it’s possible to make the CSS I sent specific so that it only applies to the footer widget area OR so that it only applies to the first menu widget it sees in the footer. Let me know if you’d like me to adjust the CSS to accommodate for footer specificity.
If you’re keen to try again, here is what I’d do:
The main menu duplicates itself in the process of being sticky. I wouldn’t copy the main menu as it stands right now. So starting from scratch:
Create a new menu in the functions.php file of the child theme:
Next let’s create a “parts” folder in the child theme and copy footer.php from the parent theme /parts/ folder to the same location in the child theme.
On line 7 of footer.php right after this line:
Let’s introduce our new menu:
Now let’s go to Appearance > Custom CSS or your child theme’s style.css and target this menu:
Edit the CSS as required.
Alright, I’m not as stubborn as I look :P
I’ve implemented what you’ve provided and I’ll style it more as I move forward…
But how do I add the full width masthead look/feel to the custom menu? Specifically, the background color.
Thanks!
You can target the second selector in my CSS: .footer-navigation. Give that a try. So that selector is full width, only the list inside of it is constrained.
OK.
One more question…
For some reason the text color (link color) and font size for the menu text won’t change. It appears to be tied to a:hover,a:focus, a:active which are global. Is this right?
Thanks for your help!
Actually,
No CSS changes I make seem to have any impact to the footer menu.,
I’m not sure things are setup as I’ve described. Perhaps give this child theme a go:
https://siteorigin.com/wp-content/uploads/2015/02/vantage-child-footer-nav.zip
OK, I must have missed something. Thanks! Thanks worked. :)
Larry
Super, glad to hear you made progress.