Forums / Templates, Stylesheets, Page Layout / Help in sidebox and product desciption layout..

Help in sidebox and product desciption layout..

Locked

Views: 1,195

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 Mar 2007, 4:15 PM
#1
weflorencekoh avatar

weflorencekoh

New Zenner

Join Date:
Feb 2007
Posts:
13
Plugin Contributions:
0

Help in sidebox and product desciption layout..

I have been trying to change my sidebox "Featured [more]" colour.

I set my a:link in stylesheet to brown colour. In the end, my sidebox heading's link also turned brown.

I tried to add:

h3.leftBoxHeading a:link{
color: #ffffff;
text-decoration: none;
}

into my style sheet since i saw this:

h3.leftBoxHeading a:hover {
color: #000000;
text-decoration: none;
}

But it doesnt work...

my website: http://silver-lace.com/shop/index.php?main_page=product_info&cPath=1&products_id=7

Another problem for me is, can i align "Model, Shipping Weight, Units in Stock" (as in my site) with the product description. So that they will not be below the image. Also, can I remove the "larger image" link??

I just cant seem to understand the codings..

Thanks.

27 Mar 2007, 7:18 PM
#2
grandmaj avatar

grandmaj

Zen Follower

Join Date:
Feb 2007
Posts:
104
Plugin Contributions:
0

Re: Help in sidebox and product desciption layout..

I may be able to help with removing the 'larger image' link. Go to your tpl_modules_main_product_image.php file

Replace this section:

<?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?> <div id="productMainImage" class="centeredContent back"> <script language="javascript" type="text/javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>

With :

<?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?> <div id="productMainImage" class="centeredContent back"> <?php echo zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT); ?> </div>

It worked for me in version 1.3.7

27 Mar 2007, 7:19 PM
#3
grandmaj avatar

grandmaj

Zen Follower

Join Date:
Feb 2007
Posts:
104
Plugin Contributions:
0

Re: Help in sidebox and product desciption layout..

P.S. I have no idea why that smiley-face-with-tongue-out appeared in the post above... just ignore it!