Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Change logo link version 7.1


mlucero1027

Question

  • Answers 19
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Add to Home > Settings > Advanced > Code Injection > Footer <script> document.querySelector('.header-title-logo a').setAttribute('href', 'https://beaverhero.com'); </script&

I solved it by using this code Home / Settings / Advanced / Code Injection / Footer <script>   document.querySelector('.header-title-logo a').setAttribute('href', '/PAGENAME'); </scr

Try this new code <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.header-title a').attr('hr

19 answers to this question

Recommended Posts

  • 1
On 5/1/2020 at 8:03 AM, darleneboza said:

I use personal account, can I still do this?

You need Business Plan or higher. Add to Home > Settings > Advanced > Code Injection > Footer

<script>
  document.querySelector('a#site-title').setAttribute('href', 'https://beaverhero.com');
</script>

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL

--- Happy New Year

Link to post
  • 1
On 9/15/2020 at 5:05 PM, HWE said:

Hi, thanks so much for the above... for some reason this doesn't work for the mobile version of the site, the logo is still linking to the landing page instead of the 'home.' Did I do something wrong? I put the script here, Home / settings / advanced / code injector / footer

Thanks so much for your help!

Try this new code

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('.header-title a').attr('href','https://beaverhero.com');
});
</script>

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL

--- Happy New Year

Link to post
  • 1
On 11/22/2020 at 3:35 PM, jrf93 said:

Hey Tuan, Site wide if possible so that if they're on the shop page and they click the logo it would take them back to /home-page-2 instead of the cover page which is set up to be like a landing page.. 🙂

 

 

Add to Home > Settings > Advanced > Code Injection > Footer

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('.header-title-logo a').attr('href','https://beaverhero.com');
});
</script>

Replace beaverhero with new url

You can send your question to my email to get detail answer. / How to Setup Password & Share URL

--- Happy New Year

Link to post
  • 0
On 5/2/2020 at 2:31 PM, tuanphan said:

You need Business Plan or higher. Add to Home > Settings > Advanced > Code Injection > Footer


<script>
  document.querySelector('a#site-title').setAttribute('href', 'https://beaverhero.com');
</script>

 

Hey! 

Would you be able to help me link my site logo to my site /shop page? 
Been trying all day with a multitude of code but to no avail!

I'm using the Brine theme in 7.1 commercial.
www.neighbourhoodxdeli.com
neighbourhoodxdeli.com

 

Many thanks!

 

Matt

Link to post
  • 0
21 hours ago, Matt-NBH said:

Hey! 

Would you be able to help me link my site logo to my site /shop page? 
Been trying all day with a multitude of code but to no avail!

I'm using the Brine theme in 7.1 commercial.
www.neighbourhoodxdeli.com
neighbourhoodxdeli.com

 

Many thanks!

 

Matt

Add to Home > Settings > Advanced > Code Injection > Footer

<script>
  document.querySelector('.header-title-logo a').setAttribute('href', 'https://beaverhero.com');
</script>

replace beaverhero with your shop page url

You can send your question to my email to get detail answer. / How to Setup Password & Share URL

--- Happy New Year

Link to post
  • 0

Hi,

This worked well for me on the desktop website thanks so much! Is there a way to change the logo link on the mobile site as well?

www.hotwireextensions.com

Many thanks for your help!

Link to post
  • 0

I don't see logo. Can you share link to exact page?

5 hours ago, HWE said:

Hi,

This worked well for me on the desktop website thanks so much! Is there a way to change the logo link on the mobile site as well?

www.hotwireextensions.com

Many thanks for your help!

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL

--- Happy New Year

Link to post
  • 0
15 hours ago, HWE said:

Hi, yes I had some issues with a disappearing logo, but its back again now... 

https://www.hotwireextensions.com/home

I would really like the logo link for the mobile site to go back to the above page

Thanks so much!

<script>
  document.querySelector('.header-title a').setAttribute('href', 'https://beaverhero.com');
</script>

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL

--- Happy New Year

Link to post
  • 0

Hi, thanks so much for the above... for some reason this doesn't work for the mobile version of the site, the logo is still linking to the landing page instead of the 'home.' Did I do something wrong? I put the script here, Home / settings / advanced / code injector / footer

Thanks so much for your help!

Link to post
  • 0

Hi thanks for sharing the above code. For some reason this doesnt work for me and when I enter the code all of my links show up with a black box when hovering.

 

The link in my logo currently directs to playedoutevents.com.au (which is our "cover/home page") we would like it to link to playedoutevents.com.au/home-page-2 (which we'd like to have as our official home page)

 

Would love any help you can provide

🙂

Link to post
  • 0
On 11/21/2020 at 5:49 AM, jrf93 said:

Hi thanks for sharing the above code. For some reason this doesnt work for me and when I enter the code all of my links show up with a black box when hovering.

 

The link in my logo currently directs to playedoutevents.com.au (which is our "cover/home page") we would like it to link to playedoutevents.com.au/home-page-2 (which we'd like to have as our official home page)

 

Would love any help you can provide

🙂

Chage logo link site wide or cover page only?

You can send your question to my email to get detail answer. / How to Setup Password & Share URL

--- Happy New Year

Link to post
  • 0
4 hours ago, tuanphan said:

Chage logo link site wide or cover page only?

Hey Tuan, Site wide if possible so that if they're on the shop page and they click the logo it would take them back to /home-page-2 instead of the cover page which is set up to be like a landing page.. 🙂

 

 

Link to post
  • 0
On 11/23/2020 at 4:50 AM, anycloud said:

I solved it by using this code Home / Settings / Advanced / Code Injection / Footer

<script>
  document.querySelector('.header-title-logo a').setAttribute('href', '/PAGENAME');
</script>

 

Where PAGENAME = the pagename (after the domain name)

Thank you for this @anycloud, I was really struggling with this and this is the only solution that worked for me. 

 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...