Ich bin kein Profi und kaue nun schon eine ganze Weile an einem Problem rum:
Ich habe im Header links ein Bild und rechts Schrift. Die Schrift ist verlinkt, das soll auch so sein.
Ich würde aber gerne auch das Bild links verlinken, aber mit einer anderen Seite.
Hier kann man sich das anschauen: www.uni-konstanz.de/manow/testumgebung/
Und hier ein Auszug aus dem Template:
Code: Select all
<!-- Start Header, with logo image that links to the default start page. Logo image is changed in the stylesheet "For template: Left menu + 1 column" -->
<div id="header">
<h2>{cms_selflink dir="start" text="Lehrstuhl für Verwaltungswissenschaft<br/>mit dem Schwerpunkt Public Sector Reform<br/>Prof. Dr. Philip Manow "}</h2>
<hr class="accessibility" />
</div>
<!-- End Header -->
Code: Select all
/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
height: 98px; /* adjust according your image size */
background: #385C72 url(uploads/images/logo.png) no-repeat 0 0px;
}
div#header h2 a {
/* you can set your own image here */
background: #385C72;
color: #333;
display: block;
height: 98px; /* adjust according your image size */
margin-left: 303px; /* text-indent: 302px; -999em this hides the text */
line-height: 1.3;
white-space: nowrap;
text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
Vielen Dank für Anregungen und Tipps,
Asepto