Jump to content

Button Styling CSS Not Working at Mobile Size

Recommended Posts

  • Replies 1
  • Views 278
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

hello,

I have Same Issues Create but I have Solution For you

@media (max-width: 799px)

{

.section-id > p > a

{

 padding: 0.4em;
 color: white;
 background: #4b4bd7;
 border-radius: 4px;
 /* width: 100%; */
 font-size: 1.05rem;

}
}

using this type of code 
if can't working the property using the !important also 

and also using this type of property for primary secondary btn 
.header-menu-cta replace with section-id  

.header-menu-cta > .theme-btn--primary {
    background: #fdb812 !important;
    color: black !important;
    border: none !important;

  }

using media query is very important

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.