Ich weiß eigentlich gehört sich das nicht, aber ich hab die Hoffnung, dass hier mehr Leute reingucken, als im Unterforum vom Slider.
Außerdem hat mein Problem garnicht so viel mit dem Slider zu tun, sondern ist doch eher ein allgemeines.
Ich will den Vor/Zurück Button durch ein Bild ersetzen. Bisher ist es einfach Text wie man hier sieht:
http://delco.de/contao/
Der Code für die Aktuelle Positionierung und Formatierung sieht wie folgt aus:
Code:
.caroufredsel_next {
color: #fff;
display: block;
font-size: 30px;
font-weight: bold;
height: 40px;
line-height: 37px;
margin-top: -20px;
position: absolute;
right: 8%;
text-align: right;
text-decoration: none;
top: 50%;
width: 40px;
z-index: 4;
}
.caroufredsel_prev {
color: #fff;
display: block;
font-size: 30px;
font-weight: bold;
height: 40px;
line-height: 37px;
margin-top: -20px;
position: absolute;
left: 4%;
text-align: right;
text-decoration: none;
top: 50%;
width: 40px;
z-index: 4;
}
Dadurch sind die beiden "Buttons" nun schonmal Links und Rechts vom Slider anstatt unten drunter und nebeneinander.
Wenn ich jetzt ein Bild wie einen Pfeil für Vor/Zurück einsetzen will mache ich das doch einfach so oder?
Code:
background: url(logo.png);
overflow: hidden;
text-indent: -9999px;
Wenn ich das so einsetze (mit richtiger url) ersetzt er z.B. das "Vor" einfach mit einem "RTS" warum auch immer. Aber das Bild erscheint nicht... Hat jemand ne Idee woran das liegt?
Lesezeichen