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

Edit navigation link on product page


m_lundberg

Question

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

4 answers to this question

Recommended Posts

  • 0

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

<style>
  .ProductItem-nav-breadcrumb>*:not(:first-child) {
    display: none;
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
  $(document).ready(function() {  
		$("a.ProductItem-nav-breadcrumb-link").html(function() { 
          return $(this).html().replace("Tre annonser", "enter new text");  
    });
    $('a.ProductItem-nav-breadcrumb-link').attr('href','https://beaverhero.com');
	});
</script>

replace enter new text, beaverhero with new text/url

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

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



<style>
  .ProductItem-nav-breadcrumb>*:not(:first-child) {
    display: none;
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
  $(document).ready(function() {  
		$("a.ProductItem-nav-breadcrumb-link").html(function() { 
          return $(this).html().replace("Tre annonser", "enter new text");  
    });
    $('a.ProductItem-nav-breadcrumb-link').attr('href','https://beaverhero.com');
	});
</script>

replace enter new text, beaverhero with new text/url

Perfect! Thank you very much tuanphan. 

Link to post
  • 0
On 1/8/2021 at 6:37 PM, m_lundberg said:

Perfect! Thank you very much tuanphan. 

I see huge space on top/bottom of footer on tablet. Do you want to reduce it?

To preview your site on tablet, right click anywhere on your site > Choose: nspect Element > Choose iPad on top of browser

image.thumb.png.bbc896abf4f4660519f393957054993d.png

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

I see huge space on top/bottom of footer on tablet. Do you want to reduce it?

To preview your site on tablet, right click anywhere on your site > Choose: nspect Element > Choose iPad on top of browser

image.thumb.png.bbc896abf4f4660519f393957054993d.png

Thanks for reminding me, it was Friday night and I kept on playing with the footer and couldn't make up my mind so I just left. I am fixing this now 🙂

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...