Header Header
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Header

Started by dukhunter99, March 25, 2005, 10:48:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dukhunter99

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?

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

allan23

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

Casper

It depends on the theme.
Usually this is not a problem, and is done inthe theme/template.html
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

dukhunter99

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.

Casper

Yes, you can do a full width header, just edit the theme/template.html
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

dukhunter99

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

allan23

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...

allan23


donnoman

You would have too look at the style.css at each of those div's

I would start looking around #header