Change link for title image/logo
-
Hi guys,
how can I change the link which is attached to the logo or title of my site?
Problem is that I have an Intro page, but I want to avoid that the user sees it again everytime after they click on the logo to come back the mainpage. At the moment it's set to www.florianbison.com, can I change it to www.florianbison.com/portfolio?
Thanks so much!
Flo -
Dear @flob13
there is not really a way.
You might hide the title and code it new in CUSTOM HTML and CSS.Then you can link to any page you like.
Best!
Marius
-
you cant
you can use custom css & html to put your own html at the top of the website if you want
in lay options → custom css & html
why do you want to do this?
-
The reason is that I don't want the link on the site logo to take the user back to the home page, because it has an intro overlay on it which gets annoying if you need to see it every single time.
I want the site logo/title to link to a different page, which is the same as the home page but without the intro overlay. It would b great to have the option to specify a different url for the site title.
-
the intro should appear only once if you:
don't use woocommerce, don't use shortcodes, dont have the "ajax / compatibility" setting enabled in lay options
-
you can change your site title link using javascript:
<script> jQuery("a.sitetitle, a.mobile-title").attr("href", https://www.google.com") </script>
put this in lay options → custom css & html → custom css at bottom
-
oh sorry
custom html at bottom i mean
-
Thanks Armin. I worked it out. One issue was the code was missing quote marks around the URL, which I totally missed. I then was able to combine it with another existing script in the "Custom <head> content" section, and it works perfectly now. Would be handy though to have this as an optional field in the site title section of the Lay settings, so you could optionally enter a custom URL for the sit title link?
Thanks again for your tips as always.
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it