• Resolved CombatPost

    (@combatpost)


    Hi all,

    Currently making a website for a client, but I can’t seem to get rid of blank spaces. My homepage has/will have *Header*(Logo, Menu, Slideshow)*Link Boxes*(3 boxes with pictures in, all amount to same width as slideshow) *Footer* Footer menu, credits.

    Problem I am having is there seems to be way to much space in the page. After the slideshow (Header) There is a good 50-100px of space that I can’t get rid of. And when I add content to the *link boxes* section, the content has a space of between 40-80px from the header (Not including the space from header link box section).

    link: http://primal.fightagency.co

    Any help is appreciated.

Viewing 14 replies - 1 through 14 (of 14 total)
  • I am not able to see white space. Below the header is a bunch of empty space tho, is that what you are referring to?

    Thread Starter CombatPost

    (@combatpost)

    Hi,

    Yeah Evan that’s why I mean. There’s absolutely no content between the header and footer on the homepage yet there’s still a huge gap there. Plus the gaps between bottom of slideshow and bottom of header.

    Have you set up a loop to grab the appropriate content on the index.php?

    http://codex.wordpress.org/The_Loop

    You may want to code it in your self if the static page is not working.

    Thread Starter CombatPost

    (@combatpost)

    All the content is on there at the moment Evan.

    This is my index:

    <?php get_header() ?>
    <?php get_footer() ?>

    So the space in the middle seems to be coming from nowhere?

    There’s an error here:

    <a href"http://www.primal-feast.co.uk"><img src="http://primal.fightagency.co/wp-content/uploads/2013/08/outback-logo.png" alt="logo" width="200" height="206" class="alignnone size-full wp-image-232" style="position: relative; bottom: 400px; left: -45px; z-index: 99;"/></a>

    (there’s no = in the a href part)

    Now, I know this is supposed to be the link for the logo in the top right corner, but when I use Firebug to take a look, it’s showing up way down underneath the header, exactly where your top half is extending too far. Maybe cleaning up the error and taking another look at your inline style for that item will help…

    Thread Starter CombatPost

    (@combatpost)

    Thanks for the help.

    I’ve reverted to an old theme I was used to, but again the problem is the same. If you take another look at the site you can clearly see the space between the header and content on the front page.

    Have you changed anything since we last looked? The error is still there, and it’s still showing up in Firebug as taking up space halfway down the page:

    <div class="wrapper cf">
       <div class="menu-main-container">
       <div id="combo-holder">
       <div id="meteor-slideshow" class="meteor-slides navnone single-slide navhover">
       <a www.primal-feast.co.uk"="" href"http:="">
    </div>
    Thread Starter CombatPost

    (@combatpost)

    I have changed the full theme. It didn’t change in my firefox either, but cleared SCache now, take another look if you wouldnt mind.

    Thread Starter CombatPost

    (@combatpost)

    And now the background colours from the content and footer have dissapeared? Ha! Never had this much trouble with a WP site!

    Okay, I notice that you’ve fixed the href error, but the inline styles still add a pile of space there:

    <img class="alignnone size-full wp-image-232" width="200" height="206" style="position: relative; bottom: 400px; left: -45px; z-index: 99;" alt="logo" src="http://primal.fightagency.co/wp-content/uploads/2013/08/outback-logo.png">

    I think the space has something to do with the bottom: 400px;
    You may want to recode this template so that the image with the z-index is before the splash box, so it’s relative position isn’t sticking the placement down below. It’s a weird problem I haven’t seen before.

    Have you used Firebug to inspect your live css and test edit things on screen? Without access to the theme files, I can’t say why your backgrounds are missing from the reverted template, but you might be able to get some insight by using it: Inspecting WordPress with Firebug

    Thread Starter CombatPost

    (@combatpost)

    Hi again,

    Yeah it is definitely the logo over the slider that is creating the space. I think it’s to do with the position; relative though, because if I remove that, the logo actually moves inside where the space is, thus meant that when it is relative, the space is still there but the logo has moved.

    Thread Starter CombatPost

    (@combatpost)

    Well, after all this, it was so simple it’s crazy. I changed position: relative to position: absolute and the space has gone. Guess I should have seen it earlier but hindsight is a great thing.

    Thanks to everyone who helped, but now to try and find the missing background for the content and footer

    Hooray!

    Thread Starter CombatPost

    (@combatpost)

    I’ve also just figured out where the missing colours from footer have gone too! Wahey! Becoming a good day! (It was a pesky hidden CSS file)

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Remove blank spaces!’ is closed to new replies.