How do I center my footer?
4 posters
Page 1 of 1
How do I center my footer?
How do I center my footer?
In the CSS, I changed width and the #wrap and #page-body so my forum pages can adjust automatically if the user has a bookmark sidebar on their browser. Wecoc solved this problem. See https://help.forumotion.com/t155525-site-pages-too-wide-need-to-fit-any-browser-when-bookmark-sidebar-used-by-users
Even before I made this change, I couldn't get my footer centered - I tweaked the footerbar width a lot but never got it completely centered. This is how the code looks:
So I tried width: auto, and I tried width: center. Neither worked. What's the magic code?
Thanks.
In the CSS, I changed width and the #wrap and #page-body so my forum pages can adjust automatically if the user has a bookmark sidebar on their browser. Wecoc solved this problem. See https://help.forumotion.com/t155525-site-pages-too-wide-need-to-fit-any-browser-when-bookmark-sidebar-used-by-users
Even before I made this change, I couldn't get my footer centered - I tweaked the footerbar width a lot but never got it completely centered. This is how the code looks:
- Code:
.footerbar {
background-image: url("https://i62.servimg.com/u/f62/19/89/15/20/footer15.png");
background-repeat:no-repeat;
width: 240px;
height: 290px;
margin: auto;
overflow: hidden;
margin-bottom: -120px;
padding: 10px;
So I tried width: auto, and I tried width: center. Neither worked. What's the magic code?
Thanks.
PoodleyPie- Forumember
- Posts : 161
Reputation : 6
Language : English
Re: How do I center my footer?
You need to remove what you added since it removes the footer links. You can not use coding to hide those links.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How do I center my footer?
This is the CSS code that came with the template. I didn't add anything or try to hide the footer, only to center it on the page. I only changed the width from 240px to auto (and then center), hoping this would move the footer picture over. I've tried different px, i.e., 200px, and it moves the footer bar, but does not center it.
The problem with centering was a problem even before I changed this. I hope I explained it better.
The problem with centering was a problem even before I changed this. I hope I explained it better.
PoodleyPie- Forumember
- Posts : 161
Reputation : 6
Language : English
Re: How do I center my footer?
Never mind, I changed the px to 180 and it's centered now.
Thanks anyway.
Thanks anyway.
PoodleyPie- Forumember
- Posts : 161
Reputation : 6
Language : English
Re: How do I center my footer?
I spoke too soon. When I change the footer photo, the new photo isn't positioned in the center. Tweaking the width doesn't always get it perfect. (Sigh.)
PoodleyPie- Forumember
- Posts : 161
Reputation : 6
Language : English
Re: How do I center my footer?
Next time, try to use center html tag
- Code:
<center></center>
- Code:
.footerbar{
background: url(https://i62.servimg.com/u/f62/18/64/98/14/sig210.png) no-repeat center center;
max-width: 500px;
max-height: 200px;
height: 100%;
margin: 20px auto;
overflow: hidden;
padding: 10px;
}
- Code:
div.navbar ul.linklist li.rightside a {
display: none; /* change to inline from none */
}
Re: How do I center my footer?
Thanks, SarkZKalie, it works beautifully!
PoodleyPie- Forumember
- Posts : 161
Reputation : 6
Language : English
Re: How do I center my footer?
Problem solved & topic archived.
|
Similar topics
» footer links center and size..
» Table to Center!
» Avatar Not Center
» How To Set This As Center
» How to center?
» Table to Center!
» Avatar Not Center
» How To Set This As Center
» How to center?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum