media queries with page id


I am using this CSS to make some rows go full-width when viewed on iPads. However, I only want this to run on three pages and can’t seem to get the page-id’s to work. The Page IDs are 8, 14 and 19.

@media (max-width: 1024px) {

.vc_col-sm-8 {

width: 100% !important;

float: none




Please advise.

Thanks in advance,