Jump to content

How to change button size (font,padding, etc) to scale smaller on Mobile View?

Recommended Posts

I've figured out how to make the mobile view font size smaller throughout my sight, but can't figure out how to downsize buttons.

Also, on the navigation between blogs.

 

My comments button is broken on mobile, probably because the size isnt adjusted

 

(example url: indoorphins.com/body-v2/howtobodyprogramv2

 

Thank you!

Screenshot 2023-07-16 at 3.00.53 PM.png

Screenshot 2023-07-16 at 3.01.08 PM.png

Screenshot 2023-07-16 at 3.03.59 PM.png

Screenshot 2023-07-16 at 3.04.04 PM.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I see you fixed it with this CSS code?

@media screen and (max-width: 640px) {
    .comment-count span {
        font-size:15px !important
    }

    span.comment-btn.sqs-system-button.sqs-editable-button-font.sqs-editable-button-shape {
        visibility: hidden
    }

    span.comment-btn.sqs-system-button.sqs-editable-button-font.sqs-editable-button-shape:after {
        content: "LOG YOUR SCORE";
        visibility: visible;
        background: #e38b6c;
        color: #fff;
        font-family: halyard-display;
        font-weight: 500;
        font-style: normal;
        text-transform: none;
        line-height: .75em;
        letter-spacing: .05em;
        -webkit-font-smoothing: antialiased;
        font-size: 10px;
        line-height: normal;
        padding: 10px 10px
    }
}

 

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.