• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Balance Theme Footer Not Stretching

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Balance Theme Footer Not Stretching

This topic is: resolved

Tagged: Balance, footer, Wordpress

  • This topic has 7 replies, 2 voices, and was last updated 8 years, 6 months ago by Matt Mizwicki.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • July 7, 2014 at 8:41 pm #113308
    sookie
    Member

    Hi Guys,

    The Balance theme footer widget is not stretching to match the featured home.

    Am not sure what I have done wrong. I have been at it for a day now.

    Thanks

    http://www.ianhowlett.com/
    July 7, 2014 at 10:03 pm #113317
    Matt Mizwicki
    Member

    It looks like your site http://www.ianhowlett.com/ is password protected. Can you remove the password so we can take a look?

    July 8, 2014 at 8:33 am #113395
    sookie
    Member

    Sorry guys about that. I have now removed the password.

    Thanks

    July 8, 2014 at 1:07 pm #113457
    Matt Mizwicki
    Member

    Hi again Sookie.

    So the problem is that your footer is inside the "inner" div. It needs to be outside the inner div otherwise it can't go to the full 100% width.

    This is how your site has it...

    
    <div id="inner">
             <!-- more inner div content is here-->
         <div id="footer" class="footer">
             <!-- all footer content is here-->
         </div> <!-- this is closing the footer div -->
    </div> <!-- this is closing the inner div -->
    

    So the footer is inside the inner div.

    It needs to be like this for the footer to be full width....

    
    <div id="inner">
             <!-- more inner div content is here-->
    </div> <!-- this is closing the inner div -->
    <div id="footer" class="footer">
             <!-- all footer content is here-->
    </div> <!-- this is closing the footer div -->
    

    Now the footer is outside of the inner div and should go full width.

    I can't be sure what changed in your code, so you'll have to do a little searching.

    Maybe there is an open div tag that didn't get closed?

    Possibly you modified your code and used a hook that moved the footer? If so, you'll need to change your hook, because the one being used isn't correct. (If you're not sure what a hook is, then that's not the problem and you can ignore that part.)

    July 8, 2014 at 5:19 pm #113491
    sookie
    Member

    Thanks for helping Matt. I can't seem to find the code above in my styles sheet. I have looked for it.

    Are you talking about this:

    #inner {
    margin: 40px auto 0;
    overflow: hidden;
    width: 960px;
    }

    .balance-landing #inner {
    margin: 20px auto 0;
    }

    Here is my footer widget:

    /* Footer Widgets
    ------------------------------------------------------------ */

    #footer-widgets {
    background: url(images/gray-texture.jpg);
    clear: both;
    margin: 0 0 20px;
    padding: 25px 0;
    overflow: hidden;
    }

    #footer-widgets .wrap {
    font-size: 13px;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
    width: 960px;
    }

    #footer-widgets .widget {
    background: none;
    border: none;
    margin: 0 0 20px;
    padding: 0;
    text-shadow: #fff 1px 1px;
    }

    #footer-widgets .widget,
    #footer-widgets .widget p {
    color: #777;
    font-family: Verdana, Arial, Tahoma, sans-serif;
    font-size: 13px;
    }

    #footer-widgets .widget p {
    margin: 0 0 15px;
    }

    #footer-widgets ul {
    margin: 0;
    }

    #footer-widgets #wp-calendar thead,
    #footer-widgets #wp-calendar td {
    background: none;
    }

    .footer-widgets-1 {
    float: left;
    margin: 0 40px 0 0;
    width: 295px;
    }

    .footer-widgets-2 {
    float: left;
    width: 290px;
    }

    .footer-widgets-3 {
    float: right;
    width: 295px;
    }

    /* Footer
    ------------------------------------------------------------ */

    #footer {
    clear: both;
    color: #888;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 13px;
    overflow: hidden;
    padding: 20px 0;
    text-transform: uppercase;
    }

    #footer p {
    color: #888;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 13px;
    }

    #footer .gototop {
    display:none;
    }

    #footer .creds {
    display:none;
    }

    July 8, 2014 at 7:14 pm #113508
    Matt Mizwicki
    Member

    Sookie,
    Looking into it more, i def think it has to do with one of your div's in your html not being properly closed. I think maybe it's in your sidebar widgets.

    Notice the footer is working correctly on your contact page (which doesn't have a sidebar)...
    http://www.ianhowlett.com/contact/

    But the footer isn't working on any page with a sidebar.

    I'd move all of your widgets out of your sidebar and see if that fixes the problem. If it does, add the widgets back one at a time until the problem shows up again. Then you'll know which widget is causing the problem, and you can investigate it further.

    July 8, 2014 at 7:55 pm #113511
    sookie
    Member

    Thank you, thank you. You are heaven sent. It was one of the widgets with custom HTML causing problems.

    July 8, 2014 at 7:57 pm #113512
    Matt Mizwicki
    Member

    Whooohooooo! Glad i could help 🙂

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble