Zen Cart Logo
Forums / Addon Templates / Simple Zen Template - Support Thread

Simple Zen Template - Support Thread

Views: 127,081

Results 281 to 300 of 462
17 Jun 2007, 18:57
#281
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Simple Zen Template - Support Thread

Thanks Jade for your Help!

I did your last suggestion with the #logoWrapper to 950px. It looks more centered, however the bottom drop shadow drops out at 950px too.

I realize most people use a small browser window, however my 15" monitor views web pages at 1276 :shocking: so I want it to look good wide, just in case...

any way to keep the gifs where they are and have the drop shadow go to the end?

also since what ever I do here I have will have empty space in my header, what would I have to do to increase the spaces in-between the gifs, or add another gif (photoshop) but still have the links work...

17 Jun 2007, 21:15
#282
jettrue avatar

jettrue

Totally Zenned

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

Re: Simple Zen Template - Support Thread

dharma:

Thanks Jade for your Help!

I did your last suggestion with the #logoWrapper to 950px. It looks more centered, however the bottom drop shadow drops out at 950px too.

I realize most people use a small browser window, however my 15" monitor views web pages at 1276 :shocking: so I want it to look good wide, just in case...

any way to keep the gifs where they are and have the drop shadow go to the end?

also since what ever I do here I have will have empty space in my header, what would I have to do to increase the spaces in-between the gifs, or add another gif (photoshop) but still have the links work...

I guess to do the 950 method, you'd need to add a new wrapper, like #logoWrapperOuter, and give that the original #logoWrapper css, then give #logoWrapper the width of 950px. :-)

17 Jun 2007, 23:03
#283
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Simple Zen Template - Support Thread

I gave it a go, looks good but no wrapper now.

The links look better floating all the on the right anyway so I am going back to the original CSS.

I found the gif header links in the english folder and am going to experiment with adding another gif to the original set of 3, making it 4 gifs with links.

If I added another gif and then added an additional:

<ul><li><a id="sc" href="index.php?main_page=whatever_page"><i>Whatever Page</i></a></li>
``` to the header.php page

how does ZC discern between each gif? is it the size of the gif?
18 Jun 2007, 13:52
#284
jettrue avatar

jettrue

Totally Zenned

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

Re: Simple Zen Template - Support Thread

dharma:

I gave it a go, looks good but no wrapper now.

The links look better floating all the on the right anyway so I am going back to the original CSS.

I found the gif header links in the english folder and am going to experiment with adding another gif to the original set of 3, making it 4 gifs with links.

If I added another gif and then added an additional:

<ul><li><a id="sc" href="index.php?main_page=whatever_page"><i>Whatever Page</i></a></li> ``` to the header.php page > > how does ZC discern between each gif? is it the size of the gif?

Its kind of a complicated css trick. Its all done via this chunk of css (and there's only ONE image, by the way):

#tagline {
	float:right;
	height:70px;
	width:336px;
	}
	
#tagline ul {
  	height:86px; 
  	margin:0;
  	width: 336px;
	background:#fff url(../images/topnav.gif) no-repeat right top;
  	}
  
#tagline li {
  	list-style-type:none; 
  	width:0;
  	height:67px;
    position:absolute;
  	}
  
#tagline a {
	float:left;
  	height:0;
	position:absolute; 
  	color:#000; 
  	text-decoration:none; 
 	padding-top:66px; 
 	}
  
#tagline a#sc{
  	position:absolute; 
  	left:30px; 
  	top:0px;
  	width:90px;
  	}
  
#tagline a#cu {
  	position:absolute; 
  	left:140px; 
  	top:0px; 
  	width:85px;
  	}
  
#tagline a#ma{
  	position:absolute; 
  	left:250px; 
  	top:0px; 
  	width:85px;
  	}

#tagline i{visibility:hidden}

The #sc is for the shopping cart link, the #cu is for the contact us, and the #ma is for the my account link.

Basically, you'd need to first create your new image with the new picture added, and change the width for the tagline to the new width in two places, all you'd have to change is the width:

#tagline {
	float:right;
	height:70px;
	width:336px;
	}

#tagline ul {
  	height:86px; 
  	margin:0;
  	width: 336px;
	background:#fff url(../images/topnav.gif) no-repeat right top;
  	}

Then, you'd need to add your new link to includes/languages/english/simple_zen/header.php, In the example below, I'll give it the id of #nl.

<ul><li><a id="sc" href="index.php?main_page=shopping_cart"><i>Shopping Cart</i></a></li><li><a id="cu" href="index.php?main_page=contact_us"><i>Contact Us</i></a></li><li><a id="ma" href="index.php?main_page=account"><i>My Account</i></a></li><li><a id="nl" href="index.php?main_page=new_link"><i>New Link</i></a></li></ul>

