Thread: Contact Box

Results 1 to 10 of 10
  1. #1
    Join Date
    May 2009
    Posts
    197
    Plugin Contributions
    0

    Default Contact Box

    Please show me how to expand the contact box. The vertical length is too narrow. Thanks for your help.

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Contact Box

    Quote Originally Posted by ttmb33 View Post
    Please show me how to expand the contact box. The vertical length is too narrow. Thanks for your help.
    Link to your site?

  3. #3
    Join Date
    May 2009
    Posts
    197
    Plugin Contributions
    0

    Default Re: Contact Box

    This is the URL I am working on:

    www.gemzgold.com

    Thanks!

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Contact Box

    Quote Originally Posted by ttmb33 View Post
    This is the URL I am working on:

    www.gemzgold.com

    Thanks!
    open includes/templates/YOUR_TEMPLATE/css/stylesheet.css

    find the following rule:

    FORM, SELECT, INPUT {
    display: inline;
    font-size: 1em;
    margin: 0.1em;
    }

    change the margin to 1em instead of 0.1em

    adjust the margin setting until you get the height you want.

  5. #5
    Join Date
    May 2009
    Posts
    197
    Plugin Contributions
    0

    Default Re: Contact Box

    I did try it, but it doesn't work.

  6. #6
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Contact Box

    Clyde...........not arguing, as I know you know what you're doing, but won't that affect other form, as well?

    But, then again, I could be missing something here. I'm under the assumption that ttmb was talking about the box on the "Contact Us" page, which is very short................and I was going to suggest that this be done one of 2 ways.

    The first with css, by adding this to the stylesheet:

    Code:
    #contactUsForm textarea {
       height: 200px;
    }

    Or by editing the php......includes/templates/CUSTOM/templates/tpl_contact_us_default.php
    by finding this line:

    Code:
    <?php echo zen_draw_textarea_field('enquiry', '30', '7', $enquiry, 'id="enquiry"'); ?>
    .....and changing the '7' to the desired number of rows.....such as 20 making that be:

    Code:
    <?php echo zen_draw_textarea_field('enquiry', '30', '20', $enquiry, 'id="enquiry"'); ?>
    Would this not be correct?
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  7. #7
    Join Date
    May 2009
    Posts
    197
    Plugin Contributions
    0

    Default Re: Contact Box

    It works great. Thanks so much for your help.

  8. #8
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Contact Box

    Yes, it will affect the other forms, but it does give a little bit of "breathing room" between the input fields.

    Yes, you can add

    #contactUsForm textarea {
    height: 200px;
    }
    and that will increase the height of the textarea

    and/or using you second option - increase the number of rows for the textarea

    <?php echo zen_draw_textarea_field('enquiry', '30', '20', $enquiry, 'id="enquiry"'); ?>

    A combination of all three would be my preferred option since that would increase the overall height and "breathing space" for the contact form.

  9. #9
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Contact Box

    Well, yea...........I can understand that, but the
    Code:
    FORM, SELECT, INPUT {
    	display: inline;
    	font-size: 1em;
    	margin: 0.1em;
    	}
    also makes the header spaced out more than what he has it, makes the shopping cart page mis-align the buttons, and adds a lot of unnecessary space to the Create Account fields, just to name a few.

    But, no biggie.....................and as I said, I know you know what you're doing..............it's just one of those 'personal opinion' things, I guess.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  10. #10
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Contact Box

    If you look at the contact form on my site (link in my sig)

    You can see how I've styled it.

    It uses its own "contact_us.css" stylesheet

    and tpl_contact_us_default.php has been modified as well.

 

 

Similar Threads

  1. v139h Contact Us Form - add text box
    By jt1020 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Jun 2012, 10:21 PM
  2. Adding Constant Contact Newsletter Box
    By zulaya in forum Addon Sideboxes
    Replies: 2
    Last Post: 21 Apr 2011, 02:19 PM
  3. Removing the Contact US email Box
    By RobertG in forum General Questions
    Replies: 3
    Last Post: 1 Jun 2010, 07:09 PM
  4. Floating Quick Contact Box/form
    By renaissanceart in forum Basic Configuration
    Replies: 0
    Last Post: 22 Apr 2010, 02:23 AM
  5. Removing box on Contact Us page
    By homebrew in forum General Questions
    Replies: 5
    Last Post: 11 Sep 2008, 09:53 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR