If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Templates / Nifty Zen Template - Rounded Corners without images!

Nifty Zen Template - Rounded Corners without images!

Locked

Started by jettrue on 6 Sep 2006, 6:11 PM · Views: 82,574

Results 81 to 100 of 231
This thread is locked. New replies are disabled.
18 Feb 2007, 5:54 PM
#81
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Nifty Zen Template - Rounded Corners without images!

2004g35:

Mistake - it still displays on the LEFT side. It is loaded on my web server locally - do I need to upload it?

Does your #outermainWrapper look like this?

#outermainWrapper {
background-color: #4B4B4B;
width: 65em;
max-width: 1024px;
text-align:center;
margin:0 auto;
padding:8px;
}

Do you only have one version of the stylesheet working at a time? (some people rename one to stylesheet_OLD.css, but leave it in the css folder, so it still applies itself)

18 Feb 2007, 6:06 PM
#82
2004g35 avatar

2004g35

Zen Follower

Join Date:
Jan 2005
Location:
Winter Haven, FL
Posts:
156
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

Perfect: somehow the change I made from the download instx did not look like that;
It works just great now.
How about including that as an additional file in the download - call it something like center_stylesheet_new.css - may save you having to do a few zen posts.
Thanks again.

18 Feb 2007, 6:19 PM
#83
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Nifty Zen Template - Rounded Corners without images!

2004g35:

Perfect: somehow the change I made from the download instx did not look like that;
It works just great now.
How about including that as an additional file in the download - call it something like center_stylesheet_new.css - may save you having to do a few zen posts.
Thanks again.

This is what my instructions for the section looks like:

#outermainWrapper {
background-color: #4B4B4B; /this controls the color of the small outermost strip of background border (grey border default)/
width: 65em;
max-width: 1024px;
padding:8px 8px 8px 0;
/text-align:center;
margin:0 auto;
padding:8px;
/ /to center this site, uncomment these, and erase the padding:8px 8px 8px 0; above. Then open up includes/templates/nifty_zen/jscript/jscript/niftyalayout.js and follow instructions there/
}

All I did was open up my css file and follow my own instructions. I think if I do as you suggest, I'll have just as many questions, as people may not realize they have to use one or the other. Maybe I should just add a whole new template, called Nifty Zen Centered. :smile:

21 Feb 2007, 1:44 PM
#84
juza123 avatar

juza123

New Zenner

Join Date:
Jan 2007
Posts:
11
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

Hello!

I´ve tried to solve these problems for a couple of weeks now. I´ve searched through all the information I´ve been able to find but without succes. Please help!

I´m a real beginner so make the answers as clear and simple as possible!!

The main problem is with header. It consists of two pictures. Logo and that one that says "spanish quality wines". Logo is of normal size replacing zen cart logo. The other picture takes whole header area and acts as a background for logo allso. That was the only way I was able to get two pictures to header and make them look right.

So the problem no.1 is that there is a white space across the top of the header. With IE there is no white area but with Firefox there is. How do I remove it?

Problem no.2 is that the headers of the two left side sideboxes overlap with the content area border. The boxes are of same size as the "area" (11em). Rezising the boxes doesn´t help as can be seen from the right side boxes (Column Width - Right Boxes 10,5 em, Column Width - Right 10,7em). The problem is more evident with Firefox than IE.

I allso would like to know how to add two or more pictures to the header and how to align them right way so that I wouldn´t have to make one as a background to the other as it is now.

Please take a look!!!

http://66.228.121.254/~juza/

juza123

21 Feb 2007, 11:22 PM
#85
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Nifty Zen Template - Rounded Corners without images!

juza123:

Hello!

I´ve tried to solve these problems for a couple of weeks now. I´ve searched through all the information I´ve been able to find but without succes. Please help!

I´m a real beginner so make the answers as clear and simple as possible!!

The main problem is with header. It consists of two pictures. Logo and that one that says "spanish quality wines". Logo is of normal size replacing zen cart logo. The other picture takes whole header area and acts as a background for logo allso. That was the only way I was able to get two pictures to header and make them look right.

So the problem no.1 is that there is a white space across the top of the header. With IE there is no white area but with Firefox there is. How do I remove it?

