Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Jan 2006
    Posts
    6
    Plugin Contributions
    0

    Default newsletter subscribe mod and css

    I have put the "newsletter subscribe only" mod to my cart. This means a new page are added - subscribe. The CSS does not work for this page. I understand I have to make changes to the CSS-file, but do not understand how? What should I put in here? If anybody could help I would be happy.

  2. #2
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: newsletter subscribe mod and css

    can you give us a link to the page you're talking about?

    and what you are trying to do with it?

  3. #3
    Join Date
    Jan 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: newsletter subscribe mod and css

    Thank you for answering. The problem I had disappeared when I moved the cart from local to server outside. For a reason I do not know. But there is still one more challenge. In the left column, there is the oppurtunity to make a newsletter only subscription. I want the background here to be gray as well, like the rest of the column. I'm a little lost in the css so I would be thankful for help. Take a look at www.skolseg.no

  4. #4
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: newsletter subscribe mod and css

    i would just add the following to your CSS under the sideboxes section:

    Code:
    #subscribeContent{background-color:#CCCCCC}
    should work fine...


    let me know if you have any problems.

  5. #5
    Join Date
    Jan 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: newsletter subscribe mod and css

    Thank tou - 50% success. This gave me gray color in the box, except behind the letters. So the background color for the text was still white. I had to remove the line you gave me, after testing, 'cause it were not so pretty.

  6. #6
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: newsletter subscribe mod and css

    oops... forgot with that particular sidebox you need to do a little editing in the template. gimme an hour or so, and i'll take a look.

  7. #7
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: newsletter subscribe mod and css

    find the tpl_subscribe.php file in your templates/YOUR_TEMPLATE/sideboxes/tpl_subscribe.php

    and give a div id to the 2nd line. (line 13, i believe)

    so it looks like this:
    Code:
      $content .= '<div id="subscribeBox">';
    then in your CSS you can add:

    Code:
    #subscribeBox {background-color:#ccc}
    should fill color in the rest of the blanks...

  8. #8
    Join Date
    Jan 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: newsletter subscribe mod and css

    Sorry, it did not solve the problem.

    To do it clair. I put your line into the start of the tpl_subscribe.php, so it starts like this.

    $content = '';
    $content .= '<div id="subscribeBox">';
    $content .= zen_draw_form('subscribe', zen_href_link(FILENAME_SUBSCRIBE, '', 'SSL'), 'post', '');

    And in the css, below sideboxes I put this two lines

    #subscribeBox {background-color:#CCCCCC}

    #subscribeContent{background-color:#CCCCCC}

    May be I have done something wrong?

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

    Default Re: newsletter subscribe mod and css

    I don't know the context of this file, but if you are creating a div that wasn't there before, you also need to make a </div> at the end of the relevant area. This might be causing the problem...

  10. #10
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: newsletter subscribe mod and css

    Good call, Glenn. I forgot to mention that part...

    hopefully it worked out.

 

 
Page 1 of 2 12 LastLast

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