Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

How to make the post area wider?

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

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
    mmsatori
    Keymaster

    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.