Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

jasonkwall on "proper syntax for using page_id"

$
0
0

I have a child theme installed and a custom css file that I am using to make all of my edits. Currently I am trying to reference a certain page... page#825-2, it is a page not a post. I am trying to remove a boarder and a background color for an image on that page only. By default the theme that I am using puts a boarder and a background color within that boarder to surround all images. So far the code that I have is:

.entry img {
	padding: 0px;
	border: 0px solid #e6e6e6;
	background:#ffffff;
}

this code works but it applies itself to the site as a whole. I only want to apply to a certain page. What would the proper syntax be for this?


Viewing all articles
Browse latest Browse all 8245

Trending Articles