Title: Bug in CSS classes
Last modified: May 7, 2017

---

# Bug in CSS classes

 *  Anonymous User 9018418
 * (@anonymized-9018418)
 * [9 years ago](https://wordpress.org/support/topic/bug-in-css-classes/)
 * Understrap uses `padding` instead of `margin` in .alignleft and .alignright css
   classes. It causes problems such as image downscaling and background and borders
   mispositioning in those elements.
 * You should use margins in this case instead of paddings. Thanks.

Viewing 1 replies (of 1 total)

 *  [understrap](https://wordpress.org/support/users/holger1411/)
 * (@holger1411)
 * [9 years ago](https://wordpress.org/support/topic/bug-in-css-classes/#post-9145245)
 * Thx for your feedback.
 * Was changed here:
    [https://github.com/holger1411/understrap/commit/be25a1fea4ad3d3e9aa014042c12392365afb1e4](https://github.com/holger1411/understrap/commit/be25a1fea4ad3d3e9aa014042c12392365afb1e4)
 * Will be released along with UnderStrap 0.6.1

Viewing 1 replies (of 1 total)

The topic ‘Bug in CSS classes’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/understrap/1.2.4/screenshot.png)
 * Understrap
 * [Support Threads](https://wordpress.org/support/theme/understrap/)
 * [Active Topics](https://wordpress.org/support/theme/understrap/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/understrap/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/understrap/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [understrap](https://wordpress.org/support/users/holger1411/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/bug-in-css-classes/#post-9145245)
 * Status: not resolved