• 0
Sign in to follow this  
Followers 0

Custom Code for Second Footer

Question

Posted · Report post

I'm attempting to place a 2nd footer under the current one (StationPro, 3 columns) and used the following code. It created the space but I need to place correct padding (black). I could not get 'div.secondfooter' to work. How can the code be modified to accomplish this, and also maintain proper position? The additional footer will be text oriented, and also with links to internal and external pages/websites. Also, should it be inserted into 'Custom Code', or should the Footer page be modified? Once again, thanks for your help. html{ height:100% } body{ height:100% } #footer{ position: relative; bottom: 0px; height: 100px; margin-bottom:-100px; }

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted · Report post

The CSS should be added to Custom Code and the footer itself needs to be added to the footer file. You can edit the footer file directly, but the problem with that is that the change you make will be overwritten when you upgrade the theme. This can be avoided by creating a child theme for StationPro so that you can edit files without worrying about your changes disappearing after theme updates. More on that here: http://codex.wordpress.org/Child_Themes If you don't mind making the change to the file directly, I can show you what code to use. What code are you using right now? Also, can you please post a link to your site?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks for your comments. They also present me with additional challenges. (a) First, my URL: http://www.prallagon.com (B) I've tried several times with this Custom Code but could not get it to work:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0