SmDDB Posted December 6, 2021 Share Posted December 6, 2021 On my client's homepage, the site title is an active link (on hover shows underline and finger pointer) but goes nowhere, since the browser is already on the homepage. <!--SITE TITLE OR LOGO--> <h1 data-content-field="site-title" class="site-title "> <a href="/" class="site-title-link"> This is the site title </a> </h1> She finds this behavior confusing and would like to disable it (only on the homepage). I cannot find a way to disable/hide the link. Searching the forum did not reveal a solution for this specific case, and the code I tried below did not work. .homepage h1 a:link a:hover { display: none !important; text-decoration: none !important; } This seems pretty basic, so I'm guessing I'm missing something obvious. Thanks for any help, no matter how embarrassing to me. Galapagos template, v . 7.0 Link to comment
Beyondspace Posted December 6, 2021 Share Posted December 6, 2021 2 hours ago, SmDDB said: On my client's homepage, the site title is an active link (on hover shows underline and finger pointer) but goes nowhere, since the browser is already on the homepage. <!--SITE TITLE OR LOGO--> <h1 data-content-field="site-title" class="site-title "> <a href="/" class="site-title-link"> This is the site title </a> </h1> She finds this behavior confusing and would like to disable it (only on the homepage). I cannot find a way to disable/hide the link. Searching the forum did not reveal a solution for this specific case, and the code I tried below did not work. .homepage h1 a:link a:hover { display: none !important; text-decoration: none !important; } This seems pretty basic, so I'm guessing I'm missing something obvious. Thanks for any help, no matter how embarrassing to me. Galapagos template, v . 7.0 Can you share your site with the protected password to check your issue? https://support.squarespace.com/hc/en-us/articles/205815528-Site-wide-passwords Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
SmDDB Posted December 6, 2021 Author Share Posted December 6, 2021 Thank you for responding. Here is the info: https://sandradeanartist.com SqSp1206Help Link to comment
SmDDB Posted December 7, 2021 Author Share Posted December 7, 2021 Removed the password, as I need the site to be seen, and I don't know when you're coming back. I appreciate the initial effort, thanks. Link to comment
MidnightClub Posted December 7, 2021 Share Posted December 7, 2021 Hi @SmDDB, Try this: #collection-5d01791ff7754c00012b4be8{ .site-title-link{pointer-events: none;} } Basically only on the homepage, you deactivate the possibility to have an action on click on the logo. Cheers, Fab SmDDB 1 Link to comment
SmDDB Posted December 7, 2021 Author Share Posted December 7, 2021 (edited) 11 hours ago, MidnightClub said: Hi @SmDDB, Try this: #collection-5d01791ff7754c00012b4be8{ .site-title-link{pointer-events: none;} } Basically only on the homepage, you deactivate the possibility to have an action on click on the logo. Cheers, Fab Totally worked, Fab, thanks so much. I saw where you got it; I'm new to collections, so this is a learning experience. Really appreciate this! — David Edited December 7, 2021 by SmDDB Link to comment
paul2009 Posted December 7, 2021 Share Posted December 7, 2021 As you want this to apply to the homepage you don't need to worry about identifying and using a Collection ID as you can use the homepage class like you did in your first example. 🙂 .homepage .site-title-link { pointer-events: none; } creedon and MidnightClub 1 1 About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
creedon Posted December 8, 2021 Share Posted December 8, 2021 (edited) On 12/7/2021 at 11:03 AM, paul2009 said: you don't need to worry about identifying and using a Collection ID as you can use the homepage class Love that homepage class. I don't know if its always been available but when I found it, it makes my brain hurt less when I need to quickly apply an effect to the homepage only. Or exclude an effect from the homepage with the use of :not! 🙂 Edited December 8, 2021 by creedon Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! Link to comment
MidnightClub Posted December 8, 2021 Share Posted December 8, 2021 11 hours ago, paul2009 said: As you want this to apply to the homepage you don't need to worry about identifying and using a Collection ID as you can use the homepage class like you did in your first example. 🙂 .homepage .site-title-link { pointer-events: none; } Wow, didn't know about this .homepage class! thanks Paul! paul2009 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment