Appearance
Set up the homepage
Mila comes with a ready-made homepage built from its shortcodes. You paste it into a page, then replace the sample text and images with your own.
1. Create the page
- Go to Admin → Pages → Create.
- Name it, for example "Home".
- Set Template to Homepage.
- Open
platform/themes/mila/sample/and copy the contents ofhomepage-content.htmlinto the page content (switch the editor to source/HTML mode first). - Save.
2. Make it the homepage
Go to Appearance → Theme options → Page, select your page as the homepage, and save.
3. What the sample contains
| Block | Shortcode |
|---|---|
| Full-screen slides ("Our first flagship store…") | [mila-hero] |
| Collection intro with quick links and three portrait images | [mila-collection-showcase] |
| "An ode to femininity" text | [mila-editorial] |
| "Most loved" product carousel | [mila-products] |
| Boutique tiles | [mila-tiles] |
| Appointment banner and eveningwear banner | [mila-banner] |
| Categories | [mila-categories] |
| "The most important dress in life" link guide | [mila-text-links] |
| Flagship stores | [mila-stores] |
| Latest news | [mila-news] |
| Newsletter | [mila-newsletter] |
4. Replace the sample content
- Upload your own images for the slides, showcase, tiles and banners.
- Give your product categories an image, and mark the ones to show as featured (or pick them in
[mila-categories]). - Point the buttons and links at your own pages.
- For the transparent header over the hero, upload a Light logo in Theme options → Mila.