SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: form width

  1. #1
    Web Enthusiast
    Join Date
    Jul 2000
    Location
    Western Massachusetts, USA
    Posts
    1,383
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    form width

    I am trying to change the form width of the MailChimp newsletter signup form in the right sidebar of www.federalhouseinn.com. I added the following to the text widget:
    Code:
    form {
        width:200px;
    }
    It seems to have no effect. What am I missing?
    Paul C.
    ClickBasics
    http://www.clickbasics.com

  2. #2
    SitePoint Guru bronze trophy Slackr's Avatar
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    679
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    /* Add your own MailChimp form style overrides in your site stylesheet or in this style block. We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */

    Hi Paul, if you inspect the code with a tool like Firebug you can see this message. Try either doing what they recommend (adding to the HEAD or adding the !important tag to your custom width. You are essentially trying to override their default width (not sure how it is being generated), so your instruction needs to come first or be bumped up in importance by use of the !important tag.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •