WordPress.org

Support

Support » Themes and Templates » Medicine » How to fix gap under slideshow only on home page

How to fix gap under slideshow only on home page

  • Hi! I’m new here, and have a question on a site I’m working on. It’s using the theme “Medicine” from Lizard Themes, and the website is charitees.org. On the home page, there is a gap below the slideshow before you get to the text. On all other pages there is no gap. It’s probably a simple fix, but not something that’s within my knowledge yet. Any help would be greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • There is a div block:

    <div class="lzblock" data-block="showroom">
    <div class="showroom-block">
    <div class="clear"></div>
    </div>
    </div>

    On your homepage, not on other pages. This is likely in a page template.

    EITHER
    Ask your template author about this.
    OR
    put a block into your style.css child theme like:

    body.home .lzblock {
       display:none;
     }

    Hey thanks, I’ll give that a try!

    The second code moves the “home” text all the way to the top and the slide and menus disappear. I think you’re right about the first code, I just have to figure out which page template it’s in. There’s an lzblock in several of them. Maybe the header.php? without having to test every one.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to fix gap under slideshow only on home page’ is closed to new replies.
Skip to toolbar