Jump to content

Change link on logo header.

Recommended Posts

Posted (edited)

Hey,

 

I built this cool intro page to my portfolio, but in order for it to work i had to set it up as the HOME page.

Unsure why i didn try a cover page, think i ran into some complications when i was building it.

image.thumb.png.aa4317c0c9d4d1a53cbe1014878a7988.png

The issue I have right now is that my Header logo link takes to the home page, which is unnecessary, as i want that home page to be seen only once as a welcome thing on the site. The ''real home page'' would be aymob.net/work.

How could I change this? I tried adding some code to the CUSTOM CSS in design but didn't work. Code provided by chat gpt, I don't code.

Im on the basic plan, so code injection on specific pages is not an option. My workaround has been general custom CSS and the code block you can add to the pages.

Would I need to do a cover page? Swap all this stuff around and set aymob.net/work as my home page then aymob.net has a cover? Im unsure, any ideas are welcome.

image.thumb.png.c1a6cb4771fa9660e8d90a1fdebd0c98.png

 

image.png

 

 

Edited by Matheus
  • Replies 3
  • Views 954
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted
3 hours ago, tuanphan said:

CSS can't change link.

Now you want to change logo link on all pages (keep link in cover page). Is that right?

 

Dindn't know css didn't change, sorry.

The ''cover page'' is just the ENTER button, everything else is a background image I made to look pretty.

So yes, I want the logo of my head to change, so it leads to aymob.net/work instead of aymob.net.

From a little research I made seems like my only option is to literally pay £50 more per year on the next plan just to have this function that will be related to coding. Dont really wanna spend almost 25% of my bill for 1 silly function when a proper cover page function should be a thing in such a platform.

Any workaround? Just trying to do my best and learn a bit.

 

Posted
On 7/7/2023 at 4:52 PM, Matheus said:

Dindn't know css didn't change, sorry.

The ''cover page'' is just the ENTER button, everything else is a background image I made to look pretty.

So yes, I want the logo of my head to change, so it leads to aymob.net/work instead of aymob.net.

From a little research I made seems like my only option is to literally pay £50 more per year on the next plan just to have this function that will be related to coding. Dont really wanna spend almost 25% of my bill for 1 silly function when a proper cover page function should be a thing in such a platform.

Any workaround? Just trying to do my best and learn a bit.

 

Try editing your Site Footer > Add a Markdown Block > paste this code

<script>
  document.querySelector('.header-title-logo a').setAttribute('href', '/work');
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.