How can I remove the hyperlink so when customers click my stores logo at the top of the screen they won’t get redirected to the homepage? Would just like to make it so when it is clicked nothing happens.
I’m using the paid theme, Motion.
Thank you !
How can I remove the hyperlink so when customers click my stores logo at the top of the screen they won’t get redirected to the homepage? Would just like to make it so when it is clicked nothing happens.
I’m using the paid theme, Motion.
Thank you !
Hi @trendin ,
You can remove the logo link in the header.liquid file
Hi @trendin , you can remove the hyperlink from the logo , or send me your store link with password ( if its password protected) so I can guide you better. Thank you!
How would I be able to do that? What code do I change?
The link is:
Hi @Trendin,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.css
Step 3: Paste the below code at bottom of the file → Save
#LogoContainer a.site-header__logo-link.logo--inverted{
pointer-events: none !important;
cursor: pointer !important;
}
Hope my solution works perfectly for you!
Best regards,
Victor | PageFly
Go to Header-Logo-Block.liquid
Go to Line 54 (href=“{{ routes.root_url }}”)
If you want to redirect to your product replace the “routes.root_url” with “routes.all_products_product name”.
It worked for me.