Finding correct css selector
-
Hi all!
I have blogged with wordpress on and off for several years but I am new to editing them properly using CSS.
I am currently creating a website for a company that I’m starting and hence want it to look somewhat serious. I am using the Goran theme and have created a grid page displaying the services I am offering.
I have a few pictures on the page that are quite light and therefore sort of “blend” in to the light background. I want to keep the light background, and so I want to add a border around the images.
I have figured out (I think) what code to use and how to add it, but not what I am supposed to add it to!?
the “a class” for the images I want to border is “post-thumbnail” so I tried
“post-thumbnail {
border: 1px solid black
}”with no result. The specific image’s name seems to be img.attachment-edin-thumbnail…, so I tried the same thing as above for img.attachment but that doesn’t seem to be a selector at all. I also tried doing it for img but nothing happened.
I suspect that it is a simple issue and would really appreciate some pointers! Thank you in advance!
- The topic ‘Finding correct css selector’ is closed to new replies.