Zen Cart Logo
Forums / Addon Sideboxes / How to change email entry width in Newsletter Subscribe?

How to change email entry width in Newsletter Subscribe?

Locked

Views: 1,795

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
13 Jul 2009, 3:47 PM
#1
dpet102 avatar

dpet102

New Zenner

Join Date:
Mar 2009
Posts:
76
Plugin Contributions:
0

How to change email entry width in Newsletter Subscribe?

Hi everyone,

I installed the 'Newsletter Subscribe' module without any problems, and it's a cool module to have, very useful.

I have the module set up to view on each page of my site, but I've noticed that the middle part, where a visitor can enter an email need to be changed a bit.

The black border is too close to the right and I'd like to have it the same as the left hand side. I've attached a pic so you can see what I'm talking about. How do I do this?

I'm using 1.3.8a, Firefox with Webmasters Toolkit if that helps.

Thanks

13 Jul 2009, 3:51 PM
#2
dpet102 avatar

dpet102

New Zenner

Join Date:
Mar 2009
Posts:
76
Plugin Contributions:
0

Re: How to change email entry width in Newsletter Subscribe?

Update:

Here's what I see in Firefox using the Webmaster Tool when I highlight just the "enter your email" section.

  • (line 1)
    {
    margin-top: 0pt;
    margin-right: 0pt;
    margin-bottom: 0pt;
    margin-left: 0pt;
    padding-top: 0pt;
    padding-right: 0pt;
    padding-bottom: 0pt;
    padding-left: 0pt;
    }

input, select, textarea (line 13)

{

font-family: arial;
color: #ffffff;
line-height: 13px;
font-size: 11px;
background-color: #6d6d6d;
background-image: none;
background-repeat: repeat;
background-attachment: scroll;
background-position: 0% 0%;
padding-top: 2px;
padding-right: 2px;
padding-bottom: 2px;
padding-left: 2px;
border-top-width: 1px;
border-right-width-value: 1px;
border-right-width-ltr-source: physical;
border-right-width-rtl-source: physical;
border-bottom-width: 1px;
border-left-width-value: 1px;
border-left-width-ltr-source: physical;
border-left-width-rtl-source: physical;
border-top-style: solid;
border-right-style-value: solid;
border-right-style-ltr-source: physical;
border-right-style-rtl-source: physical;
border-bottom-style: solid;
border-left-style-value: solid;
border-left-style-ltr-source: physical;
border-left-style-rtl-source: physical;
border-top-color: #000000;
border-right-color-value: #000000;
border-right-color-ltr-source: physical;
border-right-color-rtl-source: physical;
border-bottom-color: #000000;
border-left-color-value: #000000;
border-left-color-ltr-source: physical;
border-left-color-rtl-source: physical;
vertical-align: middle;

}
http://indigodecorative.com/includes/templates/12541/css/stylesheet.css

form, select, input (line 26)

{

}

input:focus, select:focus, textarea:focus (line 37)

{

}

12 Sep 2009, 6:40 PM
#3
bigflame avatar

bigflame

New Zenner

Join Date:
Aug 2009
Posts:
1
Plugin Contributions:
0

Re: How to change email entry width in Newsletter Subscribe?

includes\templates\yourtemplate\sideboxes\tpl_subscribe.php

is that you need edit this file?

   $content .= '<label>' . zen_draw_input_field('email', '', 'size="18" maxlength="90" style="width: ' .
               ($column_width-30) . 'px" value="' . HEADER_SUBSCRIBE_DEFAULT_TEXT .

I'm also a newbie, anyone can help?:lookaroun