How to do custom page styles in WordPress

Have you ever wanted to only change a style on one page of your WordPress website? Here is a piece of CSS that will target pages in WordPress.  Give your page a different style using the same stylesheet.

.page-id-1 .entry{ float: left; width: 761px;}
.page-id-2 .entry-content{ margin: auto auto auto 71px;}
.page-id-3 #primary {padding-left: 0;}


Share This

Copy Link to Clipboard