# Plugin with sidebar: how to modify small-width, medium-width, large-width?

**URL:** <https://meta.discourse.org/t/plugin-with-sidebar-how-to-modify-small-width-medium-width-large-width/57801>\
**Category:** Development\
**Created:** [February 22, 2017, 5:42pm UTC](https://meta.discourse.org/t/plugin-with-sidebar-how-to-modify-small-width-medium-width-large-width/57801 "2017-02-22T17:42:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)\
**Post date:** [February 22, 2017, 5:42pm UTC](https://meta.discourse.org/t/plugin-with-sidebar-how-to-modify-small-width-medium-width-large-width/57801/1 "2017-02-22T17:42:25Z")

</div>

I am working on a plugin that adds a sidebar to discourse. Because of this sidebar, the width of the topic list is reduced.

The consequence is that the `small-width`, `medium-width` and `large-width` media queries are now wrong. For example, I need to trigger the `small-width` below 900px instead of 800px, for all elements except the header.

How can I do that? I have tried to override the scss variables and mixins with `register_asset "stylesheets/mixins.scss"`, but it doesn’t work…

---

_[View the full topic](https://meta.discourse.org/t/plugin-with-sidebar-how-to-modify-small-width-medium-width-large-width/57801)._