Then you'll need to add a new code for #nl (this assumes you'll add it to the end of the image:

#tagline a#nl{
  	position:absolute; 
  	left:360px; 
  	top:0px; 
  	width:85px;
  	}
27 Jul 2007, 14:36
#285
kankles avatar

kankles

New Zenner

Join Date:
Jul 2007
Posts:
2
Plugin Contributions:
0

Re: Simple Zen Template - Support Thread

Hi,

First I'd like to say this is an awesome template, its been extremely easy to customize.

My problem is with a column over ride. I followed the directions for over riding the right hand column from a previous post on this thread: http://www.zen-cart.com/forum/showthread.php?t=44474&page=11. This over ride worked on all the pages, except for when I link from the manufacturers sidebox on the main page. The right hand column still shows up on the pages that display the listings of a manufacturers products.

I attempted to fix the problem by adding to the code in tpl_main_page.php with no effect:

<?php if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') or ($current_page!='index' || (int)$cPath>0) or ($current_page!='index' || (int)$manufacturers_id>0 )) { // global disable of column_right $flag_disable_right = true; } if (!isset($flag_disable_right) || !$flag_disable_right) { ?>Any ideas on what I'm doing wrong?

Thanks,
Jesse

27 Jul 2007, 21:43
#286
jettrue avatar

jettrue

Totally Zenned

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

Re: Simple Zen Template - Support Thread

kankles:

Hi,

First I'd like to say this is an awesome template, its been extremely easy to customize.

My problem is with a column over ride. I followed the directions for over riding the right hand column from a previous post on this thread: http://www.zen-cart.com/forum/showthread.php?t=44474&page=11. This over ride worked on all the pages, except for when I link from the manufacturers sidebox on the main page. The right hand column still shows up on the pages that display the listings of a manufacturers products.

I attempted to fix the problem by adding to the code in tpl_main_page.php with no effect:

Any ideas on what I'm doing wrong?

Thanks,
Jesse

<?php if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') or ($current_page!='index' || (int)$cPath>0) or ($current_page!='index' || (int)$manufacturers_id>0 )) { // global disable of column_right $flag_disable_right = true; } if (!isset($flag_disable_right) || !$flag_disable_right) { ?>

Well, a manufacturers page is main_page=index, so maybe this part should be like this:

$current_page=='index' || (int)$manufacturers_id>0

I'm not really great with php code... I do a lot of trial and error. Let me now how that works out for ya...

21 Aug 2007, 00:38
#287
dionysian avatar

dionysian

New Zenner

Join Date:
Mar 2007
Posts:
25
Plugin Contributions:
0

Re: Simple Zen Template - Support Thread

jettrue,

I really like your template. The buttons are cool! :clap:

Just one thing I noticed while playing around, the "Reedeem" button in the gift certificate screen should be "Redeemed"

Thanks again for this template!

02 Sep 2007, 13:22
#288
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

Re: Simple Zen Template - Support Thread

i upgraded my site to 1.3.7 and i can't seem to get the colum to show catagories at all, everything was fine until i upgraded the simple_zen files and now even when i use the old back up file the catagories don't show up, i even installed your niftyzen emplate but it was the same.

https://www.gorillagear.ca

02 Sep 2007, 16:58
#289
jettrue avatar

jettrue

Totally Zenned

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

Re: Simple Zen Template - Support Thread

MB1:

i upgraded my site to 1.3.7 and i can't seem to get the colum to show catagories at all, everything was fine until i upgraded the simple_zen files and now even when i use the old back up file the catagories don't show up, i even installed your niftyzen emplate but it was the same.

https://www.gorillagear.ca

Can I see the template on?

03 Sep 2007, 03:29
#290
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

Re: Simple Zen Template - Support Thread

i figured it out for some reason when i upgraded the site is turned off all my boxes i just went into te box controller and turned it on again

06 Sep 2007, 22:32
#291
aggrovated avatar

aggrovated

New Zenner

Join Date:
Sep 2007
Location:
Minnesota
Posts:
18
Plugin Contributions:
0

Re: Simple Zen Template - Support Thread

first off...i would like to thank you Jettrue for all your hard work...template is amazing!

I have been combing the threads looking for a way to simply put a background image in the entire background of the site..
along with uploading the actual jpg onto the server....I'm assuming I need to put this code


{background-image:url(images/crankedclothing.jpg);

background-repeat:repeat-y;

background-position:center top;

background-attachment:fixed}


