ACHK Posted June 17 Share Posted June 17 I am having trouble changing the "Post Comment" button without affecting the style settings of the primary button (see screenshot and html code). I managed to fix the "Preview" link with the following code but didn't work on the "Post Comment" button: .squarespace-comments .comment-btn-wrapper .btn-text { font-family: 'montserrat'; font-size: 16px; color: #C171A7; padding: 1rem .5rem; } I would like to only change this button to NOT inherit the primary button design settings (as it changes other buttons using this design on the site), but without using a ".comment-btn:after" code (that messed up the spacing). The changes I'd like to make are: - Remove border-width: 0px; - Adjust padding: 1 rem .5rem; - Change font-weight: 400; - Change text to / content: "Post Comment" (no ellipsis) Appreciate anyone that can help! Thanks! Link to comment
tuanphan Posted June 20 Share Posted June 20 Can you share link to post in screenshot? We can check 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
ACHK Posted June 21 Author Share Posted June 21 Thanks! URL: https://grasshopper-snail-glt4.squarespace.com/writing/leadership-in-the-post-moneyball-era?p Password: test_help I noticed the same happened with the "Post Reply" comment. Link to comment
Solution tuanphan Posted June 23 Solution Share Posted June 23 Use this code span.comment-btn.sqs-system-button.sqs-editable-button-font.sqs-editable-button-shape.sqs-button-element--primary { font-family: 'montserrat' !important; font-size: 0 !important; color: #C171A7; padding: 1rem .5rem !important; border-radius: 0 !important; } span.comment-btn.sqs-system-button.sqs-editable-button-font.sqs-editable-button-shape.sqs-button-element--primary:before { content: "Post Comment"; font-size: 16px !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
ACHK Posted July 1 Author Share Posted July 1 Thanks so much! I changed the "border-radius" to "border-width" and it worked great! tuanphan 1 Link to comment
_Zander_ Posted September 20 Share Posted September 20 I just used the above code to change the font color of my "post comment" button, which was white and not showing up on a white background. Thanks to you both! 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