Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2007
    Posts
    16
    Plugin Contributions
    0

    Default Changing attributes layout

    Hi
    Have looked but can't find how I can change the attributes listing from vertical to horizontal. EXAMPLE http://www.helmethiders.com/catalog/...roducts_id=212
    I would like the colour option to display horizontally accross the page.

    Would most appreciate any comments.Thanks,
    NP

  2. #2
    Join Date
    Mar 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: Changing attributes layout

    well, I can tell you whats doing it, <br class="clearBoth"/>

    and it should be coming from /includes/modules/attributes.php

    this appears seven (!) times in the file, and I'm not quite sure which one if causing the trouble....it may be all of them, its a rather large scary file

    what I would do is
    A) make an override directory in /includes/modules so your not playing with the original
    B) make a backup anyway
    C) start commenting them out and see what they do, a simple // in front should do the trick

    There is a tag inside the file called products_options_images_per_row, but Zen admin can't seem to find it in any files. unless you include the [' '] on the end. Sigh.
    admin, catalog/option name manager is the file, but bugger if I see how to make it work.
    [FONT=Arial][/FONT]

  3. #3
    Join Date
    Feb 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Changing attributes layout

    Thanks, TMC_Sherpa

    I'll try your suggestions - could take me a while!!

  4. #4
    Join Date
    Feb 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Changing attributes layout

    TMC_Sherpa - Success -
    went to admin, catalog/option name manager and set 4 rows and 4 images per row - works!

    Thanks for pointing me in the right direction..

  5. #5
    Join Date
    Mar 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: Changing attributes layout

    Glad it worked. One of these days I'll check for admin options first :)

  6. #6
    Join Date
    Apr 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Changing attributes layout

    Do any of you know how to make each unique option (including both its name and values) display next to each other? It seems like it would be related to this, so i thought i'd ask here. i want my option values menu to still dropdown, but i want to arrange all the options horizontally.

    thanks for any insight you may have,
    mel
    Last edited by mellonade; 5 May 2007 at 04:58 AM. Reason: clarification

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

    Default Re: Changing attributes layout

    Try

    #productAttributes .clearBoth {display: none;}

    It's rather an all-or-nothing effect. If all your attributes can display on one line it may do the job right.

  8. #8
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

    Idea or Suggestion Re: Changing attributes layout

    Code:
     #productAttributes .clearBoth {display: none;}
    The above CSS doesn't work because it removes all .clearBoth from other elements within the attribute display area resulting in very funky layout.

    However I got the desired horizontal affect. See Nahid Fashions' Signature Chic I

    I created an override copy of /includes/modules/attributes.php in my template directory.
    I then changed all (7) the occurrances of

    Code:
    $tmp_attributes_image .= '<br class="clearBoth" />' . "\n";
    to

    Code:
    $tmp_attributes_image . "\n";
    That seems to have worked and only affects the attribute images.

  9. #9
    Join Date
    Sep 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Changing attributes layout

    is there a way to get the drop down to work like this?

    1 image at a time

    so when i pick a option from the dropdown it loads the image for that attribute option?

    instead of having 20 images load all pver the page


    thx
    I need Sleep........And a BEER!

 

 

Similar Threads

  1. Changing Tab Layout
    By sports guy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Aug 2010, 08:55 PM
  2. Changing location of attributes in layout?
    By KismetDesign in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 1 Jul 2009, 06:41 AM
  3. Changing Contact Layout
    By Webskipper in forum General Questions
    Replies: 0
    Last Post: 11 Aug 2008, 02:09 AM
  4. Changing Layout
    By scamp in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Feb 2008, 09:31 AM
  5. Changing category layout
    By dfludd in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Apr 2007, 04:00 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