WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] watermark makes field wider (3 posts)

  1. mr_swede
    Member
    Posted 1 year ago #

    I've come across something I can't solve...

    When I add the 'watermark' option to a field, it gets much wider regardless of the size/maxlength option. It fills the entire page width which looks ugly.

    <p>
        [text* company 25/25 class:fill watermark "Company or Organization"] </p>

    If I remove 'watermark' option the field is displayed correctly in size, see below:

    <p>
        [text* company 25/25 "Company or Organization"] </p>

    Anyone who can help out?

    http://wordpress.org/extend/plugins/contact-form-7/

  2. mr_swede
    Member
    Posted 1 year ago #

    Seems to be a theme issue.

    I switched to default theme, twenty-eleven, and the fields are now displayed with their correct sizes.

    Any help would still be appreciated, so I know how to be able to use my theme and get the correct field sizes...

  3. mr_swede
    Member
    Posted 1 year ago #

    I solved it by inserting this around the cf shortcode:

    <div style="width:inherit;">
    <div style="width:300px; float:left;">
    [contact-form-7 id="xxx" title="Title"]
    </div>
    </div>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic