Dear Amy,
It should have been working like so by default. Did you modify the header.php template?
Regards,
Kharis
Thank you for your response Kharis,
I haven’t not changed the header.php. I did add header and footer plug-in- would this have changed anything?
Thank you again!
Amy
Dear Amy,
Could you please share the link to your site, so I can take a closer look?
Regards,
Kharis
Kharis,
Yes thank you so much: my site is YogaSelah.com
Username is: YogaSelah
PW: can be found here: https://onetimesecret.com/secret/79q6e3qegdnujykzm98xgeewxlil6c9
Thank you again for your help!
Hello there,
Thank you for sharing the link to your site. It helped me a lot. I noticed that you applied custom jQuery code to manipulate the main menu to show the logo in the middle.
To link the logo to your homepage, replace this line:
var middleMenu = $('a[href="#logo"]');
with:
var middleMenu = $('a[href="http://www.yogaselah.com/"]');
Regards,
Kharis
Kharis,
Thank you so much for your continued help and support! For some reason when I changed the code it moved the logo to the left. It may also be because I want the logo contained in the menu (if you look at my menu- you’ll find a custom link with #logo). Could that be causing the issue as well? I can’t really understand why as it’s just changing where to logo points to- any other suggestions would be greatly appreciated!
Thank you so much!
Amy
Dear Amy,
I missed a thing. Sorry.
You also need to edit your menu item where the logo is being displayed. Go to Appearance > Menus > edit the menu item for logo > in the URL field, enter http://www.yogaselah.com/
Regards,
Kharis
Kharis,
Thank you! The link works when I change it in the menu, however when I change the URL to the link it changed the menu from:
[page] [page] [page] [logo] [page] [page] [page]
to
[logo]
[page] [page] [page][page] [page] [page]
is there any way around it changing the menu and keeping the logo as part of the menu: [page] [page] [page] [logo] [page] [page] [page]?
Thank you so much for your continued support!!
Amy
Dear Amy,
Please try to do the following steps:
1. Go to Settings > Header and Footer Scripts > Scripts in footer:
2. Add this jQuery code before script closing tag </script>:
jQuery(function($) {
$(window).on('load', function() {
var siteLogoLink = $('a[href="#logo"]');
if( siteLogoLink.length ){
siteLogoLink.attr('href', 'http://www.yogaselah.com/');
}
});
});
3. Save settings
You would clear your web browser’s cache before reloading your site to see the code takes affect.
Let me know how it goes. I’ll wait to hear back from you regarding your stats.
Regards,
Kharis
Kharis,
You are seriously the BEST! Thank you so much for your patience and walking me though this process. I feel that the site is absolutely perfect now!
Thank you!!!!
Amy