Dave Hogan
asked 11 years ago

How do you make full-width pages?

 

Thanks

1 Answers
DominicStaff
answered 11 years ago

Firstly, Download file: http://www.mediafire.com/download/469sbszsawbzqw8/template-fullwidth.php

To create a full-width layout page/post, you need to have a new file named “template-fullwidth.php”, please find the attachment for it.

– Copy it into your theme (wp-content\themes\dw-focus)

– Log into Dashboard > Page > add new > Page Attributes > template > choose the file you have just copied into theme item. We named it ” Fullwidth “, but you can change its name by yourself inside the file ” template-fullwidth.php” .

– Finally, go to menu > choose the page you have just created > add new menu, you can choose any place you want >>> save.
Notice that, when open the page you just created, you will see a line in the content. In order to delete that line, you need to go to ” template.css ” file, copy this code into Theme Customize


.page-template-template-fullwidth-php .row {
    background-image: none !important;
}

Hope this helps !
Regards,
Dominic

Powered by DW Question & Answer Pro