Site logo

Archived topic

Cambiar fondo de h1 y h2 de la entradas del blog

3 replies · Started by jmpefe78gmail-com on March 8, 2022

Viewing posts 1–4 of 4

Hi there,

you can use some CSS like so:

.single-post h1.entry-title {
    background-color: #f00;
    color: #fff;
}
.single-post h2 {
    background-color: #000;
    color: #fff;
}

Ok perfecto. Estaba metiendo incomprensiblemente mal el css, gracias

Glad to be of help!

This archived topic is closed to new replies.