Did you also create the simple_zen directory under languages/english and put the revised header.php file in there? It's a pretty important step for this template.
Did you also create the simple_zen directory under languages/english and put the revised header.php file in there? It's a pretty important step for this template.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
ok i have a question and i hope this is right. I want to take out the 3 linked images in the header and in it place put shopping cart in header this is the code i have to work with...
<?php if ($_SESSION['cart']->count_contents() > 0) {
$products = $_SESSION['cart']->get_products();
echo '<p><a href="/index.php?main_page=shopping_cart">' . $_SESSION['cart']->count_contents().' Item(s) - Total: £';
echo $currencies->format($_SESSION['cart']->show_total());
}
if ($_SESSION['cart']->count_contents() == 0) {
$products = $_SESSION['cart']->get_products();
echo '<p><a href="/index.php?main_page=shopping_cart"> Item(s) £0.00';
}
?></a></p>
But i have tried twice and it seems to break up in IE. Can someone help me
Thanks
Try this instead:Originally Posted by shopyoungway
Code:<li><?php if ($_SESSION['cart']->count_contents() > 0) { $products = $_SESSION['cart']->get_products(); echo '<a href="/index.php?main_page=shopping_cart">' . $_SESSION['cart']->count_contents().' Item(s) - Total: £'; echo $currencies->format($_SESSION['cart']->show_total()); } if ($_SESSION['cart']->count_contents() == 0) { $products = $_SESSION['cart']->get_products(); echo '<a href="/index.php?main_page=shopping_cart"> Item(s) £0.00'; } ?></a></li>
OK so far i have made it look like this http://www.gorillagear.ca/store/index.php which i'm satisfied with but i'd like http://www.gorillagear.ca/GorillaNuke/ with background images for the borders etc.
Oh my, well those are some quite complicated borders. I'm a less is more gal myselfOriginally Posted by MB1
, but to do that, you're going to have to go into the includes/templates/YOUR_TEMPLATE/common/tpl_box_default_left.php and tpl_box_default_right.php and start creating a table shell to hold all of those corners. Give them each a specific css tag, then you can go into your css file, and start adding background images. You already have them chopped up, so that's one step down.
Did you build the sideboxes for the layout you linked? If so, it shouldn't be too bad, but the first step will be going into the two files above, and change the framework for the sideboxes.
Hope that helps a bit!
ETA: I would also suggest that you either optimize your images (make medium (_MED) and large ones (_LRG) OR install the ImageHandler2 mod, that will do all that for you. I find your site images take a long time to load.
Last edited by jettrue; 1 Sep 2006 at 03:18 PM.
that's a wee bit too complicated at the moment how about just a background in the main area that's boxed in and another for the new products area where all the pictures are i tried playing with the style sheet but it didn't work out
Agree with jettrue's comment on image sizes. I took a closer look at one and it was a whopping 100x the file size that I'd expect to see as a thumbnail on your frontpage.
What you want to do can be done relatively easily with CSS. You've done your work on Simple Zen so stick with that, but look at how the future Zen sidebox borders are constructed (make sure that you look at version 1.2). This approach will work for your more complicated borders too, both sideboxes and center column boxes if you stick to fixed widths (which the nature of your graphics pretty well forces anyway).
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
For a background image for the whole boxed in area (exluding the top header area), just go in your css:Originally Posted by MB1
#contentMainWrapper{
background: url(../images/image_name_here.gif)
}
Make sure the image is uploaded to your includes/templates/simple_zen/images folder.
For the new products area, you'll have to create a new css section:
.centerBoxContentsNew {
background: url(../images/image_name_here.gif)
}
Let me know how that works for ya!