wordpress body reference classes
-
Hello
I’m trying to find examples of how to combine body reference classes, like this:
.entry-content, .entry-summary { clear: both; padding: 30px 0 0; }but only apply it to
.attachment
or
.page-id
ect..
I don’t seem to know how to write it, for example,
.attachment .entry-content .entry-summary { padding: 20px; }applies to all elements which use the content and sumary div.
I only want it to apply to attachments.please help me fill the gaps in my understanding, thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘wordpress body reference classes’ is closed to new replies.