• Hi,

    I im wondering how i go about making a full width page template for my website, or is this even possible for my wordpress site

Viewing 2 replies - 1 through 2 (of 2 total)
  • it’s not too hard

    Make the new template and give it the required header like this:

    <?php
    /*
    Template Name: Wide Content
    */
    ?>

    I just made mine from a copy of page.php

    Then remove the call to the sidebar
    <?php get_sidebar(); ?>

    OK, that’s the easy part. The rest you may have to stumble through. Its different for every theme

    You have to create new classes/IDs and put them in your css for any parts of your page that control the narrower content and have widths on them

    for instance I took <div id="content"> and changed it to <div id="wideContent">

    then copied and edited the appropriate part of style.css

    #content {
    	float: left;
    	width: 775px;
    	margin: 0px 0px 0px 5px;
    	padding: 0 0;
            position: relative;
            z-index: 1;
    	}

    was copied and edited to this

    #wideContent {
    	float: left;
    	width: 1000px;
    	margin: 0px 0px 0px 5px;
    	padding: 0 0;
            position: relative;
            z-index: 1;
    	}

    and so on….

    Thread Starter hardieno8

    (@hardieno8)

    Thank you i will give it try!!

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