somewhere in the stylesheet_new.css file?
I appreciate any help you can give me...
thank you in advance

06 Sep 2007, 22:43
#292
jettrue avatar

jettrue

Totally Zenned

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

Re: Simple Zen Template - Support Thread

aggrovated:

first off...i would like to thank you Jettrue for all your hard work...template is amazing!

I have been combing the threads looking for a way to simply put a background image in the entire background of the site..
along with uploading the actual jpg onto the server....I'm assuming I need to put this code


{background-image:url(images/crankedclothing.jpg);

background-repeat:repeat-y;

background-position:center top;

background-attachment:fixed}


somewhere in the stylesheet_new.css file?
I appreciate any help you can give me...
thank you in advance
If it for the entire site, you just put it in the body tag in the css. :smile:

06 Sep 2007, 23:19
#293
aggrovated avatar

aggrovated

New Zenner

Join Date:
Sep 2007
Location:
Minnesota
Posts:
18
Plugin Contributions:
0

Re: Simple Zen Template - Support Thread

thank you...for your reply

hmm...doesnt seem to work..
do I need to put the background image in the image section of the simple_zen folder? subsequently changing the path in the .css to match it?

linky here..... http://artistofdesign.com

TIA
andre

06 Sep 2007, 23:19
#294
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,590
Plugin Contributions:
0

Re: Simple Zen Template - Support Thread

background-image:url(images/crankedclothing.jpg);

You will want to have the correct relative address for your .jpg though . Put the image in your template's /images/ directory and use ../images/YOUR_IMAGE.jpg

06 Sep 2007, 23:32
#295
aggrovated avatar

aggrovated

New Zenner

Join Date:
Sep 2007
Location:
Minnesota
Posts:
18
Plugin Contributions:
0

Re: Simple Zen Template - Support Thread

thank you kim...that worked..

awesome!!!

i'm doin the happy dance!

21 Sep 2007, 07:46
#296
emberrains avatar

emberrains

New Zenner

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

Re: Simple Zen Template - Support Thread

Hello,

I'm using the SZ template and I am trying to find out how to remove the red bar and search box at the top and center my logo there also how do I change the black border? I need a lighter color.

Thank you

21 Sep 2007, 15:59
#297
emberrains avatar

emberrains

New Zenner

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

Re: Simple Zen Template - Support Thread

I found where to change the top from image to text, I was wondering if the home, log in and search box could be fixed on my logo image?

Thank you

21 Sep 2007, 22:49
#298
emberrains avatar

emberrains

New Zenner

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

Re: Simple Zen Template - Support Thread

I have been waiting for someone to help with my questions, while doing I have been trying to get the answers myself, well when I tried to center my logo after reading how to in the FAQs I now seem to have two logos overlapping which you can see here. Is there anyone who can help me?

22 Sep 2007, 04:23
#299
jettrue avatar

jettrue

Totally Zenned

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

Re: Simple Zen Template - Support Thread

emberrains:

I have been waiting for someone to help with my questions, while doing I have been trying to get the answers myself, well when I tried to center my logo after reading how to in the FAQs I now seem to have two logos overlapping which you can see here. Is there anyone who can help me?

Could you have a BIT more patience? You can't expect free responses in less than 16 hours. I do have a life outside of this bulletin board. If you plan on continuing being rude, please do ask help outside of this thread, because I won't answer.

To center your logo and get rid of the second logo you added, you need to change logoWrapper to this:

#logoWrapper {
margin:0 auto;
text-align: center;

}

The logo is already on the page, you added the logo.gif to the css as well. That's why its showing up twice!

You said want the home and login on top of the logo (not easily done), INSTEAD I would make the background of #navMainWrapper black (#000000), so it "looks" like its part of your logo. Then you could have less black at the top of the logo, so it would even more look like the home and login are sitting on top of the logo. I'd make the background of #logoWrapper black as well. You can turn of the header search in your admin, under "Tools", "Layout Boxes Controller".

You can change the grey border of the site here:

div#mainWrapper {
margin-top:25px;
text-align: left;
width: 750px;
vertical-align: top;
background:#fff;
border:5px solid #333;
}

28 Sep 2007, 17:48
#300
guoxiang avatar

guoxiang

New Zenner

Join Date:
Sep 2007
Location:
Singapore
Posts:
18
Plugin Contributions:
0

Re: Simple Zen Template - Support Thread

Hi Jade,

Thanks for sending me the raw file for the topnav. I think the site looks better now. :D

Jade, I'm not a programmer, I have one question. How do I get rid of that white border appearing at my header?

See picture for what I mean:

You can view the website here

Regards
Cheng King Xiang