Title: How to decrease indent of nested accordions?
Last modified: June 29, 2021

---

# How to decrease indent of nested accordions?

 *  Resolved [stormdb](https://wordpress.org/support/users/stormdb/)
 * (@stormdb)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/how-to-decrease-indent-of-nested-accordions-2/)
 * Hi, first of all I want to thank you for this amazing plugin. It works like a
   charm.
 * I’m just wondering if you can decrease the indent of the accordions inside the
   main accordion.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Alexis Pandaan](https://wordpress.org/support/users/alexius08/)
 * (@alexius08)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/how-to-decrease-indent-of-nested-accordions-2/#post-14609639)
 * Hi [@stormdb](https://wordpress.org/support/users/stormdb/)! We don’t have a 
   built-in way of adjusting the indent of a content toggle inside another content
   toggle. However, you can use custom CSS to do it. Here’s some code you may use
   for reducing the indents. You may adjust the value depending on your use case.
 *     ```
       .wp-block-ub-content-toggle-accordion-content-wrap > .wp-block-ub-content-toggle{
       	margin-left: -10px;
       }
       ```
   
 * Please let us know how it goes.
 *  Plugin Author [Imtiaz Rayhan](https://wordpress.org/support/users/imtiazrayhan/)
 * (@imtiazrayhan)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/how-to-decrease-indent-of-nested-accordions-2/#post-14669744)
 * Marking this resolved.
 * [@stormdb](https://wordpress.org/support/users/stormdb/), please let us know 
   if you need further assistance.
 * Kind regards.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to decrease indent of nested accordions?’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-blocks/assets/icon-256x256.png?rev=2966061)
 * [Ultimate Blocks – 25+ Gutenberg Blocks for Block Editor](https://wordpress.org/plugins/ultimate-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-blocks/reviews/)

## Tags

 * [content toggle](https://wordpress.org/support/topic-tag/content-toggle/)

 * 2 replies
 * 3 participants
 * Last reply from: [Imtiaz Rayhan](https://wordpress.org/support/users/imtiazrayhan/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/how-to-decrease-indent-of-nested-accordions-2/#post-14669744)
 * Status: resolved