- This topic has 2 replies, 2 voices, and was last updated 13 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › How do I add custom style to custom field
I created a custom textarea field for the member profile page. How do I add a custom style for it? I want to set it for a specific hieght and width without making necessary for our members to drag the field open. The source for the fieldafter the page is generated is:
<textarea id=”wp_emember_Bio” name=”emember_custom[Bio]” class=”” ></textarea>
By the way, after adding the field, it did not save the its content. I had to deactivate WP-eMember and reactivate before the values saved.
You should be able to target the “wp_emember_Bio” element using CSS and specifying a width and height for it. For example:
#wp_emember_Bio
{
width:300px !important;
height:200px !important;
}
If you updated eMember previously without doing the activation and deactivation then that would have made the database columns to go out of sync and you would observe the behavior you saw (can’t update stuff).
Thanks for the .css.