Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    May 2007
    Posts
    139
    Plugin Contributions
    0

    Default Re: newsletter subscribe mod and css

    Hiya,

    Looks like it's been a while for posting on this thread... wondering if I'd get a reply, hope so!

    I followed the abovementionned instructions to change the color background behind the subscribe box lettering. I also added the forgotten </div> at the bottom of my tpl_subscribe.php as such:

    $content = '';
    $content .= '<div id="subscribeBox">';
    $content .= zen_draw_form('subscribe', zen_href_link(FILENAME_SUBSCRIBE, '', 'SSL'), 'post', '');
    $content .= zen_draw_hidden_field('act', 'subscribe');
    $content .= zen_draw_hidden_field('main_page',FILENAME_SUBSCRIBE);
    $content .= ' <label>'. (empty($subscribe_text) ? '' : $subscribe_text);
    $content .= ' &nbsp;' . zen_draw_input_field('email', '', 'size="18" maxlength="30" style="width: ' .
    ($column_width-30) . 'px" value="' . HEADER_SUBSCRIBE_DEFAULT_TEXT .
    '" onfocus="if (this.value == \'' . HEADER_SUBSCRIBE_DEFAULT_TEXT . '\') this.value = \'\';"');
    $content .= '</label>';
    if(EMAIL_USE_HTML == 'true') {
    $content .= ' <br /> <label>' . zen_draw_radio_field('email_format', 'HTML', true) . ENTRY_EMAIL_HTML_DISPLAY . '</label>';
    $content .= ' <label style="white-space:nowrap">' . zen_draw_radio_field('email_format', 'TEXT', false) . ENTRY_EMAIL_TEXT_DISPLAY . '</label>';
    }

    $content .= ' <br />' . zen_image_submit (BUTTON_IMAGE_SUBSCRIBE,HEADER_SUBSCRIBE_BUTTON, 'value="' . HEADER_SUBSCRIBE_BUTTON . '" ');

    $content .= '</form>';
    $content .= '</div>';
    ?>
    Que pasa?

    Tat

  2. #12
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: newsletter subscribe mod and css

    Is there a problem, or are you just letting us know that it works as you have shown? If it works, great!

  3. #13
    Join Date
    May 2007
    Posts
    139
    Plugin Contributions
    0

    Default Re: newsletter subscribe mod and css

    Wish I could say it works... I just posted the info to clarify if I corrected it properly. Here's a screenshot of what I mean

    I'd like the entire content to be baby blue..

    Tat
    Attached Images Attached Images  

  4. #14
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: newsletter subscribe mod and css

    Since the link text is on top of a blue element, the only reason its background isn't the same is that it has beed styled with a different background. It is most likely covered by a generic link class.
    The fix is to find the class or identifier that is assigned to it (possibly <label> - should be visible in view source) and style labels in the subscribe div to have no background.

    label#subscribeBox {background-color: transparent;)

    or something like this.

  5. #15
    Join Date
    May 2007
    Posts
    139
    Plugin Contributions
    0

    Default Re: newsletter subscribe mod and css

    Thanks gjh,

    It worked... so simple.

    Tatiana

  6. #16
    Join Date
    Sep 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: newsletter subscribe mod and css

    hi

    I know this forum hasn't had a message for a while, but I am trying to change the same thing, the background colour from white. I just cannot find where to change this code.

    Please help

  7. #17
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: newsletter subscribe mod and css

    If you can post a link to your site, we can give the best advice. There may be a simpler way to do it than described above.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Newsletter Subscribe mod - CSS & text changes
    By yeah! in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 12 Nov 2010, 06:47 AM
  2. Exporting email addresses - Newsletter Subscribe mod
    By MeltDown in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 2 Apr 2010, 05:54 PM
  3. Newsletter Subscribe mod - Confirmation Email Not Sending Out?
    By msmith29063 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 18 Nov 2008, 12:09 AM
  4. Newsletter re-subscribe when Newsletter Subscribe module installed
    By karl19 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 18 Oct 2007, 05:57 PM
  5. newsletters not sending in HTML format - using newsletter subscribe mod
    By shopjackiesjewels in forum General Questions
    Replies: 19
    Last Post: 1 May 2007, 03:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg