WordPress.org

Forums

Medicine
How to fix gap under slideshow only on home page (4 posts)

  1. coastalsquirrel
    Member
    Posted 1 year ago #

    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.

  2. RossMitchell
    Member
    Posted 1 year ago #

    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;
     }
  3. coastalsquirrel
    Member
    Posted 1 year ago #

    Hey thanks, I'll give that a try!

  4. coastalsquirrel
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic