Jump to content

Custom button design and rollover

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 13
  • Created
  • Last Reply

Top Posters In This Topic

55 minutes ago, brendanpeer said:

Site URL: https://uk.thenueco.com/pages/survey

Hi 

Does anyone know if it's possible to have customs buttons like the below example?

https://uk.thenueco.com/pages/survey

Thanks 

Do you mean this effect when hovering this menu?

image.thumb.png.724b6443843cbfbdb66475997a94caef.png

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, Keyword Highlighter
If 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
On 1/17/2022 at 11:13 PM, brendanpeer said:

Or id even take just the custom border with out the roll over of that's easier 

Possible. If you share link to page where you want to apply effect, we can tweak above code on your site 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
15 hours ago, brendanpeer said:

Hi Tuanphan

Thanks for replying. the site is www.heydaysworkshops.com password creative23

Thanks again

For Learn More button or all buttons in main content?

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
20 hours ago, brendanpeer said:

Hi,

For all buttons site wide

Thanks 

Try add to Design > Custom CSS (header button)

a.btn:hover:before {
    content: "";
    position: absolute;
    top: -25px;
    left: -35px;
    right: -40px;
    bottom: 0;
    display: block;
    background-image: url(//cdn.shopify.com/s/files/1/0253/3661/0863/t/61/assets/icon-sketch-circle.svg?v=1365897…);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
}
a.btn:hover {
    background-color: Transparent !important;
    color: black !important;
    border: none !important;
}

 

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
  • Solution
On 1/22/2022 at 7:37 PM, brendanpeer said:

Oh yeah amazing, can it be site wide?

Thanks so much for your help here

It just a test code for header button.

Use this new code for header button, button blocks button

a.btn:hover:before, .button-block a:hover:before {
    content: "";
    position: absolute;
    top: -25px;
    left: -35px;
    right: -40px;
    bottom: 0;
    display: block;
    background-image: url(//cdn.shopify.com/s/files/1/0253/3661/0863/t/61/assets/icon-sketch-circle.svg?v=1365897…);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
}
a.btn:hover, .button-block a:hover {
    background-color: Transparent !important;
    color: black !important;
    border: none !important;
}
.button-block a {
    display: inline-block;
    position: relative;
}

Currently I only see these 2 types of buttons on your site. If you use other types (list button, image block button, input button..) you can share link to page where you added them, I can check code eaiser

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.