dsc
MemberForum Replies Created
-
Sure, I meant this by default.
Quote:Try placing this CSS code into the theme’s Custom CSS option:.home .footer {
position: fixed;
bottom: 0;
width: 100%;
}
Syahir, thanks for help, but nothing changed after that code 🙂
But after a lot of googling and experiments, I solved this problem. I will write the decision, maybe it will help somebody.
In a nutshell, we need add wrapper between start of <body> and start of footer like this:
...
<wrap>
<body>
</wrap>
<footer></footer>
</body>
...and edit css.
Detailed:
Open “header.php”, insert after 16 line: <div class=”wrap”>
We got:
...
</head>
<div class="wrap">
<body <?php body_class(); ?>>
...Open “page.php”, insert closing tag in 21 line: </div>
We got:
...
</div>
</div><!-- closing wrap -->
<?php get_footer(); ?>
...Finally, add to style.css (or theme’s Custom CSS option):
html, body {
height: 100%;
}
.wrap {
min-height: 100%;
height: auto !important;
height: 100%;
margin-bottom: -79px;
}It helped me, maybe this method can be optimized.
Viewing 2 posts - 1 through 2 (of 2 total)