Viewing 2 replies - 16 through 17 (of 17 total)
  • Did anyone accomplish the full width template ? I’d love to put it on a new site I’m building with twenty fifteen: https://www.attacktheweek.com

    hahaha
    After bumping for few hours…. it came in 2 minutes…

    1)create a specific page template for the pages to be with no sidebar. (copy of page.php)
    2) replace the get_header() function with the header.php content
    3) somewhere in the header, before the wp_head () put the !important style you want to have for this page.

    Example: <style> body:before {width:0px!important;} .site-content {margin-left:0px!important; width:100%!important;} </style>

    Full width, no sidebar in no time ??

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Full width page’ is closed to new replies.