Skip to content

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 ​

  1. Go to Admin → Pages → Create.
  2. Name it, for example "Home".
  3. Set Template to Homepage.
  4. Open platform/themes/mila/sample/ and copy the contents of homepage-content.html into the page content (switch the editor to source/HTML mode first).
  5. 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 ​

BlockShortcode
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 ​

  1. Upload your own images for the slides, showcase, tiles and banners.
  2. Give your product categories an image, and mark the ones to show as featured (or pick them in [mila-categories]).
  3. Point the buttons and links at your own pages.
  4. For the transparent header over the hero, upload a Light logo in Theme options → Mila.