> For the complete documentation index, see [llms.txt](https://docs.b2b-sellers.com/b2b-platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.b2b-sellers.com/b2b-platform/3/developer-guides/b2bsellers-core-plugin/b2b-body-classes.md).

# B2B Body Classes

## **What are the B2B Body Classes?**

The B2B body classes are in the storefront usable \<bodyclass="XXX"> body classes, which are different depending on the B2B platform context. Consequently, individual stylings can be realized for different login states.

## **The following B2B body classes are available:**

* is-b2b-sales-representative
* is-b2b-sales-representative-logged-in-as-customer
* is-b2b-employee
* is-b2b-employee-admin
* NEXT: is-b2b-employee-role-XXXXX (name)

#### Note (Alert):

If one is not logged in or the logged in "customer" is a private customer, no class will be added

#### Examples:

![](/files/pNrbPomzbJADpE5iyPNU)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.b2b-sellers.com/b2b-platform/3/developer-guides/b2bsellers-core-plugin/b2b-body-classes.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.
