Same CSS change on multiple pages
-
If I want to make the same adjustment on several pages, for example adjust the horizontal position of one image that is shown on 5 different pages (i.e., different language pages), can I do something like this?
body.page-id-1, body.page-id-2, body.page-id-3 .wp-caption {
position: relative;
left: -90px;
}Or must I define it separately for each page?
body.page-id-1 .wp-caption {
position: relative;
left: -90px;
}body.page-id-2 .wp-caption {
position: relative;
left: -90px;
}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Same CSS change on multiple pages’ is closed to new replies.