Hallo zusammen,
ich bastle gerade an meinem eigenen WP-Template und bin auf ein kleines Problem gestoßen. Ich konnte problemlos die Farben von Überschriften und die Farben vom Links im Text ändern. Was nicht klappen will: Linkfarben im Footer ändern. Ich habe schon verschiedenes ausprobiert, bin aber absoluter "Newbie" und mache das ganz nach dem "trial and error"-Prinzip. Bislang hat nichts geklappt.
So sieht mein (noch unvollständiges) Stylesheet aus. Ganz unten der Footer:
PHP
body {
background-color:#fff;
color:#000;
font-family: 'Georgia', serif;
font-size: 15px;
}
/*-------[H1]-------*/
/*-------[WRAPPER]-------*/
#wrapper {
width: 600px;
margin: 50px auto 0 auto;
height:auto;
}
h2 {
font-size:18px;
margin-bottom: 13px;
font-weight:normal;
letter-spacing:1px;
text-align:center;
text-decoration:none;
}
h2 a
{
color: #444444;
text-decoration: none;
}
h2 a:hover {
color:#00A784;
text-decoration:none;
}
/*-------[SIDEBAR]-------*/
#sidebar {
display:block;
width: 160px;
height:auto;
margin: 100px auto 100px auto;
}
/*-------[CONTENT]-------*/
#content {
display:block;
width: 600px;
margin-top:50px;
}
.entry {
width: 600px;
margin-bottom: 100px;
text-align: justify;
margin-left:20px;
color:#444444;
}
.entry p a {
color:#00A784;
text-decoration:underline;
}
.entry img {
max-width: 800px;
margin:2px auto 2px auto;
height: auto;
border:none;
margin-left:-100px;
margin-right:auto;
}
.entrymeta {
text-align: center;
font-size:15px;
}
.entrymeta a{
text-decoration:none;
text-transform:uppercase;
color:#000;
}
.post p {
line-height:24px;
padding-bottom:5px;
padding-top:5px;
}
/*-------[FOOTER]-------*/
#footer{
margin-top: 100px;
background-color: #fff;
height: auto;
border-top: 1px solid #A0A0A0
}
.footer a {
color: FF006E;
}
Alles anzeigen
Und das hier ist die footer.php Datei:
PHP
<div id="footer">
<section class="left">
<a href="">Twitter</a>
<a href="">Facebook</a>
<a href="">RSS</a>
</section>
<section class="center">
</section>
<section class="right">
<a href="">About</a>
<a href="">Impressum</a>
</section>
</div><!-- footer -->
</div><!-- wrapper -->
<?php wp_footer(); ?>
<!-- Statistik/Analyse-Tool einbauen -->
</body>
</html>
Alles anzeigen
Vielleicht kann mir ja jemand einen Tipp geben, wo ich was ändern muss, damit das funktioniert.
Hier noch der Link zur Seite.
Vielen Dank!
Christina