Forums / Templates, Stylesheets, Page Layout / How to put the title and dropdown list next to each other?

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

Locked

Views: 3,750

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
29 Jun 2008, 1:56 AM
#1
mishutkadesign avatar

mishutkadesign

New Zenner

Join Date:
May 2008
Location:
Maryland, USA
Posts:
73
Plugin Contributions:
0

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.php?main_page=product_info&cPath=1&products_id=185

THANK YOU!

29 Jun 2008, 2:04 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

29 Jun 2008, 2:49 AM
#3
mishutkadesign avatar

mishutkadesign

New Zenner

Join Date:
May 2008
Location:
Maryland, USA
Posts:
73
Plugin Contributions:
0

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...

29 Jun 2008, 2:43 PM
#4
mishutkadesign avatar

mishutkadesign

New Zenner

Join Date:
May 2008
Location:
Maryland, USA
Posts:
73
Plugin Contributions:
0

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 :smile:

<table id="attribTable">
<tr><td>
<th><?php echo $options_name[$i]; ?></th>
<td><?php echo "\n" . $options_menu[$i]; ?>
</tr>
</table>
29 Jun 2008, 8:46 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

Well you havr already added tables...:yuck:

I think display: inline would have accomplished the same

Zen-Venom Get Bitten

29 Jun 2008, 10:49 PM
#6
mishutkadesign avatar

mishutkadesign

New Zenner

Join Date:
May 2008
Location:
Maryland, USA
Posts:
73
Plugin Contributions:
0

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

Believe it or not, I DIDN'T add the table :smile: -- 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 :smile: Thanks!

30 Jul 2008, 11:09 PM
#7
silver_falls avatar

silver_falls

New Zenner

Join Date:
Jul 2008
Posts:
11
Plugin Contributions:
0

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?

3 Aug 2008, 4:17 PM
#8
mishutkadesign avatar

mishutkadesign

New Zenner

Join Date:
May 2008
Location:
Maryland, USA
Posts:
73
Plugin Contributions:
0

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:

<table id="attribTable">

Replace that whole section (ending with </table>) with the code I provided in this thread. Good luck!