WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe2
[resolved] Change button style (3 posts)

  1. marblesandmore
    Member
    Posted 1 year ago #

    Hello,

    I have been fighting with the style of the buttons for 2 hours now and I give up and ask for help.

    I know you can add a class to the style.css and that part worked well for the text. I have the text in the right format, size and color.
    I called the class: "subscribe" and added all kinds of formats to border.

    .subscribe { font-family: helvetica; color: #666666; font-size: 12px; border:3px solid; border-color: #000;}

    However it only changes the border of the ENTIRE block. Including the text. I only want it to change the border of the (un)subscribe buttons.

    Any help?

    Website: marblesandmore.com

    http://wordpress.org/extend/plugins/subscribe2/

  2. mattyrob
    Member
    Plugin Author

    Posted 1 year ago #

    @marblesandmore,

    You need to restrict the CSS you are defining to the buttons alone using an attribute selector in you CSS. Something like this should work:

    .subscribe input[type="submit"] { font-family: helvetica; color: #666666; font-size: 12px; border:3px solid; border-color: #000;}

  3. marblesandmore
    Member
    Posted 1 year ago #

    Thank you very much for your help!
    That did it!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic