Page 1 of 1
SORTED! Input bg color on NMS
Posted: Mon Dec 22, 2008 3:27 pm
by pgingao
Hi all,
I can't find were to change this in-line style="background-color: rgb(255, 255, 160);" on EMAIL ADDRESS and NAME on subscribe NMS. Any ideas?
Paulo
Re: Input bg color
Posted: Mon Dec 22, 2008 4:05 pm
by tyman00
1. In order to get the best support you should provide a better Title for the thread
2. This is the wrong forum. Should go under Modules/Add-Ons
3. I did a right click --> View Source on my NMS subscription page. I found
Code: Select all
<input type="text" name="m5email" id="m5email" value="" size="30" maxlength="150" />
and
Code: Select all
<input type="text" name="m5username" id="m5username" value="" size="30" maxlength="150" />
Try targeting m5email and m5username in your stylesheet.
FWIW, that took all of 2 minutes to research.
Re: Input bg color
Posted: Mon Dec 22, 2008 4:35 pm
by pgingao
Hi tyman00,
thanks for your tips. Please nothe this code style="background-color: rgb(255, 255, 160);" is an in-line style so it overwrides linked or embedded!
Thanks
Paulo
Re: Input bg color
Posted: Mon Dec 22, 2008 4:42 pm
by tyman00
Huh, that's interesting since mine doesn't have any in-line styling and I haven't done any changes in that sense to my input tags. So I apologize for jumping to conclusions.
Was this a fresh installation from the latest release of NMS or was this upgraded from a Previous Version? Does your template in the admin have {$username} where your tag is?
Re: Input bg color
Posted: Mon Dec 22, 2008 4:54 pm
by pgingao
Hi again,
no worries! Yes it's a fresh new install and my template is:
{if $message ne ""}
{$message}
{/if}
{$formstart}
{$formhidden}
{if $prompt_email ne ""}
{$prompt_email}:{$email}
{/if}
{if $prompt_username ne ""}
{$prompt_username}:{$username}
{/if}
{*foreach from=$listids item=curr_id}
{$curr_id}
{/foreach*}
{$submitbtn}
{$formend}
Thanks
Paulo
Re: Input bg color
Posted: Mon Dec 22, 2008 4:56 pm
by tyman00
Unfortunately, this issue just passed my realm of capabilities. I can't imagine that calguy would build an inline style into a form input, plus it doesn't show up in mine (which confuses me).
Re: Input bg color on NMS SORTED
Posted: Mon Dec 22, 2008 5:12 pm
by pgingao
You're not gonna bellieve this!
I was looking at it with firebug and that in-line style as there! But it's added by my browser with some extension, maybe auto complete or so!
It never came to me it could be something like this!
Sorry for the trouble guys!
Paulo
Re: SORTED! Input bg color on NMS
Posted: Mon Dec 22, 2008 5:16 pm
by tyman00
Can't believe I didn't think of that. It's the highlight from Google Toolbar (assuming you have it installed).
Re: SORTED! Input bg color on NMS
Posted: Mon Dec 22, 2008 5:20 pm
by pgingao
Ye, can be! We always go for things more complicated
Paulo