Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Maryland, USA
    Posts
    73
    Plugin Contributions
    0

    help question How to put the title and dropdown list next to each other?

    Misalignments are me... I've set up attributes on a product page, and under Please Choose, the word "Fabrics" and the dropdown list are stacked, instead of being next to each other. Does anyone know where this setting is?

    Here is the link:
    http://www.mishutkadesign.com//index...roducts_id=185

    THANK YOU!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How to put the title and dropdown list next to each other?

    A copy for your template override of the tpl_product_info_display.php file for correct order & seperation and then some css to make it behave
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2008
    Location
    Maryland, USA
    Posts
    73
    Plugin Contributions
    0

    Default Re: How to put the title and dropdown list next to each other?

    Thanks, kobra, I copied the standard tpl_product_info_display.php file over mine and went through my CSS. But for the life of me I can't fix this stupid thing! It's got to be somewhere in CSS...

  4. #4
    Join Date
    May 2008
    Location
    Maryland, USA
    Posts
    73
    Plugin Contributions
    0

    Default Re: How to put the title and dropdown list next to each other?

    I figured it out: added table cells (instead of just table rows) in tpl_modules_attributes.php

    Code:
    <table id="attribTable">
    <tr><td>
    <th><?php echo $options_name[$i]; ?></th>
    <td><?php echo "\n" . $options_menu[$i]; ?>
    </tr>
    </table>

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How to put the title and dropdown list next to each other?

    Well you havr already added tables...

    I think display: inline would have accomplished the same
    Zen-Venom Get Bitten

  6. #6
    Join Date
    May 2008
    Location
    Maryland, USA
    Posts
    73
    Plugin Contributions
    0

    Default Re: How to put the title and dropdown list next to each other?

    Believe it or not, I DIDN'T add the table -- it was already there in the original ZC file. But it had two rows; I changed it to cells.

    BTW, I tried display: inline and it didn't work there -- go figure Thanks!

  7. #7
    Join Date
    Jul 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: How to put the title and dropdown list next to each other?

    I need help with this exact same problem. Where exactly would I insert this code?

  8. #8
    Join Date
    May 2008
    Location
    Maryland, USA
    Posts
    73
    Plugin Contributions
    0

    Default Re: How to put the title and dropdown list next to each other?

    Go to includes/templates/(your folder)/templates and find tpl_modules_attributes.php. Open this file in Edit Code mode and look for line 30 or so. You'll see the code beginning with:

    PHP Code:
    <table id="attribTable"
    Replace that whole section (ending with </table>) with the code I provided in this thread. Good luck!

 

 

Similar Threads

  1. v139h Have Category description and product listing next to each other
    By bravo14 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Mar 2012, 03:55 PM
  2. how to align the product title, price and add to cart box next to the product image?
    By evaky in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 5 Mar 2012, 03:31 AM
  3. How to put words beneath the title and price of a product?
    By chelchel in forum Customization from the Admin
    Replies: 0
    Last Post: 1 Mar 2012, 09:26 PM
  4. new products box 4 items next to each other
    By grasmat in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Dec 2010, 07:31 PM
  5. How to get additional images to align next to each other?
    By JHouse in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Jul 2009, 07:27 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