[resolved] change css entry-content only on home page? (3 posts)

  1. applesfaceman
    Posted 5 years ago #

    As you can see on

    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

  2. Rev. Voodoo
    Posted 5 years ago #

    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


  3. applesfaceman
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.