Support » Fixing WordPress » change css entry-content only on home page?

  • Resolved applesfaceman

    (@applesfaceman)


    As you can see on
    http://ocixx.com/imretarded/

    the home page seems to look fine, its not done, but it looks how i need it to at the moement, but if you click a post title or page, the text is over lapping the sidebar, and thats because i changed the width of the #entry-content div to fit the post thumbnails in, but now its that way on all pages.. how would i target the entry content div width on only one page

Viewing 2 replies - 1 through 2 (of 2 total)
  • you can view your source code in the browser and look at the body tag

    <body class="home blog windows msie ie7">

    is your home page

    <body class="page page-id-2 page-template page-template-default windows msie ie7">

    is your “sample page”

    so .page .entry-content { wpuld target it on a page

    .page-id-2 .entry-content { would only target that very page

    etc…..

    thanks Rev, I left the house needed a break from all the confusion 😀 but i managed to find out how to assign a different style sheet to the home page. and i got it working. 🙂 thanks !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘change css entry-content only on home page?’ is closed to new replies.