- This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
Viewing 11 posts - 1 through 11 (of 11 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi everybody!
I’ve been battling for over 3 days on how to get my footer to cover the full width of my blog but no success… Please help?!
I’m on wordpress.org
Thx!
Nath
A link would be helpful.
In general though, your blog is probably inside a wrapper or container which has a width applied.
If you need the footer to be wider than that wrapper you have to take the footer OUT of the wrapper.
Unless a width is specified on your footer it will default back to 100% wide.
Hi Paulie,
Yes that’s what I’m trying to figure out but I don’t know how to change it… :(
My link: lecapetownjournal.com/wordpress/
Do you have access to the PHP which generates the blog?
yes
Then the <footer>
PHP segment/include needs to come after the <section class="container">
PHP segment instead of inside it.
Does that make sense?
I’m no expert on PHP so I’m working from limited knowledge here.
That’s what i did:
<!-- .container -->
© - Le Cape Town Journal. All rights reserved.
<!-- .footer -->
But not working. I edit on my wordpress editor directly
Without sight of the actual PHP it’s going to be tough to help further.
Moving to PHP section.
BTW..
This
<!-- .footer -->
Is not the same as this
<footer class="footer">
<p>© 2013 - Le Cape Town Journal. All rights reserved.</p>
</footer>
put in simple,
if you wish to have the footer as full width 100% of the html page body, you need to put the footer div
<footer>including everything here</footer>
exactly before
</body>
Thus, by default, the width will be 100% unless you set a width to the footer.
hope it helps
Hi Gosingk,
Thx for your reply. No not working, don’t know what i’m doing wrong, this footer is really driving me mad!
It is before the
I paste this hoping maybe you’ll see if i did something wrong:
© – Le Cape Town Journal. All rights reserved.