combine the two:
@media screen and (min-width: 1080px) {
.page-id-25 site:before {width: 422px;}
}
you can also use .home
instead of .page-id-25
to target the home page.
Thanks a lot for your reply! Unfortunately though nothing changes after changing “.site:before” into “.page-id-25 site:before”. This is my full child-CSS:
@media screen and (min-width: 1080px) {.site:before {width: 422px;}}
#secondary {width: 422px; padding-left:0;}
body.home .entry-title {
display: none;}
.page-id-25 #secondary {width: 838px;}
Ik heb ‘m! Je zat dichtbij. Het moest zijn: .page-id-25 .site:before
Nogmaals bedankt voor je tip 🙂