Hmm whats this sliding doors method ?
The problem i have is theres a complex textured background image. So the transparency in the shadow is neccessary. I can achieve this by saving the image as a PNG or Gif. But, the next problem i'm faced with is the rounded corners.
Is this what your talking about with the sliding door? So have 3 images. 1 on each end which are rounded. Then a Centre image tiled ?
I know i could do this in tables in a matter of seconds. Not sure about CSS?
Thanks for the help guys, much appreciated!![]()
I did some research on the sliding door method and a lot of the examples had to do with tabs which I am not interested in. Is this a lot of work for not a big thing lol. Does this template from zen cart us the same thing...sliding doors?
http://(sorry, site offline)/138/ind...ate_dir=rustic
This is all i am interested in. Is there an easy way to accomplish this task so it works with other resolutions. I guess I am just so confused on the sliding door method.
WOW really...Well this is what I need to do I guess. I have looked at the tutorials but it really didn't help me much because it is talking about tabbed images or menus and I need something referencing the centerbox. Is there anyway i can get the information from like the rustic stylesheet. Will this information even help me. How can i go about getting this to work. I am just interested in getting the centerboxheading to work as an image of some sort but fit the box for multiple resolutions. Got any thoughts on how a newbie of css and zen cart can go about getting this to happen?
Just because the tutorial talks about tabs doesn't mean you need to use different methods for other elements. If it helps, mentally change "tab" to "heading".
You will need another wrapper div to hold the second bg image. In /includes/modules/your_template/new_products.php, find this near the bottom:and change toPHP Code:if (isset($new_products_category_id) && $new_products_category_id != 0) {
$category_title = zen_get_categories_name((int)$new_products_category_id);
$title = '<h2 class="centerBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . ($category_title != '' ? ' - ' . $category_title : '' ) . '</h2>';
} else {
$title = '<h2 class="centerBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . '</h2>';
}
Then you can attach one side of the bg to h2.centerBoxHeading and the other side to .centerBoxHeadingWrapper.PHP Code:if (isset($new_products_category_id) && $new_products_category_id != 0) {
$category_title = zen_get_categories_name((int)$new_products_category_id);
$title = '<h2 class="centerBoxHeading"><span class="centerBoxHeadingWrapper">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . ($category_title != '' ? ' - ' . $category_title : '' ) . '</span></h2>';
} else {
$title = '<h2 class="centerBoxHeading"><span class="centerBoxHeadingWrapper">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . '</span></h2>';
}