WordPress.org

Forums

Blaskan
Sidebar-free landing page (4 posts)

  1. danielhonigman
    Member
    Posted 3 years ago #

    Hey - I run a WP blog for myself using Blaskan, but I wanted to create a more "formal"-looking homepage for it. (And turn the blog portion into something like "sitename.com/blog") My site: http://danielhonigman.com

    Is there a way to do this? I went to create a new page, but there's no option for creating what I want. There are other themes out there that can do this sort of thing, but I really dig Blaskan.

    Even if it's something simple like this for the homepage (http://salvonostrato.com), of course, with the blog being one of the nav links.

    Thanks!

    http://wordpress.org/extend/themes/blaskan/

  2. Pothi
    Member
    Posted 3 years ago #

    Do you want to set up a static front page?

  3. danielhonigman
    Member
    Posted 3 years ago #

    Yes, but with no sidebars, which I have for the blog

  4. Pothi
    Member
    Posted 3 years ago #

    Okay, I understand. As you already mentioned, the author of the theme has provided no option to create a full-width page that can be set as front page to have a formal looking homepage.

    To do what you wanted to achieve, please copy page.php (in wp-content/themes/blaskan/ directory) to something called page-full-width.php.

    Then inside page-full-width.php, please write the following at the top of that file...

    <?php
    /*
    Template Name: Full width page template
    */
    ?>

    Then inside that file, please remove the following line (the second line from the bottom)...

    <?php get_sidebar(); ?>

    Finally, on the same file, please remove the following code inside article tag...

    id="content"

    Please save this file and create a new page. Now there should be an option under "Page Attributes" to create "Full width page". You can see the demo at blaskan.tinywp.com/full-width-page.

    Please note the above steps (except the last step) would probably be the same for other themes too. However the last step may vary depending on the theme. It works on Blaskan theme. For other themes, we may have to rename the id to something like sidebarFreeContent and then change the styles accordingly. In Blaskan theme, the styles related to sidebars are available at framework.css file to tweak.

    HTH

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags