WordPress.org

Support

Support » Themes and Templates » Figero » How to make all pages full width

How to make all pages full width

  • hello,

    only the home page is full width but i want every page to be full width, how do i do that?

    there is only default page and blog but neither are full width.

    thanks in advance,

Viewing 15 replies - 1 through 15 (of 28 total)
  • Post a link to your site.
    Most likely, this will be a CSS change.

    hey that guy,

    isn’t it the same for all sites, i mean it’s the Figero theme that isn’t giving me full width pages not my site?

    regards,

    Not all websites give you a full-width option. It all depends on how your html, php, css is set up.

    If you post a link to your site I can take a look.

    ok http://www.fbpaginadesign.be/

    let me know.

    tnx in advance,

    Since your site is using a grid system, in order to make a full-width template, you’ll need to have FTP access (you will need to copy all the code from page.php and create a new file called full-width.php).

    At the top of full-width.php, add this code:

    /*
    Template Name: Full Width
    */

    After you add that code (which specifies that it’s a Template page), you should see code that looks like this:

    <div class="content-container">
       <div class="container_24">
          <div class="grid_24">
             <div class="content-main">
                <div class="grid_16 alpha">
                <div class="grid_8 omega">
             </div>
           </div>
           <div class="clear"></div>
       </div>
    </div>

    To get the content area to expand to the full width of the site, you’ll need to change:

    <div class="grid_16 alpha">

    to

    <div class="grid_24">

    and then remove the:

    <div class="grid_8 omega">

    Removing <div class="grid_8 omega"> will get rid of the sidebar.

    Ok thanks a lot that guy.

    ok now the sidebar is gone but my content still display slike it was a default (small) page, how do i resolve that?

    Did you select to use the Full Width page template on the page you want to be full width?

    ok now the sidebar is gone but my content still display slike it was a default (small) page, how do i resolve that?

    yes i selected it

    Also, I assumed that your page was wrapped in <?php> tags since it’s a WordPress site…

    You will need to put this at the top of the full-width.php page:

    <?php
    /* Template Name: Full Width */
    ?>

    thing is your code was correct but there was no <div class=”grid_8 omega”> in the page.php file

    Are you using WordPress? lol

    yes of course, why?

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘How to make all pages full width’ is closed to new replies.
Skip to toolbar