Page 1 of 2 12 LastLast
Results 1 to 10 of 26

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: How do I align attributes to the right?

    since you have custom template , your designer has chained many elements together .. although code block from before dose the job , but is effecting some other part .. you can still adjust elements there but you can also try following.. back up your stylesheet.css and try this example ..

    locate following in your CSS


    h1, h2, h3, h4, h5, h6, .wrapperAttribsOptions {stylesheet.css (line 1108)
    margin:0.3em 0;
    }

    break this code block into two.so that block of code will become two block of code

    like this

    h1, h2, h3, h4, h5, h6 {
    margin:0.3em 0;
    }

    and

    .wrapperAttribsOptions {
    margin:0.3em 0;
    }
    here , set the margin to 0.1 em and that should get things closer ..

    also don't forget to change the line height on other posting back to 1.2em

  2. #2
    Join Date
    Nov 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: How do I align attributes to the right?

    I have done everything you suggested and it all looks fine to me. Just one little question..... Where it says "please choose" is there any way I can widen the gap before the attributes start as it looks a little bit squashed between the "please choose" and the first attribute.

    Many thanks once again for your help.

    Joy

  3. #3
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: How do I align attributes to the right?

    you may want to add following to the end of your CSS and see if this will fix it


    #attribOptionsText {
    padding-bottom: 0.3em
    }

    if you h3 heading didn't apply after this change . you can add it

    h3.#attribOptionsText {
    padding-bottom:0.3em
    }

    currently i can not test this on my own copy of zc , since my local server is down..

  4. #4
    Join Date
    Nov 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: How do I align attributes to the right?

    I have tried your suggestion but it didn't make any difference. Any thoughts?

    Joy

  5. #5
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: How do I align attributes to the right?

    replace padding-bottom with just padding


    padding:0.4em;

    and see if that will work..

    doing it on your site , did make different , but just padding-bottom might have not been a correct property in this case .

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: How do I align attributes to the right?

    ahhh. my mistake , i miss typed the id ..

    is

    #attribsOptionsText i missed S in the name ..

    try to fix this name

  7. #7
    Join Date
    Nov 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: How do I align attributes to the right?

    Hi Tony,

    Sorry for the delay in replying, I have been at work.

    I have tried what you suggested and added the "s" but it still hasn't changed the gap between "Please Choose" and the first attribute.

    This might be a silly question but does it matter where you add this to the style sheet? Does it have to be at the very end?

    Don't worry if you are busy, I can live with it for now.

    Many thanks,

    Joy

  8. #8
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: How do I align attributes to the right?

    sorry for delay .. i just go back from hell

    this should work, regardless of where you insert it .

    #attribsOptionsText {
    padding:0.5em
    }
    Last edited by tony_sar; 12 Feb 2009 at 10:12 PM.

  9. #9
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: How do I align attributes to the right?

    You may also want to fix the issue with your login section ..in your Header , if you click on Log in ,, you will see text like

    TEXT_CREATE_ACCOUNT_HEADER. also additionally for your Forgot password.

    zencart , uses Constants to output information to the page, those are called Define's and are located in some template files as well as language files.

    default zc dosn't come with login feature located in header , so this most be a module that has been installed and has problem with its define.

    go to admin > tools > Developers tool kit . and use the exact words to search where those defines are located and correct this issue .

  10. #10
    Join Date
    Nov 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: How do I align attributes to the right?

    Hi Tony,

    I think I have found them but not sure how to change them!

    <div class="buttonRow back important"><?php echo '<a href="' . zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL') . '">' . TEXT_CREATE_ACCOUNT_HEADER . '</a>'; ?></div>
    <div class="buttonRow back important"><?php echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN_HEADER . '</a>'; ?></div>
    </form>
    <br class="clearBoth" />
    </div>
    </div></div>

    I changed the TEXT_CREATE_ACCOUNT_HEADER to CREATE ACCOUNT but my whole page went blank. Sorry I am not very good at this yet!

    Any suggestions would be gratefully received.

    Many thanks

    Joy

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 How do I align the Product Price Block to the right of the Main Image ?!?!
    By jnb41578 in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 8 Feb 2014, 08:08 PM
  2. How do I align the header_bg to the right?
    By ScottDB in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Aug 2011, 03:42 PM
  3. How can I align last <li> in nav bar in header to the right?
    By ebaobao in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Sep 2010, 08:33 PM
  4. how do i right align my product attributes & remove "starting at" price text?
    By tarynhipp in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 2 May 2007, 09:27 PM
  5. align EVERYTHING to right.. how?
    By eternity575 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 May 2006, 01:56 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