Weitere Optionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 3: | Zeile 3: | ||
display: none; | display: none; | ||
} | } | ||
/* Erstellen Sie einen Platzhalter für das benutzerdefinierte Bild */ | |||
content: " | #footer-customico:before { | ||
content: ""; | |||
display: inline-block; | |||
width: 88px; /* Breite des Bildes */ | |||
height: 31px; /* Höhe des Bildes */ | |||
background-image: url('/path/to/your/custom_image.png'); | |||
background-size: cover; | |||
margin-right: 10px; | |||
vertical-align: middle; | |||
} | |||
/* Verlinken des Platzhalters */ | |||
#footer-customico a { | |||
position: relative; | |||
display: inline-block; | |||
text-decoration: none; | |||
} | |||
/* Den Link-Text unsichtbar machen, damit nur das Bild sichtbar ist */ | |||
#footer-customico a span { | |||
position: absolute; | |||
width: 100%; | |||
height: 100%; | |||
left: 0; | |||
top: 0; | |||
z-index: 10; | |||
color: transparent; | |||
} | } | ||
Version vom 26. August 2024, 10:05 Uhr
/* Das folgende CSS wird für Benutzer des Citizen-Skins geladen */
#siteSub {
display: none;
}
/* Erstellen Sie einen Platzhalter für das benutzerdefinierte Bild */
#footer-customico:before {
content: "";
display: inline-block;
width: 88px; /* Breite des Bildes */
height: 31px; /* Höhe des Bildes */
background-image: url('/path/to/your/custom_image.png');
background-size: cover;
margin-right: 10px;
vertical-align: middle;
}
/* Verlinken des Platzhalters */
#footer-customico a {
position: relative;
display: inline-block;
text-decoration: none;
}
/* Den Link-Text unsichtbar machen, damit nur das Bild sichtbar ist */
#footer-customico a span {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 10;
color: transparent;
}