Title: Template tweaking
Last modified: October 29, 2018

---

# Template tweaking

 *  Resolved [lanasartprints](https://wordpress.org/support/users/lanasartprints/)
 * (@lanasartprints)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/template-tweaking/)
 * Hello,
    I’m trying to make a template for my print shop. I have slider revolution
   and want to have a slider at the top and images below. I’ve combined the code
   from the slider revolution blank template (visible on my “home” page) and the
   default from Storefront. My issue is a strange space at the top of my page, yet
   it is displaying the transparent menu over the space: [https://lanasartprints.com/landscapes](https://lanasartprints.com/landscapes).
   It should look like it does on the “home” page. Here’s my template code:
 * <?php
    /** * 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. * * [@package](https://wordpress.org/support/users/package/)
   storefront */ ?> <!DOCTYPE html <html <?php language_attributes(); ?> class=”
   no-js”> <head> <meta charset=”<?php bloginfo( ‘charset’ ); ?>”> <meta name=”viewport”
   content=”width=device-width”> <link rel=”profile” href=”[http://gmpg.org/xfn/11″&gt](http://gmpg.org/xfn/11″&gt);
   <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”> <?php wp_head();?
   > <style type=”text/css”> body:before { display:none !important} body { background:
   transparent} </style> </head>
 * <body <?php body_class(); ?>>
    <div id=”primary” class=”content-area”> <main 
   id=”main” class=”site-main” role=”main”> <?php do_action( ‘storefront_page’ );?
   > <?php do_action( ‘storefront_sidebar’ ); ?> <?php wp_footer(); ?> </body> </
   html>
 * I’m new to tweaking php so it could be really obvious lol. But what’s causing
   the space? Also the sidebar isn’t showing up but one at a time.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftemplate-tweaking%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Job a11n](https://wordpress.org/support/users/jobthomas/)
 * (@jobthomas)
 * Automattic Happiness Engineer
 * [7 years, 7 months ago](https://wordpress.org/support/topic/template-tweaking/#post-10848444)
 * Hey [@lanasartprints](https://wordpress.org/support/users/lanasartprints/) – 
   can it be that this issue has been fixed? When I go to the URL that you shared,
   I don’t see any odd whitespaces.
 *  Thread Starter [lanasartprints](https://wordpress.org/support/users/lanasartprints/)
 * (@lanasartprints)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/template-tweaking/#post-10858220)
 * Hi, yes. Well from the outside it seems fine. When I’m logged in I see it but
   if I look incognito its fine. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Template tweaking’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/storefront/4.6.2/screenshot.png)
 * Storefront
 * [Support Threads](https://wordpress.org/support/theme/storefront/)
 * [Active Topics](https://wordpress.org/support/theme/storefront/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/storefront/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/storefront/reviews/)

## Tags

 * [template](https://wordpress.org/support/topic-tag/template/)

 * 2 replies
 * 2 participants
 * Last reply from: [lanasartprints](https://wordpress.org/support/users/lanasartprints/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/template-tweaking/#post-10858220)
 * Status: resolved