- This topic has 5 replies, 2 voices, and was last updated 9 years, 3 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The topic ‘Adapt 1.3 homepage quirk’ is closed to new replies.
Home › Community Forums › Adapt Theme Support › Adapt 1.3 homepage quirk
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
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.
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…
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.
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!
You’re Welcome!
Yeah that’s something I’ll need to take a look at in the future.