Can't Centre align footer
-
Hi dear community,
I woke up this morning only to find that the footer is no longer centre aligned which is something that I would like to have back. Can somebody please help me?
Thanks in advance,
Dimitra
-
http://codex.wordpress.org/Forum_Welcome#Include_as_much_information_as_possible
what theme are you using?
have you made any edits to any of the theme’s files?can you provide a live link to your site to illustrate the problem?
what does the validation report return – http://codex.wordpress.org/Validating_a_Website ?
Hi alchymyth,
I am a newbie to the wordpress platform and a newbie to the company I work.
We have a customised theme, that my company paid for some years ago. I am not sure what you ask me for with the validation report, neither have I made edits to any of the theme’s files.I tried to, following instructions from other people having the same issue, but it didn’t work so never saved them.
this is our website: http://nckultur.org and the footer is normally centered aligned. This morning it was left aligned – no clue why.
Thanks for the assistance!
Dimitra
There is something weird happening here, your footer is not seperated in teh template.
You can get around this slightly, and center pretty much all of the footer content, you can place this into your custom CSS area or at teh bottom of sytle.css file if using a Child Theme…
.footer-widget-container { text-align: center; }it feels weird! I copy pasted your CSS in my style.css file and nothing changes I am afraid. When it comes to style.css the info regarding my footer looks like this if of any help:
footer {
text-align: center;
}footer div.footer-widget-container {
margin-top: 50px;
padding-top: 15px;
background: transparent url(images/grey-dot.png) repeat-x top left;
}footer .duplicera {
color: #aaa;
margin-top: 10px;
margin-bottom: 10px;
}footer .duplicera a {
color: #aaa !important;
}footer .duplicera a:hover {
color: #f7941e !important;
}in place of your very top line, put this there
footer { text-align: center !important; }instead of using the
footer {
text-align: center;
}I used
footer {
text-align: center !important;
}but still nothing happens 🙁
p.s. thank you so much for trying to help me
Hi,
I had look at the site. You can add this class in your style.css then this may solve the issue.
.main_container_15 .grid_15 { text-align: center; }Rajan
there seems to be an excess
<div>or a missing</div>somewhere in the web page, which could be in the content of a recently added or edited textwidget, or from a plugin.Hi Rajan, thanks for the suggestion but it didn’t work 🙁
I am not sure what this evaluation report excess error means, but is it something I can fix or shall I call for help from the people who did the layout of the theme?Thank you all!
Dimitra
apart from the issue with the html validation (which might have existed for a long time without effecting the layour of the site), there seems to be an error in style.css which stops the formatting towards the end to get applied;
somebody possibly tried to comment one of the styles (about two-thirds down in style,css), here:
#page_list ul li a:hover { /* color: 9BD962 }this should be:
#page_list ul li a:hover { /* color: 9BD962 */ }Well, this was pure magic! Everything got back to its right place!
Thank you alchymyth! I owe you big time!Greetings from Sweden
Dimitra
The topic ‘Can't Centre align footer’ is closed to new replies.