Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Verschiedene Grafiken in Webseite einbinden "The Holford Theme"
#16
Hi earlybird,

Sorry I did not see you had returned here.

The header image is the background image for the div #header. If you wish to use the randim script I set it up like this:

In theme/holford include randim.php
In theme/holford/images include your random images 001.jpg, 002.jpg, 003.jpg....
In theme/holford edit the file style.css so that line 33 was

#header {position:relative;height:280px;background:url(images/headimg.jpg);background-repeat:no-repeat;background-position:50% 55%;}

is now

#header {position:relative;height:280px;background:url(randim.php);background-repeat:no-repeat;background-position:50% 55%;}

That is it. Easy! (I hope it works for you).

There is nothing in the code to make your images the right size, so you must do that yourself with gimp or something. Now let us make nonsense with a translator.



Hallo Earlybird,

Leider habe ich nicht gesehen, dass Sie hier zurückgekehrt war.

Das Headerbild ist das Hintergrundbild für das Div hatten. Wenn das gewünschte Skript Randim eingerichtet ich es wie folgt:

Gehören Sie in Thema/Holford randim.php
Enthalten Sie im Thema/Holford/Images Ihre Zufalls-Bilder-001.jpg, 002.jpg, 003.jpg....
Bearbeiten Sie in Thema/Holford die Datei style.css so dass Zeile 33

hatten {Stellung: Relative; Höhe: 280px; Hintergrund: Url (images/headimg.jpg) Hintergrund-Wiederholung: No-wiederholen; Hintergrund-Standpunkt: 50 % 55 %;}

ist jetzt

hatten {Stellung: Relative; Höhe: 280px; Hintergrund: Url (randim.php) Hintergrund-Wiederholung: No-wiederholen; Hintergrund-Standpunkt: 50 % 55 %;}

Das ist es. Einfach! (Ich hoffe, es funktioniert für Sie).

Es gibt nichts in den Code Ihrer Bilder die richtige Größe, machen, so dass Sie selbst mit Gimp oder etwas tun müssen. Nun lassen Sie uns machen Sie Unsinn mit einem Übersetzer.
Reply


Messages In This Thread
Verschiedene Grafiken in Webseite einbinden "The Holford Theme" - by Timbow - 2012-09-16, 19:29:50



Users browsing this thread: 2 Guest(s)