WordPress.org

Ready to get started?Download WordPress

Forums

WordPress-to-lead for Salesforce CRM
[resolved] Can Not Style Custom Fields! (3 posts)

  1. TomBG
    Member
    Posted 2 years ago #

    I can style all the default fields in my forms, mainly affecting the width of the fields (for example: the input for the state does not need to be 300px wide) BUT when I go to do the same to some custom fields
    (age for example:
    #sf_ClientAge__c {width: 100px;}
    )

    it won't work.

    The defaults do (

    #sf_phone { width:150px;}
    )

    Can anyone explain this?

    http://wordpress.org/extend/plugins/salesforce-wordpress-to-lead/

  2. Nick Ciske
    Member
    Plugin Author

    Posted 1 year ago #

    Must be an issue with something else in your CSS overriding that width further down the file.

    Try moving that particular rule to the bottom of your CSS file, if it works there, then it was getting overridden.

    OR

    Try adding !important to your CSS (not elegant, but works).

    #sf_ClientAge__c {width: 100px!important;}

  3. Nick Ciske
    Member
    Plugin Author

    Posted 1 year ago #

    Assumed resolved due to no response.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic