Home>Support>Button CSS

Button CSS

Every since the latest theme update, my custom css doesn’t seem to be saving. Having issues now with my search button–it’s suddenly grayed out on my iphone, and now on the browser, too–I keep trying to fix the css but it seems I can’t override it??
This is my button css:

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    padding: 3px 14px;
  line-height: 2;
}

a.button, button, html input[type="button"], input[type="reset"], input[type="submit"] {
    padding: 8px 8px;
    border-width: 1px;
    border-style: solid;
  	border-color: #EEAF48;
    background-color: #EEAF48;
    border-radius: 3px;
        font-weight: bold;
    color: #fff;
    box-shadow: none;
    width: auto;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
    text-shadow: none;
   font-size: 14px;
  margin-top: 5px;
 
}

button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    border-width: 1px;
    border-style: solid;
    border-color: #ECA532;
    background-color: #ECA532;
  font-size: 14px;
 
}

It should be two shades of orange–but on my iphone and now browser, it’s neither. What am I missing here? Also, I don’t have an css for visited–do i need that?

Thanks!

URL: http://caritaylor.com

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 5 months ago wiredpoet

    Got the orange back, but it’s still gray after visiting and still gray totally on my iphone, but has an orange border. When I right click ‘inspect element’ in firefox, that’s when it goes gray. Iphone it’s like it’s only recognizing border, and not radius or anything else.

  2. 9 years, 5 months ago wiredpoet

    bah..figured it out. io8 adds it’s own styling, so had to add -webkit-appearance: none; to my buttons. What’s weird is that it just started doing it… ah well :)

  3. 9 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    Hi Wiredpoet

    Great to hear from you. Thanks for asking and posting your solution.

    Underscores, the starter theme Vantage is originally based on now adds the following to button styling:

    -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
    

    I’ll add this moving forward.

    Thanks :)

  4. 9 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    Update made to Vantage development version. Thanks for the feedback :)

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More