1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with wordpress template!

Discussion in 'Blogging' started by 10zen, Oct 2, 2012.

  1. 10zen

    10zen Regular Member

    Joined:
    Feb 26, 2010
    Messages:
    428
    Likes Received:
    194
    Occupation:
    IM Entrepreneur
    Location:
    World with Infinite Possibilities
    I want to create a page template without sidebar.
    I want to use it for creating landing pages.
    I am using Gonzo responsive theme.

    Before asking for help here I tried some tutorials.
    Created a page template without sidebar but the
    sidebar space remains.

    Can anyone post what I need to do decrease the page width to around 750px(original main
    post width) i.e. remove the sidebar space?
     
  2. astronautleague

    astronautleague Newbie

    Joined:
    Oct 4, 2012
    Messages:
    11
    Likes Received:
    2
    sorry, let me see if i understood this correctly, you basically want to remove the sidebar but conserve the original 750 px width?
     
  3. ice41

    ice41 Power Member

    Joined:
    Aug 18, 2012
    Messages:
    783
    Likes Received:
    248
    Occupation:
    Web Designer
    Location:
    Land of Pineapples
    Copy page.php and name it like page-no-sidebar.php, find and comment this code <?php //get_sidebar();?>. Put this "//Template Name: No Sidebar" at the very top of the page below <?php. Save and upload or whatever, no check your page in the backend and look for page template, select it and press publish. Let me know if there are more issues.
     
    • Thanks Thanks x 1
  4. andly

    andly Newbie

    Joined:
    Jan 26, 2010
    Messages:
    35
    Likes Received:
    4
    I think this will works fine
     
  5. souldetective

    souldetective Regular Member

    Joined:
    Apr 4, 2011
    Messages:
    352
    Likes Received:
    98
    Occupation:
    Electrical Engineer, internet marketer, Black hatt
    Location:
    Always in BHW
    if you are removing sidebar tag from page.php file then increase main content area from css.
     
  6. knopper

    knopper Regular Member Premium Member

    Joined:
    Dec 24, 2008
    Messages:
    429
    Likes Received:
    188
    Occupation:
    Making Money
    Location:
    Pearl City
    Try to get premise, it can be used for WP :) and it's very handy! you will find the nulled one somewhere on g00gle!
     
  7. 10zen

    10zen Regular Member

    Joined:
    Feb 26, 2010
    Messages:
    428
    Likes Received:
    194
    Occupation:
    IM Entrepreneur
    Location:
    World with Infinite Possibilities
    Thank you for the reply.
    On doing so, sidebar is gone but the blank space remains there.
    How to remove it?
     
  8. 10zen

    10zen Regular Member

    Joined:
    Feb 26, 2010
    Messages:
    428
    Likes Received:
    194
    Occupation:
    IM Entrepreneur
    Location:
    World with Infinite Possibilities
    I actually want only the main content area to remain which is around 750-800px.
    I don't know how to decrease the page width.