How to make the post area wider?

Front page Support Forums Origami Theme Support How to make the post area wider?

This topic contains 1 reply, has 2 voices, and was last updated by  satori 5 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #214

    irdeto
    Participant

    Hello,

    How can I make the content/post area a little wider?
    It is not wide enough to fit a 728pixel banner for google adsense.

    thank you

    #215

    satori
    Member

    Hi Irdeto!

    The easiest way is to use the “full-width” page template, which is 950 px wide. If you also want posts to be wider, it is a more difficult task, since all width in the theme are hard-coded in order to enable the responsive layout to function properly. We’ll need to alter the template code: go to “Appearance – Editor”, add the following lines at the bottom of the “style.css” file (should open by default), and hit “Update File”:

    @media only screen and (min-width: 1150px) { .container #content { width: 728px; } .container #sidebar { width: 160px; } .container #content .post-meta { margin-left: 728px; } .single-post .container #content .featured-thumbnail img, .page .container #content img, .blog .container #content .featured-thumbnail img, .single-post .container #content a img, .tag #main .container .featured-thumbnail img, .category .container #content .featured-thumbnail img { max-width: 728px; }
    }

    Sincerely,
    Andrew | Satori

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.