Problem no.2 is that the headers of the two left side sideboxes overlap with the content area border. The boxes are of same size as the "area" (11em). Rezising the boxes doesn´t help as can be seen from the right side boxes (Column Width - Right Boxes 10,5 em, Column Width - Right 10,7em). The problem is more evident with Firefox than IE.

I allso would like to know how to add two or more pictures to the header and how to align them right way so that I wouldn´t have to make one as a background to the other as it is now.

Please take a look!!!

http://66.228.121.254/~juza/

juza123

Ok, these are a lot of issues, we should address them step by step.

To fix the sidebox issue (i've fixed this in my most recent release), CHANGE this section to:

h1, h2, h3, h4, h5, h6 {
	margin: 0.3em 0; /*sis.al. päätekstit sekä siboxien tekstit*/ 
	}

As for your logo, I'd make that entire top image your logo.gif.

To get that to work, you'll need to open up includes/templates/YOUR_TEMPLATE/common/tpl_header.php and REMOVE this section:

	<div id="taglineWrapper">
      <?php
              if (HEADER_SALES_TEXT != '') {
?>
      <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
      <?php
              }
?>

Let's go with these two changes for now, then we'll work on any further issues.

22 Feb 2007, 1:21 PM
#86
juza123 avatar

juza123

New Zenner

Join Date:
Jan 2007
Posts:
11
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

Hello!

Thank you so much, the sidebox issue is solved!! :D
I made the changes to the css.stylesheet and that did the trick!

I have allso made changes to logo.gif (only one big picture in the header) and to the tpl_header.php (removed the suggested section of the code).

I still need to get rid of the white line in the top of header. This is a problem with Mozilla Firefox, in IE everything seems perfect and excatly like I want it to be.

I hope someone can help!

jusa123

23 Feb 2007, 11:29 PM
#87
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Nifty Zen Template - Rounded Corners without images!

juza123:

Hello!

Thank you so much, the sidebox issue is solved!! :D
I made the changes to the css.stylesheet and that did the trick!

I have allso made changes to logo.gif (only one big picture in the header) and to the tpl_header.php (removed the suggested section of the code).

I still need to get rid of the white line in the top of header. This is a problem with Mozilla Firefox, in IE everything seems perfect and excatly like I want it to be.

I hope someone can help!

jusa123

Ok, the white line in the header, really can't be moved in firefox. Its kind of meant to be there. I see that you've added "margin-top:0" to the #logo tag to get it to butt up against the top of the site, but its not meant to do that, and Firefox is doing things correctly. Remember that this mod is "Drawing" the curves, and the white space you want to move your logo into, is the space taken so that the curves can be "drawn".

If you look at my niftyzen site, http://www.zencart13b.jadetrue.com/, you can see that I designed the logo to match the background color that the curves are. So, my advice is to either turn off the curves on the top of the site, and just have them on the bottom, OR to design your logo so that it blends in with white at the top, so it doesn't have a sharply defined edge. Do you know what I mean?

Did you also realize that you can have curves both on the left and right side? I see you centered your site, but you still only have the curves on the right.

27 Feb 2007, 10:03 PM
#88
brycej2 avatar

brycej2

New Zenner

Join Date:
Jan 2007
Posts:
50
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

I have one header logo that a while back you helped get so that the only thing in the header was that image and it looks fine in firefox, but in I.E. 6 - below the header is like 10px or so of space that is showing up....do you have any ideas what is causing that or how to fix it?

https://housing.k-state.edu/bakery/

27 Feb 2007, 10:12 PM
#89
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Nifty Zen Template - Rounded Corners without images!

brycej2:

I have one header logo that a while back you helped get so that the only thing in the header was that image and it looks fine in firefox, but in I.E. 6 - below the header is like 10px or so of space that is showing up....do you have any ideas what is causing that or how to fix it?

https://housing.k-state.edu/bakery/

In includes/templates/nifty_zen/common/tpl_header.php, under the logo area, change the
<br class="clearBoth" />

to

<div class="clearBoth"></div>

and then in your stylesheet, change

.clearBoth {clear:both;}

to:

.clearBoth {
clear:both;
height:0;
font-size: 1px;
line-height: 0;
}

27 Feb 2007, 10:26 PM
#90
brycej2 avatar

brycej2

New Zenner

Join Date:
Jan 2007
Posts:
50
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

Awesome, thanks!

5 Mar 2007, 9:42 PM
#92
brycej2 avatar

brycej2

New Zenner

Join Date:
Jan 2007
Posts:
50
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

The width of the page is fine for resolutions above 800 by 600, and when someone trys to view the store with 800 x 600 they get a horizontal scroll bar, The widths I keep trying to change some of the max widths in the stylesheet but it hasnt been affecting anything. How would I go about changing the max width or the width in general?

5 Mar 2007, 10:10 PM
#93
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Nifty Zen Template - Rounded Corners without images!

brycej2:

The width of the page is fine for resolutions above 800 by 600, and when someone trys to view the store with 800 x 600 they get a horizontal scroll bar, The widths I keep trying to change some of the max widths in the stylesheet but it hasnt been affecting anything. How would I go about changing the max width or the width in general?

A quick and easy way to do this with this template is to change the body's font size to about: font-size: 74.5%;

Sounds weird, but the widths of this template are done in em's, and they adjust with the font size.

Then if you feel the main content font is too small, you can adjust that here:
#contentMainWrapper {
border-top:1em solid #933; /color of border below the tabs (red default)/
color:#000;
background:#fff;
font-size:110%;
position:relative;
}

