Tagged: logo
Hello Enfold Support,
I looked for a solution and attempted to find the answer on my own, exploring files, and didn’t find the solution.
This is regarding a friend’s band site: http://thievesofreason.com/.
In the footer I have a script to place a button link to his Patron page:
<a href="https://www.patreon.com/bePatron?u=22993390" data-patreon-widget-type="become-patron-button">Become a Patron!</a><script async src="https://c6.patreon.com/becomePatronButton.bundle.js"></script>
I’d like to also place this between his logo and the nav menu. I have a Child Theme loaded.
Can you help me accomplish this?
Sincerely,
Greg
Hey Greg,
Have you attempted placing this within header.php and using css to position as you like?
Best regards,
Jordan Shannon
Hello Jordan,
The header.php seems to be calling in another file that actually loads the logo & nav elements:
<?php
if(!$blank) //blank templates dont display header nor footer
{
//fetch the template file that holds the main menu, located in includes/helper-menu-main.php
get_template_part( 'includes/helper', 'main-menu' );
} ?>
So, it looks like the helper-menu-main.php file is the one to edit… but…
I get lost really quickly with that file. A lot of “if” statements to handle the different variables available in the admin.
I don’t see where to add a new div element that I can then place with CSS.
More help please?
Greg
Can support pick this up? #ping
Hi Donkies11,
You can add a widget area in the header and add the link there as a widget.
Here is how to do it:
Best regards,
Victoria
Hello Victoria,
Perfect – this works!
Thank you,
Greg
P.S. This ticket/post can be closed. gw