How to change text box width for Newsletter subscribe

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
simonb
New Member
New Member
Posts: 7
Joined: Fri Mar 11, 2011 3:37 pm

How to change text box width for Newsletter subscribe

Post by simonb »

Hi,

I've installed Newsletter Made Simple. I am customising the Subscribe form. The only thing I can't figure out how to do is set the width of the name/email text input boxes.

Is there a way to set this?

Thanks,
SimonB
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to change text box width for Newsletter subscribe

Post by Dr.CSS »

Use CSS to style it to the size you need...
simonb
New Member
New Member
Posts: 7
Joined: Fri Mar 11, 2011 3:37 pm

Re: How to change text box width for Newsletter subscribe

Post by simonb »

OK. Thanks. Where I was going wrong was I was looking for a "length" attribution and CSS does it with the "width" attribute. It's working now by defining the "cms_textfield" class.

Code: Select all

.cms_textfield {  font-family: arial; font-size: 8px; line-height:1.6; width:105px;}
Next question: How to I change {$prompt_email} from "Email Address" to say just "Email"? I can obviously just hard-code it into the template but I suspect there is a neater way to change it somewhere else.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to change text box width for Newsletter subscribe

Post by Dr.CSS »

Most times there is a setting in the module admin for things like this, I would check every tab, button, etc...
simonb
New Member
New Member
Posts: 7
Joined: Fri Mar 11, 2011 3:37 pm

Re: [SOLVED] How to change text box width Newsletter subscr

Post by simonb »

Dr.CSS wrote:Most times there is a setting in the module admin for things like this, I would check every tab, button, etc...
I looked all over and couldn't find anything. Anyway my original problem is solved and I can work around this other one.

Thanks & regards
janvl
Power Poster
Power Poster
Posts: 973
Joined: Wed Aug 13, 2008 10:57 am

Re: How to change text box width for Newsletter subscribe

Post by janvl »

It is probably in the languagefiles that are in the module directory for this module.

Regards,
Jan
Post Reply

Return to “Layout and Design (CSS & HTML)”