Get the book

Go Back   Zen Cart Support > Customizing the Look of Your Shop > The Stylesheet

The Stylesheet Discussions related to styling your site/template using the stylesheet.

Reply
 
Thread Tools Display Modes
Old 3rd April 2008, 03:54 AM   #51
krush
New Zenner
 
Join Date: Mar 2008
Posts: 8
Default Re: Rounded Borders Using Snazzy Borders

hi vik007,

u did a great job with rounded snazzy border..
but have u browse your site using IE.

another bar appears under navigation menu and your contact us menu is not fit into the nav bar.

becoz i have the similar problem with IE.
but mine is different and can be ignored (i think so)
there is a gap between my banner and nav bar when i browse using IE.

anyway, nice modification u made.
krush is offline   Reply With Quote
Old 3rd April 2008, 09:43 AM   #52
vik007
Zen Follower
 
Join Date: Feb 2007
Posts: 213
Default Re: Rounded Borders Using Snazzy Borders

Thank you for your comments.

Ohhhh how i hate IE!

My plan is to get rid of the heading all together and swop it with a hover button links.

There is a thread that changes the header to a hover link thing..thats kinda cool!!!
vik007 is offline   Reply With Quote
Old 30th April 2008, 07:40 AM   #53
jjbakker
New Zenner
 
Join Date: Jan 2008
Posts: 1
Default Re: Rounded Borders Using Snazzy Borders

Has anyone managed to get the centercolumn rounded also?
jjbakker is offline   Reply With Quote
Old 13th August 2008, 10:58 AM   #54
gsb2007
New Zenner
 
Join Date: Mar 2007
Posts: 3
bug Re: Rounded Borders Using Snazzy Borders

Hi

I have managed to setup the round corners perfectly on Zencart and it works well in IE, Safari and the previous version of FireFox. Just downloaded the latest release or Firefox and the shop layout is all over the place when viewed with this browser.

Has anyone had this issue as well?
gsb2007 is offline   Reply With Quote
Old 8th September 2008, 12:58 AM   #55
nagelkruid
Zen Follower
 
Join Date: Nov 2006
Posts: 168
Default Re: Rounded Borders Using Snazzy Borders

Quote:
Originally Posted by audradh View Post
Yay, I have been looking to do this!
I have managed the rounded corners and spacing between the boxes, but I can't seem to get any white space between the sideboxes and the centerbox.

Interestingly, if I exclude the sidebox heading in the snazzy div in the php file, everything lines up. This is the relevant section...
Code:
<!--// bof: <?php echo $box_id; ?> //-->
<!--// <div class="leftBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>"> //-->
<h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3>
<div class="xsnazzy" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>">
                     <b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
                     <div class="xboxcontent">
 
<?php echo $content; ?>
</div>
 
<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>
 
<!--// eof: <?php echo $box_id; ?> //-->

If I put the heading into the snazzy div in the php file, the alignment to the center box is off:
Code:
<!--// bof: <?php echo $box_id; ?> //-->
<!--// <div class="leftBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>"> //-->
 
<div class="xsnazzy" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>">
                     <b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
                     <div class="xboxcontent">
 
<h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3>
 
<?php echo $content; ?>
</div>
 
<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>
 
<!--// eof: <?php echo $box_id; ?> //-->
Just can't find the darn thing, and I'm wondering if maybe I'm not putting the code into the php correctly.

Any thoughts?

Audra
Not sure if/how you fixed it, but i added <p><p> to the closing section for the side boxes which does it for me

<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b><p><p>
nagelkruid is offline   Reply With Quote
Old 4th November 2008, 12:46 AM   #56
HGMstore
New Zenner
 
Join Date: Oct 2008
Posts: 11
Default Re: Rounded Borders Using Snazzy Borders

Hello, I used the snazzyborder code to put rounded borders around my side boxes and center area.

However, I want to have my title header (which are images) look like they are part of the rounded section.

Here is my beta site: http://www.organicgojifarm.com/zen/

So I either need to turn off the border on top and continue the illustion of a border onto my header image.
Or
I need to find a way to have the header appear inside the border instead of outside of it.

