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

  1. TomBG
    Posted 4 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?


  2. Nick Ciske
    Plugin Author

    Posted 4 years 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.


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

    #sf_ClientAge__c {width: 100px!important;}

  3. Nick Ciske
    Plugin Author

    Posted 3 years ago #

    Assumed resolved due to no response.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress-to-lead for Salesforce CRM
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic