Jump to content

Image Header with URL Custom CSS for Single Website Page

Recommended Posts

Site URL: https://grape-semicircle-m6yz.squarespace.com/config/pages

 

Image Header Adding in Hyperlink with Unique Design to this page

I'd like for my headers on this page to keep the color and design they currently have, but I would like to add hyperlinks to them. The design format for the rest of the website turns them black and adds an underline. For this page only i'd like for them to remain the same color (#d65124) and have no underline. 

Version 7.0, Brine Family, Custom Template. 

 

I have tried a bunch of custom CSS that other videos have recommended and have not been able to figure this one out with my limited website knowledge - please haaalp! 

 

Link to comment
On 8/7/2022 at 11:48 PM, KellyLHF said:

Site URL: https://grape-semicircle-m6yz.squarespace.com/config/pages

 

Image Header Adding in Hyperlink with Unique Design to this page

I'd like for my headers on this page to keep the color and design they currently have, but I would like to add hyperlinks to them. The design format for the rest of the website turns them black and adds an underline. For this page only i'd like for them to remain the same color (#d65124) and have no underline. 

Version 7.0, Brine Family, Custom Template. 

 

I have tried a bunch of custom CSS that other videos have recommended and have not been able to figure this one out with my limited website knowledge - please haaalp! 

 

Do you mean this text? 

image.thumb.png.a71da03560edfc121b4d7341c5d00b0a.png

Can you explain this point?

"The design format for the rest of the website turns them black and adds an underline" When do you want this page turn color?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 8/10/2022 at 3:53 AM, KellyLHF said:

So typically when I add a URL to text it will change that text to a black colored font with an underline. How can I have these headings have a URL to the articles they are about while keeping the text the current color? 

Make title have link same as image or different?

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 8/12/2022 at 12:19 PM, KellyLHF said:

The same! 

Try adding to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
  $("div#block-1d0bc7aa693a84188e94+.row .image-block").click(function() {
  window.location = $(this).find("a").attr("href"); 
  return false;
});
</script>
<style>
  div#block-1d0bc7aa693a84188e94+.row .image-block {
  	cursor: pointer;
  }
</style>

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 8/15/2022 at 1:26 AM, KellyLHF said:

I tried as you said and when I added in the link to the first image block on that page it did the same thing I was trying to avoid - see hereimage.thumb.png.354c6aa8a3d28eac806737c46426e7ea.png. How can I add in the link so that the title stays the orange color and not black with the underline? 

I see you solved? It looks orange here

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 2 weeks later...
On 8/29/2022 at 10:08 PM, KellyLHF said:

it is orange, but because I don't have it linked. 😞 

You can make it linked, then we can check problem easier

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 9/7/2022 at 7:19 AM, KellyLHF said:

They are linked now! 

Add to Design > Custom CSS

.image-card .image-title a {
    color: #d65124 !important;
    border: none;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.