WordPress.org

Ready to get started?Download WordPress

Forums

Figero
How to make all pages full width (29 posts)

  1. tequila jack
    Member
    Posted 1 year ago #

    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,

  2. bigmike828
    Member
    Posted 1 year ago #

    Post a link to your site.
    Most likely, this will be a CSS change.

  3. tequila jack
    Member
    Posted 1 year ago #

    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,

  4. bigmike828
    Member
    Posted 1 year ago #

    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.

  5. tequila jack
    Member
    Posted 1 year ago #

    ok http://www.fbpaginadesign.be/

    let me know.

    tnx in advance,

  6. bigmike828
    Member
    Posted 1 year ago #

    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.

  7. tequila jack
    Member
    Posted 1 year ago #

    Ok thanks a lot that guy.

  8. tequila jack
    Member
    Posted 1 year ago #

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

  9. bigmike828
    Member
    Posted 1 year ago #

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

  10. tequila jack
    Member
    Posted 1 year ago #

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

  11. tequila jack
    Member
    Posted 1 year ago #

    yes i selected it

  12. bigmike828
    Member
    Posted 1 year ago #

    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 */
    ?>
  13. tequila jack
    Member
    Posted 1 year ago #

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

  14. tequila jack
    Member
    Posted 1 year ago #


  15. bigmike828
    Member
    Posted 1 year ago #

    Are you using WordPress? lol

  16. tequila jack
    Member
    Posted 1 year ago #

    yes of course, why?

  17. bigmike828
    Member
    Posted 1 year ago #

    This is what the top of that page needs to look like:

    <?php
    /* Template Name: Full Width */
    get_header(); ?>

    I assumed you had somewhat of an idea on how this worked. Sorry.

  18. tequila jack
    Member
    Posted 1 year ago #

    no sorry i'm not good with css, not good at all :-)

  19. Andrew
    Forum Moderator
    Posted 1 year ago #

    @tequila jack, Never share website's credentials to anyone. This is a serious security breach. It is not worth risking your website and data for this customisation.

  20. tequila jack
    Member
    Posted 1 year ago #

    i went to your profile but i don't see how i can send you a message :-s

  21. tequila jack
    Member
    Posted 1 year ago #

    i'm sorry moderator, i'm new to these forums, please delete the info

  22. bigmike828
    Member
    Posted 1 year ago #

    How else am I supposed to help tequila jack out without modifying their files?

  23. tequila jack
    Member
    Posted 1 year ago #

    ok i deleted them, sorry andrew

  24. bigmike828
    Member
    Posted 1 year ago #

    Ok, replace this:

    <?php
    /* Template Name: Full Width */
    ?>
    /**
     * The template for displaying all pages.
     *
     * This is the template that displays all pages by default.
     * Please note that this is the wordpress construct of pages
     * and that other 'pages' on your wordpress site will use a
     * different template.
     *
     */
    get_header();
    ?>

    with this:

    <?php
    /* Template Name: Full Width
     * The template for displaying all pages.
     *
     * This is the template that displays all pages by default.
     * Please note that this is the wordpress construct of pages
     * and that other 'pages' on your wordpress site will use a
     * different template.
     *
     */
    get_header();
    ?>
  25. tequila jack
    Member
    Posted 1 year ago #

    still not full width and the sidebar content is displaying below the page now :-(

  26. Andrew
    Forum Moderator
    Posted 1 year ago #

    How else am I supposed to help tequila jack out without modifying their files?

    If support is required beyond what these forums can provide, then it's beyond the scope of these forums to deal with it.

    That level of support can be provided through http://jobs.wordpress.net .

  27. bigmike828
    Member
    Posted 1 year ago #

    I assumed "full width" meant to span across the width of the site's width. Just delete this page template and wait for someone else to reply. Sorry! If I don't have access to your files (which makes sense) then there's nothing more I can really do to help if you don't know CSS.

  28. tequila jack
    Member
    Posted 1 year ago #

    i want it to look like this site: http://www.facebookcovers.be/heb-je-een-vraag/

  29. tequila jack
    Member
    Posted 1 year ago #

    Ok then no problem bigmike, i understand, thanks for your help.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.