Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #649877

    I just made a custom form using the default Enfold CSS formating.

    One of my buttons is the “reset” button to delete all fields. I was surprised to see a basic button next to the nicely formated “submit” button.

    Reviewing the Enfold CSS I noticed that there is no code for input type “reset”. I have added that now manually in my child CSS file.

    However, I would suggest to amend the official Enfold CSS with some definitions for this input type.

    Best regards,
    Gunther

    • This topic was modified 8 years, 6 months ago by GSM.
    #650379

    Hi GSM,

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Regards,
    Rikard

    #650775

    See private content …

    #651313

    Hi,

    I’m guessing you got it working because the two buttons on the bottom look identical to me?

    Regards,
    Rikard

    #651362

    Hi Rikard,

    I added the missing code into my style.css. Not sure whether it covers all devices but it looked fine on my desktop, iPad and Xperia. I would just like to suggest to include a definition for this input type in one of your next updates.

    input[type='reset'] {
    	background-color: #435960;
    	color: #ffffff;
    	padding: 9px 22px;
    	cursor: pointer;
    	border: none;
    	border-radius: 0px;
    	-webkit-appearance: none;
    }
    
    input[type='reset']:hover {
    	background-color: #88bbc8;
    }
    • This reply was modified 8 years, 6 months ago by GSM.
    #651927

    Hi,

    Ok, thanks for sharing that, much appreciated!

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.