• Resolved lanasartprints

    (@lanasartprints)


    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 . 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 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=”https://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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Job a11n

    (@jobthomas)

    Automattic Happiness Engineer

    Hey @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

    (@lanasartprints)

    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.