jimzdano Posted March 10 Share Posted March 10 I have added some nice hover effects and font to all my buttons but when I hover over them the text slightly moves. I have read this is because of padding but when I remove the padding it messes the shape of the button up. I cannot figure it out. Also it only happens when the browser window is medium to full screen. Any smaller than medium and it goes away as shown in the attached video. It also seems to happen more with the buttons further from the center of the screen. I'm brand new to this and this ones got me stumped! Here's the whole string of code I'm using for all buttons. //////ALL BUTTONS////////// .sqs-block-button-element:hover { transform: scale(1.08); box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);} #siteWrapper .sqs-button-element--primary { font-family: 'crafter';} .sqs-block-button-element {transition: all 0.3s ease-in-out!important; } .sqs-block-button-element--primary {background-color: #9bb9bb!important; } .sqs-block-button .sqs-block-button-element--medium { width: 165px !important; min-width: 125px !important; } 10.03.2024_18.38.24_REC.mp4 Link to comment
creedon Posted March 11 Share Posted March 11 Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us. A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/. Please set up a site-wide password, if your site is not public and you've not already done so. Post the password here. Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the site-wide password and how to share a link documentation to understand how they work. You may find How to post a forum question post useful. We can then take a look at your issue. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
jimzdano Posted March 12 Author Share Posted March 12 On 3/11/2024 at 12:42 AM, creedon said: Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us. A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/. Please set up a site-wide password, if your site is not public and you've not already done so. Post the password here. Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the site-wide password and how to share a link documentation to understand how they work. You may find How to post a forum question post useful. We can then take a look at your issue. https://www.missjessliteracy.com/ password55 it also happens with my social media icons in the header, depending on the size of the browser Link to comment
jimzdano Posted March 21 Author Share Posted March 21 @creedonJust wanted to bump this because I still haven't been able to figure it out and it's still plaguing most my buttons Link to comment
Solution jimzdano Posted March 22 Author Solution Share Posted March 22 Never mind I ended up fixing it... Something with squarespace button styles fighting with my code. I set both button em values to 1.2 in site styles and used code to put all buttons to width: 145px; min-width:125px; and that seemed to solve it. Hey I'm 3 for 3 on here! Nice! creedon 1 Link to comment
Laguna_Niguel Posted May 29 Share Posted May 29 Your buttons look great. Can you please post the final code so I can see the changes? I couldn't quite tell from the solution you posted. Thanks! 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