Forums / Templates, Stylesheets, Page Layout / How do I edit the header of my store?

How do I edit the header of my store?

Started by runforcover on 8 Apr 2012, 12:04 AM · Views: 887

Results 1 to 7 of 7
8 Apr 2012, 12:04 AM
#1
runforcover avatar

runforcover

New Zenner

Join Date:
Mar 2012
Posts:
4
Plugin Contributions:
0

How do I edit the header of my store?

I am trying to add navigation from my website to my store. The reason I am confused is because the header image is in the CSS, and there is no header file for me to add my navigation code to.

My store is http://www.runforcoverrecords.com/store

Any help would be greatly appreciated. I searched for a long time on here for the answer but didn't find much.

8 Apr 2012, 12:33 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I edit the header of my store?

If you're talking about the Blog, Artists etc. on your main site page, the easiest way would be to use EZ pages in Zencart for that content and set them to display the links in the header.

https://www.zen-cart.com/tutorials/index.php?article=117

8 Apr 2012, 12:38 AM
#3
runforcover avatar

runforcover

New Zenner

Join Date:
Mar 2012
Posts:
4
Plugin Contributions:
0

Re: How do I edit the header of my store?

Can I style the links to look the same as they do on my site though? Is there no way for me to add the same navigation HTML into a header file for my store and have it appear that way? I am not necessarily looking for the easiest way, I just wan my site and store header to be exactly the same.

8 Apr 2012, 2:35 AM
#4
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: How do I edit the header of my store?

the file you are looking for is

includes/templates/classic/common/header.php

before your last div


Play with it long enough and you will break it.
8 Apr 2012, 4:39 PM
#5
runforcover avatar

runforcover

New Zenner

Join Date:
Mar 2012
Posts:
4
Plugin Contributions:
0

Re: How do I edit the header of my store?

usernamenone:

the file you are looking for is

includes/templates/classic/common/header.php

before your last div

But in my classic folder, there is no common folder! just /css and /images.

And just to be clear, the header image in my store is defined in the CSS, so there is no header.php file as far as I know. Ahh I am so confused!

8 Apr 2012, 6:39 PM
#6
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: How do I edit the header of my store?

The style sheet and the images you are using is in the classic folder

<link rel="stylesheet" type="text/css" href="includes/templates/classic/css/stylesheet.css" />

includes/templates/classic/images/logo.gif

So you are using the classic template.

I would advise you add a new template in the templates folder and give it a unique name (like record) and copy the images and stylesheet folder and the template_info.php into it. Edit the template_info.php to reflect the new name. Then you make a folder called common inside your new template folder then go to the template_default folder and copy the tpl_header.php and paste it inside your new templates common folder.

Log into admin and Tools then Template Selection and select your new template.

Each time you need to edit a file and it is not in your new template you need to copy it out of the template default and paste it into your new custom folder

https://www.zen-cart.com/tutorials/index.php?article=142


Play with it long enough and you will break it.
8 Apr 2012, 6:45 PM
#7
runforcover avatar

runforcover

New Zenner

Join Date:
Mar 2012
Posts:
4
Plugin Contributions:
0

Re: How do I edit the header of my store?

Thank you! Going to try that now.