# CSS hierarchy

You can easily adjust the CSS hierarchy when overwriting CSS/SCSS styles with the "Body class" in the ThemeWare® configuration. This allows you to avoid using `!important` statements.

* **Body class**: Tab "Others" => Block "Expert settings" => Section "Individual CSS class"

For example, enter "myshop" here and place this at the beginning of the corresponding CSS/SCSS selector.

#### CSS

```css
// Before
.product-detail-ordernumber-container .product-detail-ordernumber-label {
    font-weight: 300 !important; 
}

// Better
.myshop .product-detail-ordernumber-container .product-detail-ordernumber-label {
    font-weight: 300; 
}
```

#### SCSS

```scss
// Before
.product-detail-ordernumber-container {
    .product-detail-ordernumber-label {
        font-weight: 300 !important;
    }
}

// Better
.myshop {
    .product-detail-ordernumber-container {
        .product-detail-ordernumber-label {
            font-weight: 300;
        }
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledge.themeware.design/knowledge-base/tutorials/individual-customizations/css-hierarchy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
