Tagged: logo
-
AuthorPosts
-
August 8, 2019 at 7:33 pm #1126016
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,
GregAugust 8, 2019 at 8:43 pm #1126030Hey Greg,
Have you attempted placing this within header.php and using css to position as you like?
Best regards,
Jordan ShannonAugust 8, 2019 at 9:47 pm #1126049Hello 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?
GregAugust 9, 2019 at 9:55 pm #1126341Can support pick this up? #ping
August 10, 2019 at 5:22 pm #1126462Hi 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,
VictoriaAugust 12, 2019 at 3:01 am #1126695Hello Victoria,
Perfect – this works!
Thank you,
GregP.S. This ticket/post can be closed. gw
August 12, 2019 at 7:21 am #1126728 -
AuthorPosts
- The topic ‘place Patron link (script) between logo & menu’ is closed to new replies.
