coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: severeidaho on April 29, 2006, 08:38:04 AM

Title: Add Custom Header / Need HELP
Post by: severeidaho on April 29, 2006, 08:38:04 AM
Hopefully what I have in mind will work.  I am hoping that I can edit the Template.html from Hardwired theme to Include the Header from my website.  I am very New to PHP so I have no clue where I would put the Code at. 


My Header Code----------------------------


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<title>
Severe Idaho.Com - Weather And Nature Photography
</title>

<link rel="stylesheet" href="style.css" type="text/css" media="screen" />

</head>

<body>

<div id="body_wrapper">
<div id="container">

   <!-- Start of Page Header -->

   <div id="page_header">
   <h1><span>Severe Idaho</span></h1>
   </div>

   <!-- End of Page Header -->



END OF HEADER CODE-----------------------------------------------

Please, If you have the time,  OPen a Hardwired theme (template.html) page,  Insert my code where it goes so I can copy and paste it.  Hopefully I can add code to where My header reads my CSS and then below my header it will point to the galleries CSS so I dont mess up the CSS for the gallery.  I love the look of gallery, wouldnt change a thing except for adding my header so My website is basically one Look. 

I do plan to use the hardwired Theme forever. 

Thanks for the help.....

-gerrit
www.severeidaho.com
Title: Re: Add Custom Header / Need HELP
Post by: Stramm on April 29, 2006, 09:22:53 AM
Create a file, paste your header into it. Now read http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_theme (the part with custom header include)
That's better than pasting the code into the template

However if css interferes I can't say. Depends if they both use partially the same naming. You'll need to try.