forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: dukhunter99 on March 25, 2005, 10:48:31 pm

Title: Header
Post by: dukhunter99 on March 25, 2005, 10:48:31 pm
I want to put a picture(header) at top of the page which shows up on every page above the menu. When I construct it, what size (width) do I make it so it doesn't mess up the rest of the page?
Title: Re: Header
Post by: kegobeer on March 26, 2005, 02:33:15 am
That depends on what theme you are using.  Look at the theme's template.html and theme.php files, look at what size image is in there right now, then make one and try it.  If it breaks your theme, reduce the size.
Title: Re: Header
Post by: allan23 on March 29, 2005, 09:49:09 pm
Hi,
I downloaded a theme with the top header of only ca 30 X 50 pixels but i would like to put a bigger picture there. Is it possible without changing to another theme and if it is possible then how?
Regards
Title: Re: Header
Post by: Casper on March 30, 2005, 12:37:07 am
It depends on the theme.
Usually this is not a problem, and is done inthe theme/template.html
Title: Re: Header
Post by: dukhunter99 on March 30, 2005, 06:50:07 pm
So I won't be able to do a header that goes all the way across the page? Like a picure abd Title? Thats what I'd like to do.
Title: Re: Header
Post by: Casper on March 30, 2005, 11:54:33 pm
Yes, you can do a full width header, just edit the theme/template.html
Title: Re: Header
Post by: dukhunter99 on March 31, 2005, 12:28:38 am
O.K., one more question. If I put a header on the top of the page, how do I make sure it is the right width? I guess I mean pixels. What is the maximum pixel size I should use for the header. Thanks
Title: Re: Header
Post by: allan23 on March 31, 2005, 06:12:11 pm
Where should i change the following template.html file so it would make the area for the header bit bigger?

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

<html dir="{LANG_DIR}">

<head>

<title>{TITLE}</title>

<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />

<link rel="start" href="index.php" />

<link rel="shortcut icon" href="favicon.ico" />

<link rel="search" href="search.php" />

{META}

<link href="themes/reynolds/style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="scripts.js"></script>
</head>

<body>

<h1 id="header">{GAL_NAME}</h1>
<p id ="tagline">{GAL_DESCRIPTION}</p>

<div id="menu">{MAIN_MENU}</div>

<div id="admin_menu" >{ADMIN_MENU}</div>

<div id="content"><div class="innerdiv">{GALLERY}</div>

</div>

</body>

</html>


Is it possible to change it ? I sure didnt find the place for it. Ok appreciate the help...
Title: Re: Header
Post by: allan23 on April 02, 2005, 02:20:47 pm
anyone?
Title: Re: Header
Post by: donnoman on April 02, 2005, 06:35:33 pm
You would have too look at the style.css at each of those div's

I would start looking around #header