# Add Styles to Post Types

With non-public post types, like layout builders that come with certain themes, GenerateBlocks has a tough time generating the styles needed as it is technically never rendered on the frontend.

<figure><img src="https://664464343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtmNb8RTbrDLZUVTlqDNW%2Fuploads%2FLtNN0pnfDaXkhMRC0M87%2Fdlxplugins-1701597843921-1x.webp?alt=media&#x26;token=532b967a-8a90-4974-a059-36fe96eb6dec" alt=""><figcaption><p>Add Post Type Support to Hidden Post Types</p></figcaption></figure>

While visiting the admin options for GB Hacks, you can enable certain post types, so that GenerateBlocks can generate the appropriate styles for the custom type.


---

# 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://docs.dlxplugins.com/gb-extras/features/add-styles-to-post-types.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.