Unfortunatly I don't know how to do any of these!

I want to get my category sidebox (and the others) to look as similar to this as possible:


Any help would be appreciated, thanks in advanced!

Also!
How do I get rid of the "New products for November" but keep the "Featured products" ???
Thanks!
HGMstore is offline   Reply With Quote
Old 6th January 2009, 03:07 PM   #57
cla74
New Zenner
 
Join Date: May 2008
Location: Italy
Posts: 78
Default Re: Rounded Borders Using Snazzy Borders

I found a way to apply snazzy to center box:
For example to featured products box you have to search tpl_modules_featured_products.php, and this is the code:

PHP Code:
<!-- bof: featured products  -->
<div class="xsnazzy">
                     <b class="xtop"><b class="xb1"></b><b class="xb2 color_b"></b><b class="xb3 color_b"></b><b class="xb4 color_b"></b></b>
                     <div class="xboxcontent">

<?php if ($zc_show_featured == true) { ?>

<?php
/**
 * require the list_box_content template to display the product
 */
  
require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE$current_page_base,'common'). '/tpl_columnar_display.php');
?>

<?php ?></div>
<b class="xbottom"><b class="xb4"></b><b class="xb3"></b>
<b class="xb2"></b><b class="xb1"></b></b>
</div>




<!-- eof: featured products  -->
and so on with the others......
__________________
www.egame74.com console accessories
cla74 is offline   Reply With Quote
Old 7th January 2009, 01:15 PM   #58
nagelkruid
Zen Follower
 
Join Date: Nov 2006
Posts: 168
Default Re: Rounded Borders Using Snazzy Borders

Quote:
Originally Posted by cla74 View Post
I found a way to apply snazzy to center box:
For example to featured products box you have to search tpl_modules_featured_products.php, and this is the code:

and so on with the others......
Great contribution.
Have you found, by any chance, how to make the "people also purchased" rounded? (there is one more like that, i belive its featured products, not sure)

Cheers,
Jeroen
nagelkruid is offline   Reply With Quote
Old 8th January 2009, 07:35 AM   #59
gee38l
Zen Follower
 
Join Date: Jul 2008
Posts: 271
Default Re: Rounded Borders Using Snazzy Borders

Has anyone implemented this into the css header flyout menu add on?
gee38l is offline   Reply With Quote
Old 11th January 2009, 05:44 AM   #60
first trading
New Zenner
 
Join Date: Aug 2008
Posts: 91
Default Re: Rounded Borders Using Snazzy Borders

Hi, great thread.

I have rounded boxes, borders, etc etc.

www.rambo-knife.com

However i want the next site i tamper with to use something like snazzy so the boxes are generated in the code because i want to set the site to open with the width of the screen res. instead of fixed................so my question is this.

Does anyone know if you can fill the top of the snazzy border and the bottom and also if you can use a gradient colour fill for it?

I only ask as whenever i've seen sites that use this type of coding the very top of the boxes has to be filled the same as the background box colour.

Failing that does anyone know how to split a sidebox and center box into 6................left-header, right-header, left-content, right-content, left-bottom, right-bottom...?
first trading is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nifty Zen Template - Rounded Corners without images! jettrue Contributed/Addon Templates 227 11th August 2009 07:06 PM
Option to Disable Borders at Checkout SophWise.com Zen Cart Code Suggestions 3 26th March 2007 05:05 AM
Removing borders around PREV LISTING NEXT buttons PoorRichard The Stylesheet 5 5th August 2006 12:38 AM
rounded corner borders for sideboxes sparkyclark The Stylesheet 2 19th July 2006 05:41 AM


All times are GMT +1. The time now is 12:26 AM.

Learn tips, tricks & secrets for your Zen Cart™
Sign up for our FREE Newsletter

Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content and Graphics Copyright (c) 2006, 2007, 2008, 2009 Zen Ventures, LLC - all rights reserved
Get Zen Cart E-Commerce Shopping Cart at SourceForge.net. Fast, secure and Free Open Source software downloads