Product image opening in new tab

Solved
dogmeatsbone
Tourist
10 0 0

Hi everyone, 

i think this is a common issue but i have one image on my homepage which opens in a new tab instead of the same tab.  Can anyone help? 

my website is www.dogmeatsbone.co.uk

the problematic link is this one https://dog-meats-bone.myshopify.com/pages/our-range which is https://www.dogmeatsbone.co.uk/pages/our-range

thank you

0 Likes
SagarSukhanandi
Explorer
155 27 43

@dogmeatsbone Could you please share screenshot of section where you clicks and opens in new tab?

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on sagar.sukhanandi@gmail.com regarding any help
0 Likes
dogmeatsbone
Tourist
10 0 0

wrong link.JPG

 

With some help it is now not opening to a new tab but it is opening to the wrong page.  It should be opening to https://www.dogmeatsbone.co.uk/pages/our-range.  that section was written as custome html but trying to change what i think is the correct section is incorrect

<noscript>
<a href="/pages/our-range" target="_self" title="Browse our Meats collection" class="featured-card featured-card--cover" style="background-image: url('//cdn.shopify.com/s/files/1/0509/2546/9882/collections/Benfit_Natural_Working_Dog_3dde5fe0-1c25-4501-be6d-6689d6bbc760_480x480.jpg?v=1612618735')">

<div class="featured-card__header featured-card__header--background">
<p class="h1 featured-card__title">Meats</p>
<span class="featured-card__action"> </span>
</div>

</a>
</noscript>

<a href="/pages/our-range" target="_self" title="Browse our Meats collection" class="featured-card featured-card--cover lazyloaded" data-row-number="1"

0 Likes
SagarSukhanandi
Explorer
155 27 43

This is an accepted solution.

@dogmeatsbone Just change <a href="/pages/our-range" with a <a href="/collections/food"

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on sagar.sukhanandi@gmail.com regarding any help
SagarSukhanandi
Explorer
155 27 43

@dogmeatsbone It will be really helpful if you accept my solution

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on sagar.sukhanandi@gmail.com regarding any help
0 Likes