Site logo

Archived topic

Footer above footer widgets

3 replies · Started by Anonymous on November 14, 2014

Viewing posts 1–4 of 4

Hi,

How can I make the footer copyright text above the 4 footer widgets?
It is now below the footer widgets..

Hmm, you could probably pull this off..

First, we would hide the default copyright footer:

.site-footer .site-info {
      display: none;
}

And then, using GP Hooks, add something like this to the "Before Footer" area:

<footer role="contentinfo" itemscope="itemscope" itemtype="http://schema.org/WPFooter" class="site-info">
		<div class="inside-site-info grid-container grid-parent">
				<span class="copyright">Copyright &copy; 2014</span> 	· <a title="GeneratePress" target="_blank" href="http://generatepress.com">GeneratePress</a> · <a title="Proudly powered by WordPress" target="_blank" href="http://wordpress.org">WordPress</a>
				</div>
	</footer>

Then, of course, you can edit the inside of it to match your needs.

Let me know if this works or not :)

Hi Tom

I hid the default copyright footer in CSS and replaced it with one of my own using your snippet as a GP hook. I now have two copyright footers, even though I first removed the default footer. Here's the tweaked snippet:

<footer role="contentinfo" itemscope="itemscope" itemtype="http://schema.org/WPFooter" class="site-info">
<div class="inside-site-info grid-container grid-parent">
<span class="copyright">© 2015 eddie lawrence</span> · WordPress theme by GeneratePress
</div>
</footer>

I tried shoving this into the child functions.php file, but it wouldn't have it.

Also, it would be useful to reduce the length of that container, up to the edge of the text perhaps.

thanks

This archived topic is closed to new replies.