Align footer links

Latest Reply from Dave at 2017-03-28 03:26:03
I was told by support that I could add code to align the footer links in the theme's style.css, so I changed text-align from left to center in .footer_txt for desktops but I get the dreaded red footer and 'return the following links to the footer' message even thought the links are completely intact. This is the only place where .footer_txt is aligned so I'm wondering if anyone knows how to get around this?
Hi!

Have you addded styles to align footer text to the style.css file?
If you added some styles right into the footer.php file it could cause some issues like that. It is better not to change html code of footer if you didn't activate the theme with the activation code.
As I stated in the original post all I did was change text-align from left to center for .footer_txt in style.css but I still got the red footer and restore links message. I believe I've found a solution though by commenting out that line:

#footer .footer_txt {
margin:0 auto;
padding-left:0;
padding:20px 0;
color: #21759B;
/* text-align: left; */
}

So far this seems to be working, at least for now.
Could you give us the URL of your wesbite please.
http://davanos.com I'm still getting the error message on all pages except for the Contact page for some reason, but I would really appreciate any help you can provide as this is really annoying and I'm about ready to switch to a different theme even though I've spent so much time and effort on customizing this one.
Hi!

As I can see now there is no red warning on your website, isn't it? Have you solved the issue?
It's because I changed the footer text alignment back to its original setting, I'm still unable to center that text without getting the red warning and I can't have people seeing that.
Red warning banner and style.css file are not connected. The more probable reason for the red banner is a plugin which changes link structure.
As I can see now all the links are looking like //yourlink.com instead of http://yourlink.com. Thus this plugin changes the footer links, but these links mustn't be changed. That's why you get red warning banner.

Leave a reply

Add codeAdd image