Jump to content

Text Link Zoom In Hover.

Recommended Posts

https://www.thesoaresprotocol.com/

Hey everyone!

I am trying to create a hover effect that would zoom in on my homepage menu links when hovering, but only for my homepage links. To improve the effectiveness of the CTAs and the navigation.

Something like that but applying to size.

https://codepen.io/zastrow/pen/yLgVRNZ

I am referring to those text links:

image.png.14da45f290b76cf8c45b46e7821c787b.png

Thank you!

Edited by A1Protocol
Link to comment
  • A1Protocol changed the title to Text Link Zoom In Hover.
  • Replies 4
  • Views 288
  • Created
  • Last Reply

Top Posters In This Topic

I am also trying to apply this CSS code to my contact form button (here) and my newsletter signup button (in the footer) but I can't seem to find the right classes to target (I changed the header actions class of course).

/* Lifted Button with Shadow */
.header-actions-action--cta{
  transition:all .5s!important;
}
.header-actions-action--cta:hover *{
  box-shadow: 0 10px 15px rgba(0,0,0,0.5);
  margin-top:-2px;
  opacity:1!important;
  transition:all .5s!important;
}


I tried:


button-block
sqs-block-button
sqs-block-button-element
sqs-block-button-element--small/medium/large
sqs-button-element--primary
..and so on.

Thank you again!

Edited by A1Protocol
Link to comment

With contact form lightbox button, use this

button.lightbox-handle:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.5);
    margin-top:-2px;
    opacity:1 !important;
    transition:all .5s !important;
}
button.lightbox-handle {
    transition: all 0.5s !important;
}

 

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
6 hours ago, tuanphan said:

With contact form lightbox button, use this

button.lightbox-handle:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.5);
    margin-top:-2px;
    opacity:1 !important;
    transition:all .5s !important;
}
button.lightbox-handle {
    transition: all 0.5s !important;
}

 

Thank you Tuan! Works great! Any ideas for the Newsletter button and text hover effect?

 

Edited by A1Protocol
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.