Jump to content

Remove default hyperlink on blog posts' Author Bio - Name and Author Bio - Image

Recommended Posts

I'm looking for some simple CSS to hide the hyperlink when hovering over the name and bio image in the Author Profile at the end of each blog post. By default, when hovering over the name and the bio image, SQS links to the blog page. I don't want any hyperlink on the bio name or image. If that's not possible - then CSS to change the default hyperlink to another page on the site.

Thank you!

Edited by gleemedia
Link to comment
  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

  • 10 months later...
On 12/28/2023 at 10:45 AM, Mary_DG said:

Hello Tuanphan, what if I want to remove it only for certain blog pages? 

 

You can add to Blog Page Header

<style>
  .blog-item-author-profile-wrapper {
    pointer-events: none;
}
</style>

If you mean specific blog posts, edit that blog post > insert a Code Block > Paste this code

  <style>
  .blog-item-author-profile-wrapper {
    pointer-events: none;
}
</style>

 

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!)

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.