Results 1 to 9 of 9
  1. #1

    Aligning Attributes To The Right

    I'm having trouble aligning the attributes to the right of the product picture.
    an example can be seen here.
    Help with anything else you see that doesn't look right, please inform me, and with a way to rectify it if at all possible.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Aligning Attributes To The Right

    Quote Originally Posted by Galeo Designs
    I'm having trouble aligning the attributes to the right of the product picture.
    an example can be seen here.
    Help with anything else you see that doesn't look right, please inform me, and with a way to rectify it if at all possible.
    I have a vague recollection of a mod that might be of help, but unfortunately can't find any evidence of it in the downloads section or my personal archive. It is exists, maybe somebody else will step in with a pointer

    Otherwise, you will need to get your hands dirty, not very, just a bit, in tpl_modules_attributes.php. Basically you would need top wrap a div around the for statement that starts on line 19/20 and ends on line 51/52. You may need to amend also the <br class="clearBoth" /> tags inserted by lines 33 and 49.
    Last edited by kuroi; 28 Jun 2006 at 05:24 PM. Reason: typo
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3

    Default Re: Aligning Attributes To The Right

    thank you very much.. I seem to have figured it out., still needs a bit of tweeking.
    do you know of any way of getting rid of the 'Please Choose:' text?

    And maybe even the 'Blackbird Starting At:' text.

    any help is most appreiciative
    Last edited by Galeo Designs; 28 Jun 2006 at 06:16 PM.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Aligning Attributes To The Right

    Your solution will work as long as you don't add more attributes. If you do they will end up underneath the image rather than aligned with the ones next to the image.

    You can get rid of the "Please Choose" text by creating an override file for includes/languages/english/product_info.php and editing the following line
    Code:
    define('TEXT_PRODUCT_OPTIONS', 'Please Choose: ');
    OR

    adding the following to your stylesheet
    h3#attribsOptionsText {display:none}
    OR

    deleting or commenting out the following line in your tpl_modules_attributes.php override file
    Code:
    <h3 id="attribsOptionsText"><?php echo TEXT_PRODUCT_OPTIONS; ?></h3>
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5

    Default Re: Aligning Attributes To The Right

    Thank you ever so much.

    The attributes will stay as they are, no problems with that.

    If you can find out how to get rid of the 'starting at' text aswell that would be fantastic, but if not.. thank you again for your help.

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Aligning Attributes To The Right

    This one's a bit more complex and so I would recommend amending the following in your override for includes/languages/english.php
    Code:
      define('TEXT_BASE_PRICE','Starting at: ');
    As an aside the tages that you have shortened to <br> should really be <br />. You probably won't notice any problems now (other than validation warnings) but it may cause your site to break with future versions of browsers.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7

    Default Re: Aligning Attributes To The Right

    Thak you ever so much for your help.
    I will change the tags to <br />

    Thank you again

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,704
    Plugin Contributions
    11

    Default Re: Aligning Attributes To The Right

    One essential item that you need to have now that you're starting to "tweak" the files and stylesheet.

    Get a copy of FireFox and the Webdevelopers Toolkit. Let it help you with finding the errors we all tend to commit.

    Along with the toolkit in the admin section, you'll be able to keep on top of things.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Aligning Attributes To The Right

    Something to note on the setup of your Products and Attributes ...

    Currently, it appears your Products are set to products_price 0.00

    Then you appear to have some, or perhaps all, marked as Priced by Attributes ...

    However, then on your Attributes ... you have some marked as Do not include in base price ...

    If you were to mark your Products as:

    Products Price: 0.00
    Priced by Attributes YES

    And all Attributes as:
    Include in base Price: YES

    Then the lowest combination of all of your Attributes would be added together to produce the lowest price that a product can be purchased ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Aligning product description to the right of image.
    By icklebits in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Oct 2011, 07:26 AM
  2. Aligning product description to the right of image
    By sparklytreasures in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 29 Jan 2009, 11:57 PM
  3. Category images aligning to the right
    By sjohnstone in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Dec 2008, 10:59 PM
  4. Right sideboxes are not aligning correctly on the right
    By DivaVocals in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 6 Oct 2008, 09:09 PM
  5. product_listing page - right aligning just the price
    By nigelt74 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 Jul 2007, 06:28 AM

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