# Z Index

### How to Adjust Z Index in AppSections

The "Z Index" setting in AppSections allows you to control the stacking order of blocks and groups. This setting determines the position of elements relative to each other on the z-axis, enabling you to make elements appear above or below others. Here is how you can adjust the z-index:

### **Z Index**

**Purpose:** This setting allows you to manage the stacking order of elements, making them appear above or below other elements. **Usage:** Use the range selector to set the desired z-index from 0 to 5.

### Z Index Range

* **0:** Default stacking order.
* **1-4:** Intermediate stacking orders for fine-tuning.
* **5:** Highest stacking order.

### Steps to Adjust Z Index

1. **Select the Block/Group:**
   * Open your Shopify theme editor.
   * Navigate to the specific block or group where you want to adjust the z-index.
2. **Locate the Z Index Setting:**
   * In the settings for the block or group, find the **Z Index** option.
3. **Adjust Z Index:**
   * Use the range selector to set the z-index between 0 and 5.
   * **Recommendation:** Adjust the z-index incrementally to achieve the desired stacking order. Avoid setting the z-index to 5 for basic cases to maintain simplicity and avoid conflicts.

### Ensuring the Right Z Index Application

1. **Preview Changes:**
   * After adjusting the z-index, preview your store to see how the changes look.
   * Check the block or group to ensure the stacking order is applied correctly and enhances the layout.
2. **Check Consistency:**
   * Ensure that the z-index setting aligns with your brand’s aesthetic and provides a cohesive look across both desktop and mobile devices.
3. **Test Across Devices:**
   * Verify the z-index setting on different devices to ensure it looks good and maintains functionality on all screen sizes.

### Summary

By using the "Z Index" setting in AppSections, you can control the stacking order of your blocks and groups in your Shopify store. This flexibility allows you to enhance the visual appeal and alignment of your layout, ensuring a dynamic and engaging user experience across all devices. Adjusting the z-index helps create better visual hierarchies and improves the overall design consistency.

If you have any questions or need further assistance, please contact our customer support team.


---

# 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.appsections.com/settings/positionning/sections-blocks/z-index.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.
