# Layout ![](https://docs-assets.foxecom.app/pebble-theme/61e13099-56b5-41bf-8143-d7d751a18656.png) Control your store’s overall page width, navigation behavior, and right-to-left (RTL) language support to create a layout that works well across different screen sizes and languages. ## How to edit Layout 1. In the theme editor (**Edit theme**), go to **Theme settings**. 2. Open **Layout**. 3. Adjust the settings as needed. 4. Click **Save**. ## Settings | Setting | Description | Option | | ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Page width** | Sets the maximum width of your store content on large screens. Content remains centered as the screen gets wider. | **1200–2000px:** Use a narrower width for a more compact layout or a wider width for a more spacious design. | | **Enable back to top button** | Shows a button that lets customers quickly return to the top of long pages.
![image](https://docs-assets.foxecom.app/pebble-theme/image_K30r0yBo.png) | **On:** Shows the back-to-top button when applicable.

**Off:** Hides the button. | | **Enable RTL layout** | Enables a right-to-left layout for supported store languages. | **On:** Automatically switches the storefront to RTL when the active language matches one of the language codes entered below.

**Off:** Keeps the standard left-to-right layout. | | **RTL languages** | Specifies which store languages should use the RTL layout. | Enter [ISO language codes](https://www.loc.gov/standards/iso639-2/php/code_list.php) separated by commas. Leave blank to apply RTL to all languages.

**Example:** `he,ar` applies RTL to Hebrew and Arabic. |
## Tips and best practices * Choose a **Page width** that gives your content enough space without making it feel overly stretched on large screens. * Enable the **Back to top button** for long product pages, extended homepages, or stores with lots of scrolling. * Add only languages that use right-to-left writing to **RTL languages**, such as Arabic (`ar`) or Hebrew (`he`). * Make sure the corresponding languages are added and published in **Shopify Settings > Languages** before enabling RTL. [Learn more](https://help.shopify.com/en/manual/international/localization-and-translation) ![](https://docs-assets.foxecom.app/pebble-theme/image_BQ7Hdles.png) * Preview your store in each RTL language to check text alignment, menus, icons, and other directional elements.