How Do I Add a Full Width Page in WordPress?
Adding a full width page in WordPress is fairly easy. First, create a new file in your theme directory called pages.php and add the following code to it:
Next, go to the WordPress admin area and click on the Pages tab. You’ll see a list of all the pages in your site. Click on the Add New Page button and enter the following information:
Title: Full Width Page
Description: This is a full width page.
Now, you’ll need to add the fullwidth.js file to your theme. To do this, locate the js directory in your theme and add the following line to the top of it:
wp_enqueue_script( ‘fullwidth-page’, get_template_directory_uri() .js’);
Finally, you’ll need to add the fullwidth.css file to your theme. To do this, locate the css directory in your theme and add the following line to the top of it:
wp_enqueue_style( ‘fullwidth’, get_template_directory_uri() . ‘/css/fullwidth.css’);
Now your full width page will be available on all your pages!.