Support » Fixing WordPress » Splash page for image, no sidebar or header

  • Resolved fallback2


    I tried plugin SplashImage, did not work.

    I have the Brunelleschi theme, which provides a Template for One column, no sidebar. (wait while I look up what a backtick is…)

     * Template Name: One column, no sidebar
     * A custom page template without sidebar.
     * The "Template Name:" bit above allows this to be selectable
     * from a dropdown menu on the edit page screen.
    get_header(); ?>
    		<div id="main" class="one-column twelvecol last" role="main">
    			<?php get_template_part( 'loop', 'page' ); ?>
    		</div><!-- #main -->
    <?php get_footer(); ?>

    I would like the footer there, but no sidebar or header – just a nice big fat illustration. I thought I could just rewrite this template. I took out the header part, renamed it splash, but it didn’t work, gave error.

    I am sure this is a very simple php, but not sure how to change it. I also don’t know how to add css for it – just call it #splash? It might not need css anyway.

    Any help much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • header.php is usually just all the header information – which you need. It shouldn’t have anything related to the theme… although sometimes it does include the navigation.

    You will want to create a custom template instead of hacking up your current template. Simply add this to the top of a template to create a template:

    <?php/* Template Name: Home Template */ ?>

    Then remove the sidebar part……
    … then learn css. lol

    Thank you, bdbolin, I kept refreshing this page, but never saw your response til now…thanks, Firefox!

    I had tried to create my own template a few times, but got big error message. Just taking out the header took out something else, I guess.

    To help others:
    I thought it would be cleaner to do it by finding a direct php, but ended up hacking the whole thing and just hiding what I didn’t want in the css. 🙁

    Like so: .page-id-122 .hentry {width:960px; padding: 18px 18px 18px 5px;}

    It took a couple of hours to 1. Find the right css id – this is a huge, complicated one- and 2. Trial and error to change it for this page only.

    This was a helpful thread:

    And since the background color was custom embedded, I got this plugin to adjust that:

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Splash page for image, no sidebar or header’ is closed to new replies.