rsbruins
Member
Posted 5 months ago #
Hey guys,
I searched the forum but didnt find a answer to my question.
I have a site running with a homepage, and videos, photos and illustrations.
On the homepage i have a sidebar, on the other pages i dont have one now is my question how can i resize the width of the content. The homepage should stay the way it is and the other ones should be wider.
I am having a child theme on twentyeleven.
Cheers,
Rick
you can use the existing css classes output by 'body_class()' to address individual pages in your stylesheet.
something like:
body.page #yourcssid { ... }
http://codex.wordpress.org/Function_Reference/body_class
rsbruins
Member
Posted 5 months ago #
Thanks for the reply, i am not sure what you mean. When i browse my site and turn on Dev tools in chrome is see as body class:"archive post-type-archive post-type-archive-videos logged-in admin-bar single-author two-column right-sidebar"
How can i call that in .css?