Title: Responsive margin bottom value
Last modified: August 21, 2016

---

# Responsive margin bottom value

 *  [paddyohanlon](https://wordpress.org/support/users/paddyohanlon/)
 * (@paddyohanlon)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/responsive-margin-bottom-value/)
 * Is it possible to set a margin bottom value based on a breakpoint?
 * At the moment, the margin bottom value I have set works for sizes above a viewport
   width of about 850px, but I want to make an adjustment to my footer, which will
   mean its height is greater at a medium size (rough tablet size) break point.
 * At that point, the sticky widget scrolls over the footer partially, because the
   margin bottom is smaller than the new taller footer.
 * Here’s the site: [http://brainperformancereviews.com/](http://brainperformancereviews.com/)
 * I’ve looked at using matchMedia to use javascript based on viewport with, but
   am not sure if it’s possible to hook my own js in somehow.
 * [https://wordpress.org/plugins/q2w3-fixed-widget/](https://wordpress.org/plugins/q2w3-fixed-widget/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Max Bond](https://wordpress.org/support/users/max-bond/)
 * (@max-bond)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/responsive-margin-bottom-value/#post-5024128)
 * Hm… difficult question!
 * Right now I can only advise to assign margin bottom = your highest footer height!

Viewing 1 replies (of 1 total)

The topic ‘Responsive margin bottom value’ is closed to new replies.

 * ![](https://ps.w.org/q2w3-fixed-widget/assets/icon-256x256.png?rev=2384479)
 * [Fixed Widget and Sticky Elements for WordPress](https://wordpress.org/plugins/q2w3-fixed-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/q2w3-fixed-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/q2w3-fixed-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/q2w3-fixed-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/q2w3-fixed-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/q2w3-fixed-widget/reviews/)

## Tags

 * [Fixed Widget](https://wordpress.org/support/topic-tag/fixed-widget/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [Q2W3](https://wordpress.org/support/topic-tag/q2w3/)

 * 1 reply
 * 2 participants
 * Last reply from: [Max Bond](https://wordpress.org/support/users/max-bond/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/responsive-margin-bottom-value/#post-5024128)
 * Status: not resolved