Home/ Blog/ Design of the week/ Metro Tower

Metro Tower

A free elegant premium real-estate theme and template for Bootstrap 5 and Tailwind CSS.

About the Design of the Week

This project is a part of our Design of the Week series. Every week we create a unique custom design theme for Bootstrap 5 and Tailwind CSS and give it away for free.

Creating custom design themes for Bootstrap and Tailwind CSS is fun and easy with the Design panel in Pinegrow Web Editor 6. For example, you can just click on the Surprise me button and Pinegrow will come up with a unique design that you can use as it is, or tweak further.

You can download the project and use it for any purpose you want, with the exception that you should not resell the template as it is, or share it for free without attribution to Pinegrow. No attribution is required if you use the design or template to create your own projects.

This week’s design is called Metro Tower.

The project is available in two versions: using Bootstrap 5 and Tailwind CSS.

The inspiration behind Metro Tower

The main inspiration for the design is the photo of a skyscraper by √Čtienne Beauregard-Riverin. The image comes from Unsplash.

The original image

Four pages

This week, the project has four pages, not just two. All are fully responsive with the help of responsive on different screen sizes. It has:

  • the splash page,
  • the landing page in two variants and
  • a bonus page with reusable content blocks (only for Bootstrap 5).

The splash page

The splash page has full background image and minimal content.

The splash page

Live demo

The landing page with classic header

The landing page displays the design image in the hero section and contains a variety of content sections.

The classic landing page

Live demo

The landing page with artistic header

This version of the landing page has a playful header section where the main image is combined with the logo of the project.

The top detail of the landing page with the artistic header

On this page we added the image as a HTML <img> element, not as background image.

Live demo

Bonus – Blocks for Bootstrap 5

We are including a page full of content blocks that can be used to customize the content of the landing page:

Bonus blocks

Live demo

Colors

The primary and secondary colors were automatically selected by analyzing the image colors. They are both shades of green and work nicely together without having to tweak them further. The third color is used for the warm and slightly transparent background on the splash page.

Bootstrap Design Panel – Colors

Typography

Font types were selected to represent natural playfulness and contrasts.

Fonts hosted on Google Fonts are used for both the regular text and headings:

Bootstrap Design Panel – Typography

Background

The background image options use a simple trick that lets us use the selected image in different ways within the same project: selector is set to .poster, instead of the default body. This gives us the control over where to display the image:

  • Adding the class poster to the body element displays the image as the full page background.
  • Adding the class poster to any other element displays the background image in that element.
  • Not adding the class poster on the page lets us have pages where the image is not displayed.
Bootstrap Design Panel – Background

One detail to keep in mind is that Pinegrow adds the background-attachment: fixed only if the default body selector is used because normally we would want the background image of a content element to scroll together with the rest of the page.

To fix the background to the page view on the full background page we added the CSS rule:

body.poster {
    background-attachment: fixed;
}

Download and use

Download and unzip the project files. Pinegrow works with standard HTML & CSS files. This means that you can use HTML and CSS files from this project anywhere, even without Pinegrow.

To explore and play with the design, open the unzipped folder as project in Pinegrow Web Editor 6 or newer.

Download the Bootstrap 5 project

To use the theme in your project just copy and include the bootstrap_theme/bootstrap.css file.

Download the Tailwind CSS project

Tailwind CSS theme file is optimized to only include the CSS rules that are used in the template. To generate the full CSS file, disable the Just in time compiler option in Tailwind CSS options dialog in the Design panel.

Don’t have Pinegrow Web Editor yet? Download Pinegrow for Mac, Windows or Linux. Full trial version is included.

Working on the project in Pinegrow Web Editor

Learn more

Take a look at the tutorial on using the Design panel:

Submit your own design

Did you use the Design panel to come up with a great looking design? Get in touch. We love to showcase inspiring projects to our community.



Last updated on July 21, 2021 at 3:45 am



Print this article