• In twenty sixteen within a post you have a sitebar with author, date etc. Its not so hard to remove these. But I can’t get the content of my post 100%. Changing the entry-content width in the (child theme) css doesn’t seem to help. Editting twentyten/templateparts/content.php didn’t help.
    Does anyone know how to solve this? I’ve been searching for two days without succes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    I’m no expert, but as you’ve not had a reply:

    I suspect a media query in parent CSS is taking precedence. I set my wider screen entry-content width to 90% (I assume it would work for 100%)using the following in child css:

    @media screen and (min-width: 61.5625em) {
      /*  widen entry content on wider screens  */
      body .entry-content, body:not(.search-results) article:not(.type-page) .entry-content {
        float: right;
        width: 90%;
      }
      /* your other site styles for width > 61.5em */
    }

    I did a cut and paste from parent CSS and just changed the width, you can probably strip out things like “float:right” etc

    HTH

    Thread Starter tastymouse

    (@tastymouse)

    Thanks for the reply. I choose a different approach: I edited the content.php (and saved it in my child-theme) and replaced the class entry-content by a new class and gave that a width: 100%.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Content of posts 100%’ is closed to new replies.