# Adjust post div section

**URL:** <https://meta.discourse.org/t/adjust-post-div-section/252954>\
**Category:** Product Support\
**Created:** [January 26, 2023, 6:51am UTC](https://meta.discourse.org/t/adjust-post-div-section/252954 "2023-01-26T06:51:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [January 27, 2023, 9:39pm UTC](https://meta.discourse.org/t/adjust-post-div-section/252954/2 "2023-01-27T21:39:56Z")

</div>

Hi @heymargaux!

The simplest way to do it like your mock-up would be to use CSS margins:

```scss
.cooked {
    margin-left: 20%;
    margin-right: 20%;
}

```

 ![Modified post width](https://global.discourse-cdn.com/meta/original/4X/a/2/2/a2216db9b2b16ddcb7a63c77306ade7ddb628fdd.png)

However, it might be trickier if you want to do this only for posts using different languages.  
Can you be more specific?

There are multiple configurations possible, so you need to provide a bit more information.

- Are the users able to choose their own language interface (see the **allow user locale** admin setting)?

- Are there posts using Right-To-Left language and others that don’t on your forum?

Using an RTL interface adds `rtl` classes in several parts of the page, including the `<html>` tag and `<p>` tags inside posts, but not on the post’s parent container.

But the RTL interface has not much to do with a post language. I can use an RTL interface and write a post in French.

And there is no easy way to detect if a post is written in another language.

What is your use case exactly? The more info you provide (links to your forum maybe?), the best we can help you 🙂

---

_[View the full topic](https://meta.discourse.org/t/adjust-post-div-section/252954)._
