Adapt 1.3 homepage quirk

Homepage Community Forums Adapt Theme Support Adapt 1.3 homepage quirk

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #9576
    sliceofscifi
    Customer

      I was making some minor mods to the home page layout, and it took me a little while to realize where this extra space at the bottom of the page, in between home bottom and the footer widgets was coming from… seems there’s something placing an empty “site-inner” div down there, complete with empty “content-sidebar-wrap” div as well.

      Is there a preferred, safe way to remove that from the Adapt homepage?

      http://www.genesisthemesguide.com is the site in question

      #9579
      Wes
      Moderator

        You can add padding: 0; for the .site-inner, (just for the homepage so it doesn’t affect other pages) like this –

        .home .site-inner {
            padding: 0;
        }

        …and that would remove it.

        #9583
        sliceofscifi
        Customer

          I’ll give that a try.

          Is there a reason it shows up on the homepage at all, since technically it’s not being used there? It’s just odd, with an empty content and sidebar just hanging out, drinking the beer and not cleaning up…

          #9591
          Wes
          Moderator

            Haha! It actually shows up from the home.php file. I think it’s due to the full-width template code. Since it shows up on all themes, I decided to take advantage of it by adding the padding in which gives it the extra space to even things out in the demo. Of course in certain situations it would probably need to be removed.

            #9601
            sliceofscifi
            Customer

              The padding trick worked, so that’s fine. I wonder if that shows up because calling genesis() sets that up. I wonder if calling just the footer and skipping the main default content divs would work, or if removing the actions to those sections would be better.

              I might play with that, just out of curiosity 馃檪

              Thanks!

              #9610
              Wes
              Moderator

                You’re Welcome!

                Yeah that’s something I’ll need to take a look at in the future.

              Viewing 6 posts - 1 through 6 (of 6 total)
              • The topic ‘Adapt 1.3 homepage quirk’ is closed to new replies.