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

Change logo URL: Tremont

Question

Hello, what's the code injection required to alter the logo linking URL in tremont?

I'm aiming to have a splash page as the website landing page, but within all the other pages use the logo to return to a different page (the real home page).

Thanks!

Jack

Edited by jackrbenson
Initial Revision

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

Hey Jack,

For this with jQuery you can update the /home/ to the URL slug you want it to lead to. Add this code into the footer Code Injection in Settings > Advanced > Code Injection


<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$('a[href="/"]').attr("href", "/home/");
</script>

Hope that helps!

Share this post


Link to post
  • 0
10 hours ago, ReneeBreathe said:

Can anybody help me figure this out for Ver. 7.1?  I can't figure it out.....

replace 

a[href="/"]

with

Quote

a#site-title

 


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

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


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