Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2010
    Posts
    24
    Plugin Contributions
    0

    Default Problem with radio button alignment

    Hi all,

    I'm opening my webstore with ZenCart, everything is fine except this problem :

    I would like to place this box close to the words, I checked all the files and the zen_draw_radio_field are always in the good place.



    Thanks per advance,
    Nicolas.

  2. #2
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Problem with radio button alignment

    There is no link to site so we can't try to fix the problem when we can't see the live site. I would be shocked if someone knows the solution on top of their hand as this isn't the normal way Zen Cart display these buttons.

  3. #3
    Join Date
    Jul 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: Problem with radio button alignment

    Can you post a direct link to your css or the page its on. I would just play with the form css alighment in IE and Firefox to get the alignment correct. Its obviously an issue with that.

  4. #4
    Join Date
    Jul 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Problem with radio button alignment


  5. #5
    Join Date
    Jul 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Problem with radio button alignment

    Anyone can help me please ?

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Problem with radio button alignment

    That doesn't look like something that's fixable using the stylesheet. It looks like a coding blunder by Template Monster, so you might ask them.

    If TM provided a tpl_modules_create_account.php file in your includes/templates/theme224/templates folder, you might try removing that file temporarily to let the default take over and see if it's fixed.

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

    Default Re: Problem with radio button alignment

    It can be covered up using the stylesheet, but it would be better to find out why the radiobuttons are skipping past the labels.
    Code:
    #gender-male+label {position: relative; left: -1.3em; bottom: 0.3em;}
    #gender-female {position: relative; left: 3.5em;}
    #gender-female+label {position: relative; bottom: 0.3em;}
    #newsletter-checkbox+label {position: relative; bottom: 0.3em;}
    #email-format-html+label {position: relative; left: -1.3em; bottom: 0.3em;}
    #email-format-text {position: relative; left: 4.5em;}
    #email-format-text+label {position: relative; bottom: 0.3em;}
    This also fixes a standard-issue misalignment between checkboxes/radiobuttons and their labels (moving the labels up 0.3em).

  8. #8
    Join Date
    Jul 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Problem with radio button alignment

    Quote Originally Posted by stevesh View Post
    That doesn't look like something that's fixable using the stylesheet. It looks like a coding blunder by Template Monster, so you might ask them.

    If TM provided a tpl_modules_create_account.php file in your includes/templates/theme224/templates folder, you might try removing that file temporarily to let the default take over and see if it's fixed.
    There is no tpl_module_create_account.php in this file.

    Quote Originally Posted by gjh42 View Post
    It can be covered up using the stylesheet, but it would be better to find out why the radiobuttons are skipping past the labels.
    Code:
    #gender-male+label {position: relative; left: -1.3em; bottom: 0.3em;}
    #gender-female {position: relative; left: 3.5em;}
    #gender-female+label {position: relative; bottom: 0.3em;}
    #newsletter-checkbox+label {position: relative; bottom: 0.3em;}
    #email-format-html+label {position: relative; left: -1.3em; bottom: 0.3em;}
    #email-format-text {position: relative; left: 4.5em;}
    #email-format-text+label {position: relative; bottom: 0.3em;}
    This also fixes a standard-issue misalignment between checkboxes/radiobuttons and their labels (moving the labels up 0.3em).
    I will try with this code, but where do I put it ?

    Thanks guys,
    Nicolas.

  9. #9
    Join Date
    Jul 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Problem with radio button alignment

    Hi,

    Finaly I found the problem :

    L 17 stylesheet.css :
    I delete the float:left;
    Last edited by niko62; 5 Aug 2010 at 01:05 PM.

 

 

Similar Threads

  1. v151 Vertical alignment of attribute name to middle of radio button options
    By Dave224 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Jul 2013, 05:33 PM
  2. How to add radio button attributes with picture?
    By jcrewe in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 23 Aug 2011, 11:25 AM
  3. Radio Button with Open Price
    By valvoj in forum General Questions
    Replies: 0
    Last Post: 2 Oct 2009, 03:01 AM
  4. Radio button overlaps with attribute image
    By dazed88 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 15 Oct 2008, 10:53 AM
  5. Replacing option radio button with "Buy Now" button
    By GavCaz in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 31 Aug 2007, 10:17 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