OR you could also adjust the #outerMainWrapper's width, and the #mainWrapper.

5 Mar 2007, 10:55 PM
#94
brycej2 avatar

brycej2

New Zenner

Join Date:
Jan 2007
Posts:
50
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

I slimmed down the width and changed the the font to 74.5 and that worked great for me. A test user was telling me that the header and footer were in the middle where they could see them but the actual body was pushed clear to the right where they had to scroll over to view. I wasn't able to emulate this when I set my resolution to 800 by 600, that never happened to me, so hopefully the changes will fix that problem too.

Thanks

6 Mar 2007, 8:01 PM
#95
brycej2 avatar

brycej2

New Zenner

Join Date:
Jan 2007
Posts:
50
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

https://housing.k-state.edu/bakery

A person using Firefox v1.01 is still getting the page content pushed off to the right. Ive posted some screenshots to show you. This seems to be the only browser having any trouble displaying it. Do you have any idea what may cause this?

6 Mar 2007, 8:09 PM
#96
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Nifty Zen Template - Rounded Corners without images!

brycej2:

https://housing.k-state.edu/bakery

A person using Firefox v1.01 is still getting the page content pushed off to the right. Ive posted some screenshots to show you. This seems to be the only browser having any trouble displaying it. Do you have any idea what may cause this?

Would you mind asking that same person if they have the same issue here:

http://www.zencart13b.jadetrue.com

That'll help narrow down the issue.

Thanks!

6 Mar 2007, 8:37 PM
#97
brycej2 avatar

brycej2

New Zenner

Join Date:
Jan 2007
Posts:
50
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

I will have them try that.

13 Mar 2007, 12:12 PM
#98
davale avatar

davale

Zen Follower

Join Date:
Apr 2006
Posts:
117
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

Is there a way to display the active top tab in a different color then the default tabcolor?

Tried adding

ul#back a:active {
background: #FF6600;
color: #fff; /*color of top tabs and text color when active */
}

to stylesheet_new.css but without result.

13 Mar 2007, 10:03 PM
#99
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Nifty Zen Template - Rounded Corners without images!

davale:

Is there a way to display the active top tab in a different color then the default tabcolor?

Tried adding

ul#back a:active {
background: #FF6600;
color: #fff; /*color of top tabs and text color when active */
}

to stylesheet_new.css but without result.

No, a:active is only for when the link is actually active while you're clicking on it. It doesn't persist to when the new page is loaded and doesn't know that the page it's now on is the page of the link you've just clicked.

If you change your above code to:
ul#back a:active {
background: #FF6600!important;
color: #fff!important; /*color of top tabs and text color when active */
}

Then click on one of the tabs and hold it for a second before letting go, and you'll see the "active" state.

13 Mar 2007, 10:58 PM
#100
davale avatar

davale

Zen Follower

Join Date:
Apr 2006
Posts:
117
Plugin Contributions:
0

Re: Nifty Zen Template - Rounded Corners without images!

Thanks. Not exactly what I was looking for but it does add a nice effect. To bad the effect can't be made persistent.