Footer customized
URL to the page in question:
http://
-
Hey Bill,
I have another question. I was wondering if the footer could be customized to have custom html & text added into the center?
thanks in advance!
Rhonda
Hi Rhonda,
You’re welcome to add in any HTML/text you’d like to. Here’s how:
- Go to the Appearance section in your WordPress dashboard and choose Edit.
- From the list of files on your right, choose footer.php
- I would suggest adding in your new code right above this line:
<div id="footer-right">
To make it easier to style, I would do something like this:
<div id="footer-center">
Your code goes here
</div>
How to center it depends somewhat on what is being centered. One option would be to center align the div and then absolutely position it in the footer with the width set to 100%. If the content isn’t too much, that’s the easiest. If it’s not, you may want to float it to the left and add a margin-left to it to push it to the middle.
Hope that helps out,
Bill
Thanks Bill,
I’m not good on coding. This is what I have:
<div id=”footer-center”>Design by Silver Cricket Designs</div>
If the font size is smaller would it fit better and align? Can you help me with code?
thanks
Rhonda
Hi Rhonda,
Can you send over a login again so I can take a look for you. That saves me having to set this up on my own site.
Thanks,
Bill
This reply has been marked as private.
Thanks Rhonda,
Try this:
- Go to your theme options page and choose the Style tab.
- Scroll down to the Custom CSS box and add this:
#footer {
position: relative;
}
#footer-center {
position: absolute;
width: 100%;
text-align: center;
top: 15px;
font-size: 14px;
}
- Update your settings.
Have a great day,
Bill
Thanks Bill,
This looks great – thank you so much!
Rhonda
Glad that helped out 🙂
- The topic ‘Footer customized’ is closed to new replies.