acbatchelor Posted March 7, 2009 Share Posted March 7, 2009 i want to change the width of a certain column in the shopping cart. probably the "remove" column. the "products" column is a little too small and the product name and attributes are cluttered together. i don't care if it is a percentage change or a set width. i may even change all the columns except the "products" column to keep them the same width, but i don't know for sure until i change and see it. if someone can get me started on this i can probably finish it own my own. Link to comment Share on other sites More sharing options...
germ Posted March 7, 2009 Share Posted March 7, 2009 /catalog/shopping_cart.php $info_box_contents[0][] = array('align' => 'center', 'params' => 'class="productListing-heading" [color="#FF0000"][b]width="5%"[/b][/color]', 'text' => TABLE_HEADING_REMOVE); $info_box_contents[0][] = array('params' => 'class="productListing-heading"', 'text' => TABLE_HEADING_PRODUCTS); $info_box_contents[0][] = array('align' => 'center', 'params' => 'class="productListing-heading" [color="#FF0000"][b]width="5%"[/b][/color]', 'text' => TABLE_HEADING_QUANTITY); $info_box_contents[0][] = array('align' => 'right', 'params' => 'class="productListing-heading" [color="#FF0000"][b]width="5%"[/b][/color]', 'text' => TABLE_HEADING_TOTAL); I haven't actually tried that but I think it will work. Just backup the file before beginning. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
acbatchelor Posted March 7, 2009 Author Share Posted March 7, 2009 thanks! at first it didn't work, so i decided that something was blocking it. i found that the width was already being controlled in the stylesheet(something i did a while back to make all the columns even). once i removed that it worked. i decided that i wanted the columns an exact width so i replaced the percentage with pixels Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.