MaMo Net



#1 10.11.2009, 22:00
cmebd Abwesend
Mitglied
Dabei seit: 09.11.2009
Beiträge: 3


Betreff: Header Graphic changing - Graphic not showing
Hi MaMo,

I am having some problems with changing the graphic for the header. I have changed the name within design/1/ folder and the z_install folder and placed the graphic in both areas and renamed to header.png (which reflects the name of the graphic which is attached).

The graphic has not been designed with the same measurements (length) as the original however I have, for experimental purposed made the height reflect the original header graphic.

My problem is: The graphic(s) do not now show in the header and I cannot understand why unless there is something in the config file (which I have not looked at yet)?

Also once I get the graphic to work how do I maintain the text in the breadcrumb (title) but eliminate the text in the header?
page link here

Any help would be more than appreciate.

PS When you next come to Australia take a peek at Tasmania (a lot of people forget we are here - which is not such a bad thing for the most part).

Cheers
↑  ↓

#2 12.11.2009, 16:03
Kleos Abwesend
Mitglied
Dabei seit: 21.05.2009
Beiträge: 30


Betreff: Re: Header Graphic changing - Graphic not showing
Hi,

I think I can help a little (or at least I can try Smiling )

Zitat von cmebd:
My problem is: The graphic(s) do not now show in the header and I cannot understand why unless there is something in the config file (which I have not looked at yet)?

When you change the header image name/extension, you have to reflect that in css file too. Edit your css file (e.g. designs/1/standard.css) and go to line 90:

DownloadText-Quelltext:
  1. h1 {
  2.         margin: 0px;
  3.         padding: 0px;
  4.         background-image: url('standard/header.jpg');
  5.         height: 73px;
  6.         width: 765px;
  7.         border: 1px solid #839FBC;
  8. }

There you can replace header.jpg to header.png or the name you have for that image. Then place the image file in that folder (url is relative to your design folder). You can also specify width and height of your image.

Zitat von cmebd:
Also once I get the graphic to work how do I maintain the text in the breadcrumb (title) but eliminate the text in the header?

The easiest way to remove the title text in header is by editing your template file. Edit your header template (e.g. templates/1/header.html):

Find (line 70):

<h1><a href="index.php"><?php echo $config['fname']; ?></a></h1>

Replace with:

<h1><a href="index.php"></a></h1>

I don´t know if this is the best solution, but it will do the trick Smiling . It will make your title text disappear, but you will still have a "transparent" link to home page and the breadcrumb intact.

I hope this helps (sorry if my english is not very good).
↑  ↓

Seiten (1): 1


Alle Zeitangaben in GMT +01:00. Aktuelle Uhrzeit: 19:12.