Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2012
    Posts
    17
    Plugin Contributions
    0

    Default aligning contact us text area

    Hi All

    I need some help from you out there, The contact us text area box is expandable, which is good.

    But i am not able to align it along with the other two fields above .

    You can see it in the link below
    http://feerol.com/mydev1/index.php?m...230a35156a6d3d

    I am trying to pull this on the left side for alignment but not able to do so , below is the code i have but changing the values does not help on the width and alignment.ie in tpl_contact_us_default.php

    <label class="inputLabel" for="email-address"><?php echo ENTRY_EMAIL; ?></label>
    <?php echo zen_draw_input_field('email', ($email_address), ' size="40" id="email-address"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
    <br class="clearBoth" />
    <br class="clearBoth" />
    (DRAG RIGHT BOTTOM CORNER TO EXPAND)
    <label for="enquiry"><?php echo ENTRY_ENQUIRY . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?></label><br class="clearBoth" />
    <?php echo zen_draw_textarea_field('enquiry', '30', '10', $enquiry, 'id="enquiry"'); ?>


    Can you please help what needs to be done to align this ?

    --Dino

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,575
    Plugin Contributions
    88

    Default Re: aligning contact us text area

    The problem is not in your php code, it's in your CSS. Check your stylesheet.css for the selector
    Code:
    #contact_form input, textarea, select {
    and after that add
    Code:
    #contact_form textarea { width: 95%; }
    The problem is that the CSS is currently setting the width of the textarea box to 190px.

  3. #3
    Join Date
    Aug 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: aligning contact us text area

    Hi Lat9

    Thanks, i did modified the css , but nothing actually happened.

    strange isn't it.

    what could be wrong ?

    --Dino

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,575
    Plugin Contributions
    88

    Default Re: aligning contact us text area

    I'm not sure which of your CSS files contains the styling that's affecting you, but did you look specifically for
    Code:
    #contact_form input, textarea, select {
    to find the width {190px; } statement and place the
    Code:
    textarea { width: 95%; }
    directly after it? I'm still seeing the 190px overriding the 95%.

  5. #5
    Join Date
    Oct 2011
    Location
    AZ
    Posts
    384
    Plugin Contributions
    0

    Default Re: aligning contact us text area

    When I viewed the source it says you're using the abbiamo supreme template and the info is coming from:
    /includes/templates/abbiamo_supremo/css/stylesheet.css
    and that stylesheet still shows it as 190px.
    Is it possible you made the change to the default stylesheet and not the template override one?

    Also - I tried playing with it in firefox by adjusting the stylesheet and I liked the looks when I just changed the 190px to 73%. That made the left edge of the boxes align and left the comment section big enough to look like I could really write a lot.

    EDIT (If it's not too late) I see this: We’re always up for a chat. on the same page. You have to escape the apostrophe or it won't show up as we're.
    Last edited by joejoejoe; 9 Oct 2012 at 09:01 PM.

  6. #6
    Join Date
    Aug 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: aligning contact us text area

    joejoe

    That does the thing , Thank you so much for the help .
    Thanks lat9 too for your help.

    The changes are now here

    http://feerol.com/fashions/index.php...533cd06a9d6945

    --dino

 

 

Similar Threads

  1. v139h 'Message' text area of 'Contact Us' wider than centerBoxWrapper specified width
    By isaiah36 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 27 Feb 2012, 01:15 AM
  2. aligning the contact us page
    By grasmat in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 10 Dec 2010, 01:47 AM
  3. Aligning text next to logo...
    By Arkwright in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 31 Dec 2007, 08:23 AM
  4. Aligning Text
    By HandcraftedUK in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 8 Mar 2007, 12:41 PM
  5. Sidebox text not aligning
    By raindark in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Feb 2007, 08:43 PM

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