Look in the parent theme’s functions.js
. It looks like an implementation of the “sticky footer” concept. The margin is being set via script:
var body = $( 'body' ),
_window = $( window );
/**
* Adds a top margin to the footer if the sidebar widget area is higher
* than the rest of the page, to help the footer always visually clear
* the sidebar.
*/
$( function() {
if ( body.is( '.sidebar' ) ) {
var sidebar = $( '#secondary .widget-area' ),
secondary = ( 0 == sidebar.length ) ? -40 : sidebar.height(),
margin = $( '#tertiary .widget-area' ).height() - $( '#content' ).height() - secondary;
if ( margin > 0 && _window.innerWidth() > 999 )
$( '#colophon' ).css( 'margin-top', margin + 'px' );
}
} );
Related Posts:
- Template part vs Sidebar (differences)
- get_sidebar() will not work in footer.php
- different contents and same sidebar approach?
- Get list of all registered sidebars
- What is the difference with get_sidebar and dynamic_sidebar?
- how do I get_sidebar into a varaible?
- Best way of making multiple sidebars
- Hooking a function onto the sidebar?
- Changing name of sidebar widget
- Getting post-thumbnails from another WP site
- dynamic_sidebar not rendering sidebar
- Get custom side bar on custom post archive page
- bloginfo(‘stylesheet_directory’) vs. get_stylesheet_directory_uri() and include(‘file.php’) vs. get_template_part()
- How do I hook a sidebar via add_action?
- Display comment form of specific page in sidebar
- Category specific months list in sidebar.php
- Add featured image to sidebar [closed]
- Is there possibility to Customize the present theme adding sidebars
- Get a sidebar at the top of the page
- Custom sidebar not showing in the dashboard
- Sidebar random author spotlight
- Sidebar Generator? :)
- Main Sidebar Dispappeared – What could possibly cause this?
- Change which sidebar get_sidebar() gets from functions.php
- How to exclude parent category but show child categories?
- Specific and Different Ads for each Post?
- Adding content to sidebars
- Twenty Ten child theme has post on an inner page. Cant get that page to use my desired template
- Change directory where get_header(), get_footer() and get_sidebar() look for templates
- Change sidebar headers from H1?
- Load same sidebar multiple times
- Backend menu sidebar collapsed by default every time? [duplicate]
- Get sidebars depending on page
- change sidebar or just widgets for 2 specific post type single posts
- Unregister sidebar from Child-Theme
- How can I hide the sidebar on specific pages?
- How to delete wordpress menu
- Display sidebar if blog
- How can you add a link to a sidebar description?
- unregister_sidebar() in stand-alone theme not working
- CSS Twentyeleven / Sidebar has to be changed IN the CSS Stylesheet. Sidebar on the left side
- Why does the TwentyTen Theme sidebar have a class called ‘xoxo’?
- Dynamic Sidebar for subcategory of a category
- Same date is repeating on my custom ‘Most Recent Posts’ on sidebar
- How to add Sidebar and Full width option in post editor
- Corrupt WordPress Design/Appearance [duplicate]
- How are Dynamic Sidebar Widgets rendered
- how to exclude posts on current page from recent posts sidebar widget
- How to add a class when there’s no sidebar?
- Output dynamic_sidebar into PHP
- Creating a different side bar for single posts than for main page.
- Sidebar loop – Thematic Framework
- WP for main site and two blogs – implementation
- Show widget differently depending on if it’s in the sidebar or footer
- How to have dynamic sidebar content per post
- How to list custom post types in a secondary sidebar?
- From what hook on is it possible to conditionally add actions?
- Dividing widgets in sidebar?
- Post thumbnails in sidebar & footer?
- Paging in a sidebar mini loop
- How to add an entry to the Page/Post Settings Sidebar? [duplicate]
- Sidebar on the wrong side of the page
- Include a sidebar on the static front page of twenty thirteen
- How to get the sidebar HTML content?
- Adding Multiple Sidebars
- How to increase maximum number of sidebars support?
- author list not linking to correct page
- if statement in sidebar.php checking page id or template or title
- sidebar parameters (before_widget, before_title) not Working
- Unable to call specific dynamic_sidebar
- Display smilies in Sidebar, too?
- How to enable the default sidebar area?
- Remove Sidebar from WordPress [closed]
- Call dynamic sidebar by name not ID
- Sidebar widget not displaying after simple code update.
- How to send data to sidebar?
- Dynamic sidebar rendered in another place than i would like
- Gutenberg sidebar example does not update meta field in the database
- Sidebar not appearing in footer, but it appears everywhere else!
- Implementing Sticky Kit on WordPress
- Check if sidebar is rendered?
- Not Getting Sidebar
- Where is dynamic_sidebar content defined?
- Why does my sidebar get dragged down on this specific uid?
- Common side bar for multiple websites
- Dynamic Sidebar Conditional [duplicate]
- Cannot retrieve author in sidebar of single.php
- finding sidebar content in wordpress
- Extra copy of sidebar appears in footer
- Gutenberg get wp registered sidebars
- How do I show breadcrumbs when sidebar is not applied?
- Multiple rows of footer widget areas
- Sidebar only shows up on blog page
- Create an array of “read next” posts using a dynamic offset
- Output column number according to active sidebars
- How do you control sidebars when there’s no get_sidebar in templates?
- Find sidebar.php in WP 3.9.2
- Sidebar not appearing on page template with custom posts
- Can Sidebar’s widget retrieve information from content area?
- get_posts() in secondary sidebar messes up content in primary sidebar