Wszystkie wpisy, których autorem jest admin

How to Make a Marketing Flyer Template in InDesign

Post pobrano z: How to Make a Marketing Flyer Template in InDesign

Final product image
What You’ll Be Creating

Promote your next business venture or current products with this super-easy tutorial that will help you attract more consumers. In this tutorial, I’ll show you how to make a flyer template.

Corporate business flyers are cost-effective advertising that you can use. Having an easy-to-use business flyer whose format you or your clients can quickly change is a huge advantage. 

In this tutorial, I’ll show you how to make a flyer with the most essential tools. You’ll learn how to successfully set up a template with layers, Color Swatches, and Paragraph styles. These three components will make trouble-free business flyers that can be formatted in just minutes. 

In a hurry? We’ve got amazing InDesign marketing flyer templates and business flyer templates over at Envato Elements and GraphicRiver. Go check them out! 

What You Will Need for Your InDesign Flyer Template

You’ll need access to Adobe InDesign and Adobe Illustrator. If you don’t have the software, you can download a trial from the Adobe website. You’ll also need:

Download the assets and make sure the font is installed on your system before starting. When you are ready, we can start designing the business flyer template! 

1. Setting Up a Marketing Flyer Template InDesign File

Step 1

In InDesign, go to File > New. In the New Document window, select the Print Tab. Select the A4 preset and name the document „Marketing Flyer Template”. Change the settings to the following:

  • Width to 21 cm
  • Height to 29.7 cm
  • Orientation to Portrait
  • Units to Centimeters
  • Pages to 1
  • Uncheck Facing Pages
  • Margins to 1.27 cm
  • Bleeds to 0.3 cm (it’s best to seek your professional printer’s preference)

Click Create.

Create a new marketing flyer template file

Step 2

For this open marketing flyer template, we will work with three Layers. Organizing layers is an important practice when designing a template as they will make it easier for the user to edit.

Bring up the Layers panel by going to Window > Layers. Double-click on Layer 1 and rename it Background. 

In the Layers panel main menu, select New Layer. Name it Images. Click OK.

Additionally, create a new layer named Copy. Click OK.

add layers on the layers panel

Step 3

Head over to Window > Color > Swatches to expand the Swatches panel. Choose New Color Swatch from the main menu. Set the Swatch Name and values to the following: 

  • Teal: C=60 M=0 Y=30 K=0 
  • Dark Blue: C=100 M=80 Y=0 K=70

Click Add and OK after you input each color value.

add colors on the swatches panel

Step 4

For this tutorial, we will create a list of Paragraph Styles that we will use to format the marketing flyer template. 

Head over to Window > Styles > Paragraph Styles to open the Paragraph Styles panel. On the main menu, select New Paragraph Style and set the Style Name to Copy. Select the Basic Character Formats option from the left side menu. Use the following settings:

  • Font Family: RNS Sanz
  • Font Style: Normal
  • Size: 9 pt

Select the Character Color option from the left side menu. Set the color to the Blue swatch. Click OK.

create paragraph styles for your marketing flyer template

Create a New Paragraph Style, setting the Style Name to Headline. Set the Basic Character Formats option to the following:

  • Font Family: RNS Sanz
  • Font Style: Extra Bold
  • Size: 14 pt

Select the Character Color option from the left side menu. Set the color to the Teal swatch. Click OK.

Create a New Paragraph Style, setting the Style Name to Subheadline. Set the Basic Character Formats option to the following:

  • Font Family: RNS Sanz
  • Font Style: Extra Bold
  • Size: 9 pt

Select the Character Color option from the left side menu. Set the color to the Teal swatch. Click OK.

Create a New Paragraph Style, setting the Style Name to Tagline. Set the Basic Character Formats option to the following:

  • Font Family: RNS Sanz
  • Font Style: Extra Bold
  • Size: 18 pt

Select the Character Color option from the left side menu. Set the color to the Blue swatch. Click OK.

paragraph styles

Step 5

Go to Layout > Create Guides. In the Create Guides option window, use the following settings:

  • Rows Number: 5
  • Rows Gutter: 0.5 cm
  • Columns Number: 2
  • Columns Gutter: 0.5 cm
  • Fit Guides to: Margins

Click OK.

create guides on your marketing flyer template

2. How to Design a Marketing Flyer Template in InDesign

Step 1

Select the Background layer from the Layers panel.

Using the Rectangle Tool (M), create a rectangle that measures 15 cm in Width and 5 cm in Height.

On the Swatches panel, select the Blue swatch. Set the Tint to 10%. 

create a rectangle on the top right corner of the marketing flyer template

Create a small text frame over the element and on the top right corner of the marketing flyer. Here, you can include contact information. Use the Paragraph Styles panel to format the frame into the Copy style. On the Control bar, select the Align Right button.

add contact information

Step 2

Select the Images layer from the Layers panel.   

Press Command-D to Place an image. Select the Social Media Logo EPS file and click Open. 

Use the Selection Tool (V) to crop the frame to the preferred logo. Place the logo on the top left corner of the flyer design. 

place a logon on the top left corner of the marketing flyer templates

Step 3

Press Command-D to Place an image. Select the Female Asian Architect JPG file and click Open. 

Place the image on the top guide of the first gutter. Use the Selection Tool (V) to crop the frame to the fourth row. 

Use the Direct Selection Tool (A) to resize the image to 50%. Check for the Scale percentage on the Control bar. 

place an image on the flyer design

Step 4

Select the Rectangle Tool (M) from the toolbar. Click on the document to open the Rectangle Option Window. 

Create a rectangle that measures 10.55 cm in Width and 3.45 cm in Height. Click OK.

Step 5

On the Swatches panel, select the [Paper] swatch for the rectangle. Set the Opacity to 90%. Align the rectangle to the top left corner of the image. 

add a rectangle on the indesign flyer template

Step 6

Select the Copy layer from the Layers panel.

Select the Text Tool (T) from the toolbar. Create a text frame over the rectangle that extends over the first column. 

add copy over the rectangle on the flyer design

Step 7

Add content to the frame and use the Paragraph Styles panel to style the text. Use the Tagline style for the first two lines—this is great for a catchphrase to attract customers. 

Use the Copy style for the description under the tagline.

use the paragraph styles panel to style the content

Step 8

While selecting the text frame, press Command-B to open the Text Frame Options window. Under Inset Spacing, set the Right option to 0.5 cm. Click OK.

add an inset spacing on the text frame

Step 9

Using the Text Tool (T), create a one-column text frame under the image. This frame can extend all the way to the bottom margin.

Add content and use the Paragraph Styles panel to style the frame. Use the Headline and Copy styles. Select the copy and change the color on the Swatches panel to [Paper]. 

Press Command-B to open the Text Frame Options window. Under Inset Spacing, set the Left side to 0.5 cm. 

Using the Rectangle Tool (M), create a rectangle that covers the text frame we created in this step. On the Swatches panel, set the color to Blue. Place this element on the Background layer.

add content and add a rectangle on the background of the flyer design

Step 10

Select the Text Tool (T) from the toolbar. Create a square text frame that measures 1 cm on all sides. 

Set the color of the frame to Blue on the Swatches panel. 

Add a number to the frame and use the Paragraph Styles panel to style it. Select the Headline style and change the color to [Paper] on the Swatches panel.

create a small text frame and add a number

Step 11

Head over to the Control bar and select the Align Center button. 

While selecting the text frame, press Command-B to open the Text Frame Options window. Under Inset Spacing, add 0.5 cm to all sides. Click OK.

use the text frame options to add an inset spacing

Step 12

Open the Text Wrap panel by going to Window > Text Wrap. On the panel, set the Offset to 0.3 cm on all sides

use the text wrap panel to add a wrap around on the text frame

Step 13

Duplicate the text frame by pressing Option and dragging. Change the numbers to „2” and „3”. Place the frames over the full-column frame created previously. 

duplicate the text frame and place over the content

Step 14

Using the Text Tool (T), create a second text frame on the opposite column. 

Use the Paragraph Styles panel to design the frame with the Headline and Copy styles. 

add a text frame to the opposite column of the flyer design

Step 15

Open the Digital Marketing Icons in Illustrator. Select three icons and copy/paste them onto the marketing flyer template in InDesign. 

Resize the icons on the Control bar. Set the Percentage Scale to 20%. 

copy and paste the icons

Step 16

You’ll notice the colors don’t match our design. On the Swatches panel, select the cream color and click on the Delete button. In the Delete Swatch options window, select the Replacement to Defined Swatch. In the dropdown menu, select the [Paper} swatch. Click OK.

Select the RGB teal color on the Swatches panel. Delete it and replace it with the Blue swatch. 

substitute the icons colors for the swatches we created

Step 17

Place each icon at the top of each gutter on the last three rows. 

Create a text frame with the Text Tool (T) for each icon/row. Add content and use the Paragraph Styles panel to style it. Use the Subheadline and Copy styles. 

add text next to the icons

Step 18

Using the Line Tool (/), create a stroke between each text frame. 

Open the Stroke panel by going to Window > Stroke. Set the Stroke Weight to 1 pt and the Type to Dotted.

On the Swatches panel, set the Stroke color to Blue. 

create stroke lines in between the text frames

3. How to Export an InDesign Flyer Template File for Printing

Before exporting a file for printing, it is useful to take a look around all the edges to make sure all the images and vectors bleeding out are touching the bleeds.

Step 1

To export the file, go to File > Export. Name the file „Marketing Flyer Template” and choose Adobe PDF (Print) from the Format dropdown menu. Click Save. 

export the marketing flyer template as a PDF

Step 2

In the Export Adobe PDF window, set the Adobe PDF Preset to Press Quality.

select Press Quality under the Adobe PDF Preset

On the left side of the panel, select Marks and Bleeds. Check All Printer’s Marks and Use Document Bleed Settings. Click Export. You will have a ready-to-print PDF file.

select all printers marks and document bleed settings

Great Job! You’ve Finished Your Business Flyer!

In this tutorial, we learned how to make a flyer template. We covered key tools that will help anyone edit this template fast and easy. Today, we learned to:

  • set up a ready-to-print InDesign file
  • create layers to keep an organized file
  • add color swatches and replace colors
  • create Paragraph styles to style text frames
  • use the Text Frame options and Text Wrap tool on text frames

If you are new to InDesign and need flyer templates or flyer design inspiration right away, head over to Envato Elements and GraphicRiver. We’ve got many options to explore! 

If you liked this tutorial, you might like these:

How to Make a Marketing Flyer Template in InDesign

Post pobrano z: How to Make a Marketing Flyer Template in InDesign

Final product image
What You’ll Be Creating

Promote your next business venture or current products with this super-easy tutorial that will help you attract more consumers. In this tutorial, I’ll show you how to make a flyer template.

Corporate business flyers are cost-effective advertising that you can use. Having an easy-to-use business flyer whose format you or your clients can quickly change is a huge advantage. 

In this tutorial, I’ll show you how to make a flyer with the most essential tools. You’ll learn how to successfully set up a template with layers, Color Swatches, and Paragraph styles. These three components will make trouble-free business flyers that can be formatted in just minutes. 

In a hurry? We’ve got amazing InDesign marketing flyer templates and business flyer templates over at Envato Elements and GraphicRiver. Go check them out! 

What You Will Need for Your InDesign Flyer Template

You’ll need access to Adobe InDesign and Adobe Illustrator. If you don’t have the software, you can download a trial from the Adobe website. You’ll also need:

Download the assets and make sure the font is installed on your system before starting. When you are ready, we can start designing the business flyer template! 

1. Setting Up a Marketing Flyer Template InDesign File

Step 1

In InDesign, go to File > New. In the New Document window, select the Print Tab. Select the A4 preset and name the document „Marketing Flyer Template”. Change the settings to the following:

  • Width to 21 cm
  • Height to 29.7 cm
  • Orientation to Portrait
  • Units to Centimeters
  • Pages to 1
  • Uncheck Facing Pages
  • Margins to 1.27 cm
  • Bleeds to 0.3 cm (it’s best to seek your professional printer’s preference)

Click Create.

Create a new marketing flyer template file

Step 2

For this open marketing flyer template, we will work with three Layers. Organizing layers is an important practice when designing a template as they will make it easier for the user to edit.

Bring up the Layers panel by going to Window > Layers. Double-click on Layer 1 and rename it Background. 

In the Layers panel main menu, select New Layer. Name it Images. Click OK.

Additionally, create a new layer named Copy. Click OK.

add layers on the layers panel

Step 3

Head over to Window > Color > Swatches to expand the Swatches panel. Choose New Color Swatch from the main menu. Set the Swatch Name and values to the following: 

  • Teal: C=60 M=0 Y=30 K=0 
  • Dark Blue: C=100 M=80 Y=0 K=70

Click Add and OK after you input each color value.

add colors on the swatches panel

Step 4

For this tutorial, we will create a list of Paragraph Styles that we will use to format the marketing flyer template. 

Head over to Window > Styles > Paragraph Styles to open the Paragraph Styles panel. On the main menu, select New Paragraph Style and set the Style Name to Copy. Select the Basic Character Formats option from the left side menu. Use the following settings:

  • Font Family: RNS Sanz
  • Font Style: Normal
  • Size: 9 pt

Select the Character Color option from the left side menu. Set the color to the Blue swatch. Click OK.

create paragraph styles for your marketing flyer template

Create a New Paragraph Style, setting the Style Name to Headline. Set the Basic Character Formats option to the following:

  • Font Family: RNS Sanz
  • Font Style: Extra Bold
  • Size: 14 pt

Select the Character Color option from the left side menu. Set the color to the Teal swatch. Click OK.

Create a New Paragraph Style, setting the Style Name to Subheadline. Set the Basic Character Formats option to the following:

  • Font Family: RNS Sanz
  • Font Style: Extra Bold
  • Size: 9 pt

Select the Character Color option from the left side menu. Set the color to the Teal swatch. Click OK.

Create a New Paragraph Style, setting the Style Name to Tagline. Set the Basic Character Formats option to the following:

  • Font Family: RNS Sanz
  • Font Style: Extra Bold
  • Size: 18 pt

Select the Character Color option from the left side menu. Set the color to the Blue swatch. Click OK.

paragraph styles

Step 5

Go to Layout > Create Guides. In the Create Guides option window, use the following settings:

  • Rows Number: 5
  • Rows Gutter: 0.5 cm
  • Columns Number: 2
  • Columns Gutter: 0.5 cm
  • Fit Guides to: Margins

Click OK.

create guides on your marketing flyer template

2. How to Design a Marketing Flyer Template in InDesign

Step 1

Select the Background layer from the Layers panel.

Using the Rectangle Tool (M), create a rectangle that measures 15 cm in Width and 5 cm in Height.

On the Swatches panel, select the Blue swatch. Set the Tint to 10%. 

create a rectangle on the top right corner of the marketing flyer template

Create a small text frame over the element and on the top right corner of the marketing flyer. Here, you can include contact information. Use the Paragraph Styles panel to format the frame into the Copy style. On the Control bar, select the Align Right button.

add contact information

Step 2

Select the Images layer from the Layers panel.   

Press Command-D to Place an image. Select the Social Media Logo EPS file and click Open. 

Use the Selection Tool (V) to crop the frame to the preferred logo. Place the logo on the top left corner of the flyer design. 

place a logon on the top left corner of the marketing flyer templates

Step 3

Press Command-D to Place an image. Select the Female Asian Architect JPG file and click Open. 

Place the image on the top guide of the first gutter. Use the Selection Tool (V) to crop the frame to the fourth row. 

Use the Direct Selection Tool (A) to resize the image to 50%. Check for the Scale percentage on the Control bar. 

place an image on the flyer design

Step 4

Select the Rectangle Tool (M) from the toolbar. Click on the document to open the Rectangle Option Window. 

Create a rectangle that measures 10.55 cm in Width and 3.45 cm in Height. Click OK.

Step 5

On the Swatches panel, select the [Paper] swatch for the rectangle. Set the Opacity to 90%. Align the rectangle to the top left corner of the image. 

add a rectangle on the indesign flyer template

Step 6

Select the Copy layer from the Layers panel.

Select the Text Tool (T) from the toolbar. Create a text frame over the rectangle that extends over the first column. 

add copy over the rectangle on the flyer design

Step 7

Add content to the frame and use the Paragraph Styles panel to style the text. Use the Tagline style for the first two lines—this is great for a catchphrase to attract customers. 

Use the Copy style for the description under the tagline.

use the paragraph styles panel to style the content

Step 8

While selecting the text frame, press Command-B to open the Text Frame Options window. Under Inset Spacing, set the Right option to 0.5 cm. Click OK.

add an inset spacing on the text frame

Step 9

Using the Text Tool (T), create a one-column text frame under the image. This frame can extend all the way to the bottom margin.

Add content and use the Paragraph Styles panel to style the frame. Use the Headline and Copy styles. Select the copy and change the color on the Swatches panel to [Paper]. 

Press Command-B to open the Text Frame Options window. Under Inset Spacing, set the Left side to 0.5 cm. 

Using the Rectangle Tool (M), create a rectangle that covers the text frame we created in this step. On the Swatches panel, set the color to Blue. Place this element on the Background layer.

add content and add a rectangle on the background of the flyer design

Step 10

Select the Text Tool (T) from the toolbar. Create a square text frame that measures 1 cm on all sides. 

Set the color of the frame to Blue on the Swatches panel. 

Add a number to the frame and use the Paragraph Styles panel to style it. Select the Headline style and change the color to [Paper] on the Swatches panel.

create a small text frame and add a number

Step 11

Head over to the Control bar and select the Align Center button. 

While selecting the text frame, press Command-B to open the Text Frame Options window. Under Inset Spacing, add 0.5 cm to all sides. Click OK.

use the text frame options to add an inset spacing

Step 12

Open the Text Wrap panel by going to Window > Text Wrap. On the panel, set the Offset to 0.3 cm on all sides

use the text wrap panel to add a wrap around on the text frame

Step 13

Duplicate the text frame by pressing Option and dragging. Change the numbers to „2” and „3”. Place the frames over the full-column frame created previously. 

duplicate the text frame and place over the content

Step 14

Using the Text Tool (T), create a second text frame on the opposite column. 

Use the Paragraph Styles panel to design the frame with the Headline and Copy styles. 

add a text frame to the opposite column of the flyer design

Step 15

Open the Digital Marketing Icons in Illustrator. Select three icons and copy/paste them onto the marketing flyer template in InDesign. 

Resize the icons on the Control bar. Set the Percentage Scale to 20%. 

copy and paste the icons

Step 16

You’ll notice the colors don’t match our design. On the Swatches panel, select the cream color and click on the Delete button. In the Delete Swatch options window, select the Replacement to Defined Swatch. In the dropdown menu, select the [Paper} swatch. Click OK.

Select the RGB teal color on the Swatches panel. Delete it and replace it with the Blue swatch. 

substitute the icons colors for the swatches we created

Step 17

Place each icon at the top of each gutter on the last three rows. 

Create a text frame with the Text Tool (T) for each icon/row. Add content and use the Paragraph Styles panel to style it. Use the Subheadline and Copy styles. 

add text next to the icons

Step 18

Using the Line Tool (/), create a stroke between each text frame. 

Open the Stroke panel by going to Window > Stroke. Set the Stroke Weight to 1 pt and the Type to Dotted.

On the Swatches panel, set the Stroke color to Blue. 

create stroke lines in between the text frames

3. How to Export an InDesign Flyer Template File for Printing

Before exporting a file for printing, it is useful to take a look around all the edges to make sure all the images and vectors bleeding out are touching the bleeds.

Step 1

To export the file, go to File > Export. Name the file „Marketing Flyer Template” and choose Adobe PDF (Print) from the Format dropdown menu. Click Save. 

export the marketing flyer template as a PDF

Step 2

In the Export Adobe PDF window, set the Adobe PDF Preset to Press Quality.

select Press Quality under the Adobe PDF Preset

On the left side of the panel, select Marks and Bleeds. Check All Printer’s Marks and Use Document Bleed Settings. Click Export. You will have a ready-to-print PDF file.

select all printers marks and document bleed settings

Great Job! You’ve Finished Your Business Flyer!

In this tutorial, we learned how to make a flyer template. We covered key tools that will help anyone edit this template fast and easy. Today, we learned to:

  • set up a ready-to-print InDesign file
  • create layers to keep an organized file
  • add color swatches and replace colors
  • create Paragraph styles to style text frames
  • use the Text Frame options and Text Wrap tool on text frames

If you are new to InDesign and need flyer templates or flyer design inspiration right away, head over to Envato Elements and GraphicRiver. We’ve got many options to explore! 

If you liked this tutorial, you might like these:

How to Make a Marketing Flyer Template in InDesign

Post pobrano z: How to Make a Marketing Flyer Template in InDesign

Final product image
What You’ll Be Creating

Promote your next business venture or current products with this super-easy tutorial that will help you attract more consumers. In this tutorial, I’ll show you how to make a flyer template.

Corporate business flyers are cost-effective advertising that you can use. Having an easy-to-use business flyer whose format you or your clients can quickly change is a huge advantage. 

In this tutorial, I’ll show you how to make a flyer with the most essential tools. You’ll learn how to successfully set up a template with layers, Color Swatches, and Paragraph styles. These three components will make trouble-free business flyers that can be formatted in just minutes. 

In a hurry? We’ve got amazing InDesign marketing flyer templates and business flyer templates over at Envato Elements and GraphicRiver. Go check them out! 

What You Will Need for Your InDesign Flyer Template

You’ll need access to Adobe InDesign and Adobe Illustrator. If you don’t have the software, you can download a trial from the Adobe website. You’ll also need:

Download the assets and make sure the font is installed on your system before starting. When you are ready, we can start designing the business flyer template! 

1. Setting Up a Marketing Flyer Template InDesign File

Step 1

In InDesign, go to File > New. In the New Document window, select the Print Tab. Select the A4 preset and name the document „Marketing Flyer Template”. Change the settings to the following:

  • Width to 21 cm
  • Height to 29.7 cm
  • Orientation to Portrait
  • Units to Centimeters
  • Pages to 1
  • Uncheck Facing Pages
  • Margins to 1.27 cm
  • Bleeds to 0.3 cm (it’s best to seek your professional printer’s preference)

Click Create.

Create a new marketing flyer template file

Step 2

For this open marketing flyer template, we will work with three Layers. Organizing layers is an important practice when designing a template as they will make it easier for the user to edit.

Bring up the Layers panel by going to Window > Layers. Double-click on Layer 1 and rename it Background. 

In the Layers panel main menu, select New Layer. Name it Images. Click OK.

Additionally, create a new layer named Copy. Click OK.

add layers on the layers panel

Step 3

Head over to Window > Color > Swatches to expand the Swatches panel. Choose New Color Swatch from the main menu. Set the Swatch Name and values to the following: 

  • Teal: C=60 M=0 Y=30 K=0 
  • Dark Blue: C=100 M=80 Y=0 K=70

Click Add and OK after you input each color value.

add colors on the swatches panel

Step 4

For this tutorial, we will create a list of Paragraph Styles that we will use to format the marketing flyer template. 

Head over to Window > Styles > Paragraph Styles to open the Paragraph Styles panel. On the main menu, select New Paragraph Style and set the Style Name to Copy. Select the Basic Character Formats option from the left side menu. Use the following settings:

  • Font Family: RNS Sanz
  • Font Style: Normal
  • Size: 9 pt

Select the Character Color option from the left side menu. Set the color to the Blue swatch. Click OK.

create paragraph styles for your marketing flyer template

Create a New Paragraph Style, setting the Style Name to Headline. Set the Basic Character Formats option to the following:

  • Font Family: RNS Sanz
  • Font Style: Extra Bold
  • Size: 14 pt

Select the Character Color option from the left side menu. Set the color to the Teal swatch. Click OK.

Create a New Paragraph Style, setting the Style Name to Subheadline. Set the Basic Character Formats option to the following:

  • Font Family: RNS Sanz
  • Font Style: Extra Bold
  • Size: 9 pt

Select the Character Color option from the left side menu. Set the color to the Teal swatch. Click OK.

Create a New Paragraph Style, setting the Style Name to Tagline. Set the Basic Character Formats option to the following:

  • Font Family: RNS Sanz
  • Font Style: Extra Bold
  • Size: 18 pt

Select the Character Color option from the left side menu. Set the color to the Blue swatch. Click OK.

paragraph styles

Step 5

Go to Layout > Create Guides. In the Create Guides option window, use the following settings:

  • Rows Number: 5
  • Rows Gutter: 0.5 cm
  • Columns Number: 2
  • Columns Gutter: 0.5 cm
  • Fit Guides to: Margins

Click OK.

create guides on your marketing flyer template

2. How to Design a Marketing Flyer Template in InDesign

Step 1

Select the Background layer from the Layers panel.

Using the Rectangle Tool (M), create a rectangle that measures 15 cm in Width and 5 cm in Height.

On the Swatches panel, select the Blue swatch. Set the Tint to 10%. 

create a rectangle on the top right corner of the marketing flyer template

Create a small text frame over the element and on the top right corner of the marketing flyer. Here, you can include contact information. Use the Paragraph Styles panel to format the frame into the Copy style. On the Control bar, select the Align Right button.

add contact information

Step 2

Select the Images layer from the Layers panel.   

Press Command-D to Place an image. Select the Social Media Logo EPS file and click Open. 

Use the Selection Tool (V) to crop the frame to the preferred logo. Place the logo on the top left corner of the flyer design. 

place a logon on the top left corner of the marketing flyer templates

Step 3

Press Command-D to Place an image. Select the Female Asian Architect JPG file and click Open. 

Place the image on the top guide of the first gutter. Use the Selection Tool (V) to crop the frame to the fourth row. 

Use the Direct Selection Tool (A) to resize the image to 50%. Check for the Scale percentage on the Control bar. 

place an image on the flyer design

Step 4

Select the Rectangle Tool (M) from the toolbar. Click on the document to open the Rectangle Option Window. 

Create a rectangle that measures 10.55 cm in Width and 3.45 cm in Height. Click OK.

Step 5

On the Swatches panel, select the [Paper] swatch for the rectangle. Set the Opacity to 90%. Align the rectangle to the top left corner of the image. 

add a rectangle on the indesign flyer template

Step 6

Select the Copy layer from the Layers panel.

Select the Text Tool (T) from the toolbar. Create a text frame over the rectangle that extends over the first column. 

add copy over the rectangle on the flyer design

Step 7

Add content to the frame and use the Paragraph Styles panel to style the text. Use the Tagline style for the first two lines—this is great for a catchphrase to attract customers. 

Use the Copy style for the description under the tagline.

use the paragraph styles panel to style the content

Step 8

While selecting the text frame, press Command-B to open the Text Frame Options window. Under Inset Spacing, set the Right option to 0.5 cm. Click OK.

add an inset spacing on the text frame

Step 9

Using the Text Tool (T), create a one-column text frame under the image. This frame can extend all the way to the bottom margin.

Add content and use the Paragraph Styles panel to style the frame. Use the Headline and Copy styles. Select the copy and change the color on the Swatches panel to [Paper]. 

Press Command-B to open the Text Frame Options window. Under Inset Spacing, set the Left side to 0.5 cm. 

Using the Rectangle Tool (M), create a rectangle that covers the text frame we created in this step. On the Swatches panel, set the color to Blue. Place this element on the Background layer.

add content and add a rectangle on the background of the flyer design

Step 10

Select the Text Tool (T) from the toolbar. Create a square text frame that measures 1 cm on all sides. 

Set the color of the frame to Blue on the Swatches panel. 

Add a number to the frame and use the Paragraph Styles panel to style it. Select the Headline style and change the color to [Paper] on the Swatches panel.

create a small text frame and add a number

Step 11

Head over to the Control bar and select the Align Center button. 

While selecting the text frame, press Command-B to open the Text Frame Options window. Under Inset Spacing, add 0.5 cm to all sides. Click OK.

use the text frame options to add an inset spacing

Step 12

Open the Text Wrap panel by going to Window > Text Wrap. On the panel, set the Offset to 0.3 cm on all sides

use the text wrap panel to add a wrap around on the text frame

Step 13

Duplicate the text frame by pressing Option and dragging. Change the numbers to „2” and „3”. Place the frames over the full-column frame created previously. 

duplicate the text frame and place over the content

Step 14

Using the Text Tool (T), create a second text frame on the opposite column. 

Use the Paragraph Styles panel to design the frame with the Headline and Copy styles. 

add a text frame to the opposite column of the flyer design

Step 15

Open the Digital Marketing Icons in Illustrator. Select three icons and copy/paste them onto the marketing flyer template in InDesign. 

Resize the icons on the Control bar. Set the Percentage Scale to 20%. 

copy and paste the icons

Step 16

You’ll notice the colors don’t match our design. On the Swatches panel, select the cream color and click on the Delete button. In the Delete Swatch options window, select the Replacement to Defined Swatch. In the dropdown menu, select the [Paper} swatch. Click OK.

Select the RGB teal color on the Swatches panel. Delete it and replace it with the Blue swatch. 

substitute the icons colors for the swatches we created

Step 17

Place each icon at the top of each gutter on the last three rows. 

Create a text frame with the Text Tool (T) for each icon/row. Add content and use the Paragraph Styles panel to style it. Use the Subheadline and Copy styles. 

add text next to the icons

Step 18

Using the Line Tool (/), create a stroke between each text frame. 

Open the Stroke panel by going to Window > Stroke. Set the Stroke Weight to 1 pt and the Type to Dotted.

On the Swatches panel, set the Stroke color to Blue. 

create stroke lines in between the text frames

3. How to Export an InDesign Flyer Template File for Printing

Before exporting a file for printing, it is useful to take a look around all the edges to make sure all the images and vectors bleeding out are touching the bleeds.

Step 1

To export the file, go to File > Export. Name the file „Marketing Flyer Template” and choose Adobe PDF (Print) from the Format dropdown menu. Click Save. 

export the marketing flyer template as a PDF

Step 2

In the Export Adobe PDF window, set the Adobe PDF Preset to Press Quality.

select Press Quality under the Adobe PDF Preset

On the left side of the panel, select Marks and Bleeds. Check All Printer’s Marks and Use Document Bleed Settings. Click Export. You will have a ready-to-print PDF file.

select all printers marks and document bleed settings

Great Job! You’ve Finished Your Business Flyer!

In this tutorial, we learned how to make a flyer template. We covered key tools that will help anyone edit this template fast and easy. Today, we learned to:

  • set up a ready-to-print InDesign file
  • create layers to keep an organized file
  • add color swatches and replace colors
  • create Paragraph styles to style text frames
  • use the Text Frame options and Text Wrap tool on text frames

If you are new to InDesign and need flyer templates or flyer design inspiration right away, head over to Envato Elements and GraphicRiver. We’ve got many options to explore! 

If you liked this tutorial, you might like these:

How to Make a Marketing Flyer Template in InDesign

Post pobrano z: How to Make a Marketing Flyer Template in InDesign

Final product image
What You’ll Be Creating

Promote your next business venture or current products with this super-easy tutorial that will help you attract more consumers. In this tutorial, I’ll show you how to make a flyer template.

Corporate business flyers are cost-effective advertising that you can use. Having an easy-to-use business flyer whose format you or your clients can quickly change is a huge advantage. 

In this tutorial, I’ll show you how to make a flyer with the most essential tools. You’ll learn how to successfully set up a template with layers, Color Swatches, and Paragraph styles. These three components will make trouble-free business flyers that can be formatted in just minutes. 

In a hurry? We’ve got amazing InDesign marketing flyer templates and business flyer templates over at Envato Elements and GraphicRiver. Go check them out! 

What You Will Need for Your InDesign Flyer Template

You’ll need access to Adobe InDesign and Adobe Illustrator. If you don’t have the software, you can download a trial from the Adobe website. You’ll also need:

Download the assets and make sure the font is installed on your system before starting. When you are ready, we can start designing the business flyer template! 

1. Setting Up a Marketing Flyer Template InDesign File

Step 1

In InDesign, go to File > New. In the New Document window, select the Print Tab. Select the A4 preset and name the document „Marketing Flyer Template”. Change the settings to the following:

  • Width to 21 cm
  • Height to 29.7 cm
  • Orientation to Portrait
  • Units to Centimeters
  • Pages to 1
  • Uncheck Facing Pages
  • Margins to 1.27 cm
  • Bleeds to 0.3 cm (it’s best to seek your professional printer’s preference)

Click Create.

Create a new marketing flyer template file

Step 2

For this open marketing flyer template, we will work with three Layers. Organizing layers is an important practice when designing a template as they will make it easier for the user to edit.

Bring up the Layers panel by going to Window > Layers. Double-click on Layer 1 and rename it Background. 

In the Layers panel main menu, select New Layer. Name it Images. Click OK.

Additionally, create a new layer named Copy. Click OK.

add layers on the layers panel

Step 3

Head over to Window > Color > Swatches to expand the Swatches panel. Choose New Color Swatch from the main menu. Set the Swatch Name and values to the following: 

  • Teal: C=60 M=0 Y=30 K=0 
  • Dark Blue: C=100 M=80 Y=0 K=70

Click Add and OK after you input each color value.

add colors on the swatches panel

Step 4

For this tutorial, we will create a list of Paragraph Styles that we will use to format the marketing flyer template. 

Head over to Window > Styles > Paragraph Styles to open the Paragraph Styles panel. On the main menu, select New Paragraph Style and set the Style Name to Copy. Select the Basic Character Formats option from the left side menu. Use the following settings:

  • Font Family: RNS Sanz
  • Font Style: Normal
  • Size: 9 pt

Select the Character Color option from the left side menu. Set the color to the Blue swatch. Click OK.

create paragraph styles for your marketing flyer template

Create a New Paragraph Style, setting the Style Name to Headline. Set the Basic Character Formats option to the following:

  • Font Family: RNS Sanz
  • Font Style: Extra Bold
  • Size: 14 pt

Select the Character Color option from the left side menu. Set the color to the Teal swatch. Click OK.

Create a New Paragraph Style, setting the Style Name to Subheadline. Set the Basic Character Formats option to the following:

  • Font Family: RNS Sanz
  • Font Style: Extra Bold
  • Size: 9 pt

Select the Character Color option from the left side menu. Set the color to the Teal swatch. Click OK.

Create a New Paragraph Style, setting the Style Name to Tagline. Set the Basic Character Formats option to the following:

  • Font Family: RNS Sanz
  • Font Style: Extra Bold
  • Size: 18 pt

Select the Character Color option from the left side menu. Set the color to the Blue swatch. Click OK.

paragraph styles

Step 5

Go to Layout > Create Guides. In the Create Guides option window, use the following settings:

  • Rows Number: 5
  • Rows Gutter: 0.5 cm
  • Columns Number: 2
  • Columns Gutter: 0.5 cm
  • Fit Guides to: Margins

Click OK.

create guides on your marketing flyer template

2. How to Design a Marketing Flyer Template in InDesign

Step 1

Select the Background layer from the Layers panel.

Using the Rectangle Tool (M), create a rectangle that measures 15 cm in Width and 5 cm in Height.

On the Swatches panel, select the Blue swatch. Set the Tint to 10%. 

create a rectangle on the top right corner of the marketing flyer template

Create a small text frame over the element and on the top right corner of the marketing flyer. Here, you can include contact information. Use the Paragraph Styles panel to format the frame into the Copy style. On the Control bar, select the Align Right button.

add contact information

Step 2

Select the Images layer from the Layers panel.   

Press Command-D to Place an image. Select the Social Media Logo EPS file and click Open. 

Use the Selection Tool (V) to crop the frame to the preferred logo. Place the logo on the top left corner of the flyer design. 

place a logon on the top left corner of the marketing flyer templates

Step 3

Press Command-D to Place an image. Select the Female Asian Architect JPG file and click Open. 

Place the image on the top guide of the first gutter. Use the Selection Tool (V) to crop the frame to the fourth row. 

Use the Direct Selection Tool (A) to resize the image to 50%. Check for the Scale percentage on the Control bar. 

place an image on the flyer design

Step 4

Select the Rectangle Tool (M) from the toolbar. Click on the document to open the Rectangle Option Window. 

Create a rectangle that measures 10.55 cm in Width and 3.45 cm in Height. Click OK.

Step 5

On the Swatches panel, select the [Paper] swatch for the rectangle. Set the Opacity to 90%. Align the rectangle to the top left corner of the image. 

add a rectangle on the indesign flyer template

Step 6

Select the Copy layer from the Layers panel.

Select the Text Tool (T) from the toolbar. Create a text frame over the rectangle that extends over the first column. 

add copy over the rectangle on the flyer design

Step 7

Add content to the frame and use the Paragraph Styles panel to style the text. Use the Tagline style for the first two lines—this is great for a catchphrase to attract customers. 

Use the Copy style for the description under the tagline.

use the paragraph styles panel to style the content

Step 8

While selecting the text frame, press Command-B to open the Text Frame Options window. Under Inset Spacing, set the Right option to 0.5 cm. Click OK.

add an inset spacing on the text frame

Step 9

Using the Text Tool (T), create a one-column text frame under the image. This frame can extend all the way to the bottom margin.

Add content and use the Paragraph Styles panel to style the frame. Use the Headline and Copy styles. Select the copy and change the color on the Swatches panel to [Paper]. 

Press Command-B to open the Text Frame Options window. Under Inset Spacing, set the Left side to 0.5 cm. 

Using the Rectangle Tool (M), create a rectangle that covers the text frame we created in this step. On the Swatches panel, set the color to Blue. Place this element on the Background layer.

add content and add a rectangle on the background of the flyer design

Step 10

Select the Text Tool (T) from the toolbar. Create a square text frame that measures 1 cm on all sides. 

Set the color of the frame to Blue on the Swatches panel. 

Add a number to the frame and use the Paragraph Styles panel to style it. Select the Headline style and change the color to [Paper] on the Swatches panel.

create a small text frame and add a number

Step 11

Head over to the Control bar and select the Align Center button. 

While selecting the text frame, press Command-B to open the Text Frame Options window. Under Inset Spacing, add 0.5 cm to all sides. Click OK.

use the text frame options to add an inset spacing

Step 12

Open the Text Wrap panel by going to Window > Text Wrap. On the panel, set the Offset to 0.3 cm on all sides

use the text wrap panel to add a wrap around on the text frame

Step 13

Duplicate the text frame by pressing Option and dragging. Change the numbers to „2” and „3”. Place the frames over the full-column frame created previously. 

duplicate the text frame and place over the content

Step 14

Using the Text Tool (T), create a second text frame on the opposite column. 

Use the Paragraph Styles panel to design the frame with the Headline and Copy styles. 

add a text frame to the opposite column of the flyer design

Step 15

Open the Digital Marketing Icons in Illustrator. Select three icons and copy/paste them onto the marketing flyer template in InDesign. 

Resize the icons on the Control bar. Set the Percentage Scale to 20%. 

copy and paste the icons

Step 16

You’ll notice the colors don’t match our design. On the Swatches panel, select the cream color and click on the Delete button. In the Delete Swatch options window, select the Replacement to Defined Swatch. In the dropdown menu, select the [Paper} swatch. Click OK.

Select the RGB teal color on the Swatches panel. Delete it and replace it with the Blue swatch. 

substitute the icons colors for the swatches we created

Step 17

Place each icon at the top of each gutter on the last three rows. 

Create a text frame with the Text Tool (T) for each icon/row. Add content and use the Paragraph Styles panel to style it. Use the Subheadline and Copy styles. 

add text next to the icons

Step 18

Using the Line Tool (/), create a stroke between each text frame. 

Open the Stroke panel by going to Window > Stroke. Set the Stroke Weight to 1 pt and the Type to Dotted.

On the Swatches panel, set the Stroke color to Blue. 

create stroke lines in between the text frames

3. How to Export an InDesign Flyer Template File for Printing

Before exporting a file for printing, it is useful to take a look around all the edges to make sure all the images and vectors bleeding out are touching the bleeds.

Step 1

To export the file, go to File > Export. Name the file „Marketing Flyer Template” and choose Adobe PDF (Print) from the Format dropdown menu. Click Save. 

export the marketing flyer template as a PDF

Step 2

In the Export Adobe PDF window, set the Adobe PDF Preset to Press Quality.

select Press Quality under the Adobe PDF Preset

On the left side of the panel, select Marks and Bleeds. Check All Printer’s Marks and Use Document Bleed Settings. Click Export. You will have a ready-to-print PDF file.

select all printers marks and document bleed settings

Great Job! You’ve Finished Your Business Flyer!

In this tutorial, we learned how to make a flyer template. We covered key tools that will help anyone edit this template fast and easy. Today, we learned to:

  • set up a ready-to-print InDesign file
  • create layers to keep an organized file
  • add color swatches and replace colors
  • create Paragraph styles to style text frames
  • use the Text Frame options and Text Wrap tool on text frames

If you are new to InDesign and need flyer templates or flyer design inspiration right away, head over to Envato Elements and GraphicRiver. We’ve got many options to explore! 

If you liked this tutorial, you might like these:

Web Design Trends To Watch Out For In 2019

Post pobrano z: Web Design Trends To Watch Out For In 2019

Web design changes rapidly year on year. After all, many design elements are only added after the route and wireframe of a site has been built, so adjusting things like typography and images is technically a relatively easy process. That doesn’t diminish its importance however, as the visual aesthetic of any website is what will always get noticed first. Having a strong, unified brand look has never been more important; with so many fish in the sea, standing out is necessary if you want to be noticed.

The serif is back in town

One major shift in the last year has been away from sans-serif fonts. The ubiquitous Helvetica-inspired typography which seemed in use on every major site has suffered from oversaturation, and now many more classic serif fonts are popping up. Indeed, many websites are making their choice of font front and center of their design philosophy, and quirky takes on traditional serif favorites are growing in popularity.

Colour blocks and monochrome

Another trend growing in popularity is the increase in monochrome images, offset by colored blocks. It gives the impression of a serious and nuanced approach to imagery and provides an easy way to maintain a consistent visual brand without too much effort. It allows any blocks of color to stand out more as well, giving the option to highlight particular sections which would otherwise be lost in a riot of color.

Flexible design

The ever-increasing use of mobile devices and tablets has been driving a radical change in web design philosophy for several years now, and that shows no signs of abating. While it first manifested as a necessity to have all elements of a site able to switch readily between portrait and landscape, touchscreen and monitor, more recent changes have incorporated elements that will work easily on any sort of device. This has meant a trend towards simple, bold elements in a design, which are both eye-catching when viewed on a large screen, and easy to navigate when held in the hand. Designers are now looking towards more asymmetric designs, breaking from the traditional grid-based approach to have more organically laid-out elements. It’s a careful balancing act, but when designers get it right it’s both spectacular and intuitive.

New media

An increase in the use of other forms of media, from micro-animations to video, has also become the norm. This is down in part to the increased bandwidth allowances that many mobile devices now have; and with the forthcoming introduction of 5G networking, and the vast upgrade in data that will allow, having media-rich design elements will become more and more common. Embedded video, interactive forms, chatbots, and even sound will all become commonplace as users are able to send and receive more data, more quickly. More powerful devices and browsers will also mean more interactivity with sites, from animated navigation to built-in applications.

Maximum minimalism. Finding a way to combine all these elements without overcrowding the screen is a challenge for any designer, and some designers are now reacting to that by hugely reducing the elements they wish to display. Minimalism will always have a certain chic, and that’s definitely a current trend, with many sites displaying copious white space and minimal content; a brave decision in many ways, necessitating trust that the content you display will keep your users interested. Certainly, the year ahead provides exciting and difficult challenges for designers and web development agencies alike to integrate new technologies and an ever more competitive fight for a share of the audience.

Thanks for being a subscriber, here is your FREE house vector icons set.

Web Design Trends To Watch Out For In 2019

Post pobrano z: Web Design Trends To Watch Out For In 2019

Web design changes rapidly year on year. After all, many design elements are only added after the route and wireframe of a site has been built, so adjusting things like typography and images is technically a relatively easy process. That doesn’t diminish its importance however, as the visual aesthetic of any website is what will always get noticed first. Having a strong, unified brand look has never been more important; with so many fish in the sea, standing out is necessary if you want to be noticed.

The serif is back in town

One major shift in the last year has been away from sans-serif fonts. The ubiquitous Helvetica-inspired typography which seemed in use on every major site has suffered from oversaturation, and now many more classic serif fonts are popping up. Indeed, many websites are making their choice of font front and center of their design philosophy, and quirky takes on traditional serif favorites are growing in popularity.

Colour blocks and monochrome

Another trend growing in popularity is the increase in monochrome images, offset by colored blocks. It gives the impression of a serious and nuanced approach to imagery and provides an easy way to maintain a consistent visual brand without too much effort. It allows any blocks of color to stand out more as well, giving the option to highlight particular sections which would otherwise be lost in a riot of color.

Flexible design

The ever-increasing use of mobile devices and tablets has been driving a radical change in web design philosophy for several years now, and that shows no signs of abating. While it first manifested as a necessity to have all elements of a site able to switch readily between portrait and landscape, touchscreen and monitor, more recent changes have incorporated elements that will work easily on any sort of device. This has meant a trend towards simple, bold elements in a design, which are both eye-catching when viewed on a large screen, and easy to navigate when held in the hand. Designers are now looking towards more asymmetric designs, breaking from the traditional grid-based approach to have more organically laid-out elements. It’s a careful balancing act, but when designers get it right it’s both spectacular and intuitive.

New media

An increase in the use of other forms of media, from micro-animations to video, has also become the norm. This is down in part to the increased bandwidth allowances that many mobile devices now have; and with the forthcoming introduction of 5G networking, and the vast upgrade in data that will allow, having media-rich design elements will become more and more common. Embedded video, interactive forms, chatbots, and even sound will all become commonplace as users are able to send and receive more data, more quickly. More powerful devices and browsers will also mean more interactivity with sites, from animated navigation to built-in applications.

Maximum minimalism. Finding a way to combine all these elements without overcrowding the screen is a challenge for any designer, and some designers are now reacting to that by hugely reducing the elements they wish to display. Minimalism will always have a certain chic, and that’s definitely a current trend, with many sites displaying copious white space and minimal content; a brave decision in many ways, necessitating trust that the content you display will keep your users interested. Certainly, the year ahead provides exciting and difficult challenges for designers and web development agencies alike to integrate new technologies and an ever more competitive fight for a share of the audience.

Thanks for being a subscriber, here is your FREE house vector icons set.

Using GraphQL Playground with Gatsby

Post pobrano z: Using GraphQL Playground with Gatsby

I’m assuming most of you have already heard about Gatsby, and at least loosely know that it’s basically a static site generator for React sites. It generally runs like this:

  1. Data Sources → Pull data from anywhere.
  2. Build → Generate your website with React and GraphQL.
  3. Deploy → Send the site to any static site host.

What this typically means is that you can get your data from any recognizable data source — CMS, markdown, file systems and databases, to name a few — manage the data through GraphQL to build your website, and finally deploy your website to any static web host (such as Netlify or Zeit).

Screenshot of the Gatsby homepage. It shows the three different steps of the Gatsby build process showing how data sources get built and then deployed.
The Gatsby homepage illustration of the Gatsby workflow.

In this article, we are concerned with the build process, which is powered by GraphQL. This is the part where your data is managed. Unlike traditional REST APIs where you often need to send anonymous data to test your endpoints, GraphQL consolidates your APIs into a self-documenting IDE. Using this IDE, you can perform GraphQL operations such as queries, mutations, and subscriptions, as well as view your GraphQL schema, and documentation.

GraphQL has an IDE built right into it, but what if we want something a little more powerful? That’s where GraphQL Playground comes in and we’re going to walk through the steps to switch from the default over to GraphQL Playground so that it works with Gatsby.

GraphiQL and GraphQL Playground

GraphiQL is GraphQL’s default IDE for exploring GraphQL operations, but you could switch to something else, like GraphQL Playground. Both have their advantages. For example, GraphQL Playground is essentially a wrapper over GraphiQL but includes additional features such as:

  • Interactive, multi-column schema documentation
  • Automatic schema reloading
  • Support for GraphQL Subscriptions
  • Query history
  • Configuration of HTTP headers
  • Tabs
  • Extensibility (themes, etc.)

Choosing either GraphQL Playground or GraphiQL most likely depends on whether you need to use those additional features. There’s no strict rule that will make you write better GraphQL operations, or build a better website or app.

This post isn’t meant to sway you toward one versus the other. We’re looking at GraphQL Playground in this post specifically because it’s not the default IDE and there may be use cases where you need the additional features it provides and needs to set things up to work with Gatsby. So, let’s dig in and set up a new Gatsby project from scratch. We’ll integrate GraphQL Playground and configure it for the project.

Setting up a Gatsby Project

To set up a new Gatsby project, we first need to install the gatsby-cli. This will give us Gatsby-specific commands we can use in the Terminal.

npm install -g gatsby-cli

Now, let’s set up a new site. I’ve decided to call this example „gatsby-playground” but you can name it whatever you’d like.

gatsby new gatsby-playground

Let’s navigate to the directory where it was installed.

cd gatsby-playground

And, finally, flip on our development server.

gatsby develop

Head over to http://localhost:8000 in the browser for the opening page of the project. Your Gatsby GraphQL operations are going to be located at http://localhost:8000/___graphql.

Screenshot of the starter page for a new Gatsby project. It says Welcome to your new Gatsby website. Now go build something great.
The GraphiQL interface. There are four panels from left to right showing the explorer, query variables and documentation.
The GraphiQL interface.

At this point, I think it’s worth calling out that there is a desktop app for GraphQL Playground. You could just access your Gatsby GraphQL operations with the URL Endpoint localhost:8000/___graphql without going any further with this article. But, we want to get our hands dirty and have some fun under the hood!

Screenshot of the GraphQL Playground interface. It has two panels showing the Gatsby GraphQL operations.
GraphQL Playground running Gatsby GraphQL Operations.

Gatsby’s Environmental Variables

Still around? Cool. Moving on.

Since we’re not going to be relying on the desktop app, we’ll need to do a little bit of Environmental Variable setup.

Environmental Variables are variables used specifically to customize the behavior of a website in different environments. These environments could be when the website is in active development, or perhaps when it is live in production and available for the world to see. We can have as many environments as we want, and define different Environmental Variables for each of the environments.

Learn more about Environmental Variables in Gatsby.

Gatsby supports two environments: development and production. To set a development environmental variable, we need to have a .env.development file at the root of the project. Same sort of deal for production, but it’s .env.production.

To swap out both environments, we’ll need to set an environment variable in a cross-platform compatible way. Let’s create a .env.development file at the root of the project. Here, we set a key/value pair for our variables. The key will be GATSBY_GRAPHQL_IDE, and the value will be playground, like so:

GATSBY_GRAPHQL_IDE=playground

Accessing Environment Variables in JavaScript

In Gatsby, our Environmental Variables are only available at build time, or when Node.JS is running (what we’ll call run time). Since the variables are loaded client-side at build time, we need to use them dynamically at run time. It is important that we restart our server or rebuild our website every time we modify any of these variables.

To load our environmental variables into our project, we need to install a package:

yarn add env-cmd --dev // npm install --save-dev env-cmd

With that, we will change the develop script in package.json as the final step, to this instead:

"develop": "env-cmd --file .env.development --fallback gatsby develop"

The develop script instructs the env-cmd package to load environmental variables from a custom environmental variable file (.env.development in this case), and if it can’t find it, fallback to .env (if you have one, so if you see the need to, create a .env file at the root of your project with the same content as .env.development).

And that’s it! But, hey, remember to restart the server since we change the variable.

yarn start // npm run develop

If you refresh the http://localhost:8000/___graphql in the browser, you should now see GraphQL playground. Cool? Cool!

GraphQL Playground with Gatsby.

And that’s how we get GraphQL Playground to work with Gatsby!

So that’s how we get from GraphQL’s default GraphiQL IDE to GraphQL Playground. Like we covered earlier, the decision of whether or not to make the switch at all comes down to whether the additional features offered in GraphQL Playground are required for your project. Again, we’re basically working with a GraphiQL wrapper that piles on more features.

Resources

Here are some additional articles around the web to get you started with Gatsby and more familiar with GraphiQL, GraphQL Playground, and Environment Variables.

The post Using GraphQL Playground with Gatsby appeared first on CSS-Tricks.

How I Created a Code Beautifier in Two Days

Post pobrano z: How I Created a Code Beautifier in Two Days

I recently drew up a wireframe for a code beautifier. The next day, I decided to turn it into a real tool. The whole project took less than two days to complete.

I’d been thinking about building a new code beautifier for a while. The idea isn’t unique, but every time I use someone else’s tool, I find myself reapplying the same settings and dodging advertisements every single time. 🤦🏻‍

I wanted a simple tool that worked well without the hassle, so last week I grabbed some paper and started sketching one out. I’m a huge fan of wireframing by hand. There’s just something about pencil and paper that makes the design part of my brain work better than staring at a screen.

I kicked off the design process by hand-drawing wireframes for the app.

I was immediately inspired after drawing the wireframe. The next day, I took a break from my usual routine to turn it into a something real. 👨🏻‍💻

Check it Out

The design

I knew I wanted the code editor to be the main focus of the tool, so I created a thin menu bar at the top that controls the mode (i.e. HTML, CSS, JavaScript) and settings. I eventually added an About button too.

The editor itself takes up most of the screen, but it blends in so you don’t really notice it. Instead of wasting space with instructions, I used a placeholder that disappears when you start typing.

The Dark Mode UI is based on a toggle that updates the styles.

At the bottom, I created a status bar that shows live stats about the code including the current mode, indentation settings, number of lines, number of characters, and document size in bytes. The right side of the status bar has a „Clear” and „Clean + Copy” button. The center has a logo shamelessly plugging my own service.

I don’t think many developers really code on phones, but I wanted this to work on mobile devices anyway. Aside from the usual responsive techniques, I had to watch the window size and adjust the tab position when the screen becomes too narrow.

I’m using flexbox and viewport units for vertical sizing. This was actually pretty easy to do with the exception of a little iOS quirk. Here’s a pen showing the basic wireframe. Notice how the textarea stretches to fill the unused space between the header and footer.

See the Pen
Full-page text editor with header + footer
by Cory LaViska (@claviska)
on CodePen.

If you look at the JavaScript tab, you’ll see the iOS quirk and the workaround. I’m not sure how to feature detect something like this, so for now it’s just a simple device check.

Handling settings

I wanted to keep the most commonly used settings easy to access, but also expose advanced settings for each mode. To do this, I made the settings button a popover with a link to more advanced settings inside. When a setting is changed, the UI updates immediately and the settings are persisted to localStorage.

The most common settings are contained in a small panel that provides quick access to them, while advanced settings are still accessible via a link in the panel.

I took advantage of Vue.js here. Each setting gets mapped to a data property, and when one of them changes, the UI updates (if required) and I call saveSettings(). It works something like this.

function saveSettings() {
  const settings = {};

  // settingsToStore is an array of property names that will be persisted
  // and "this" is referencing the current Vue model
  settingsToStore.map(key => settings[key] = this[key]);
  localStorage.setItem('settings', JSON.stringify(settings);
}

Every setting is a data property that gets synced to localStorage. This is a rather primitive way to store state, so I might update the app to use a state management library such as Vuex later on.

To restore settings, I have a restoreSettings() function that runs when the app starts up.

function restoreSettings() {
  const json = localStorage.getItem('settings');

  if (json) {
    try {
      const settings = JSON.parse(json);

      Object.keys(settings).forEach(key => {
        if (settingsToStore.includes(key)) {
          this[key] = settings[key];
        }
      });
    } catch (err) {
      window.alert('There was an error loading your previous settings');
    }
  }
}

The function fetches settings from localStorage, then applies them one by one ensuring only valid settings in settingsToStore get imported.

The Advanced Settings link opens a dialog with tabs for each mode. Despite having over 30 settings total, everything is organized and easy to access so users won’t feel overwhelmed.

Clicking the „Advanced Settings” link opens up language-specific preferences and shortcuts.

Applying themes

Dark mode is all the rage these days, so it’s enabled by default. There’s also a light theme for those who prefer it. The entire UI changes, except for popovers and dialogs.

I considered using prefers-color-scheme, which coincidentally landed in Firefox 67 recently, but I decided a toggle would probably be better. Browser support for the color theme preference query isn’t that great yet, plus developers are weird. (For example, I use macOS with the light theme, but my text editor is dark.)

The app with Light Mode UI enabled.

Defining features

Coming up with feature ideas is fairly easy. It’s limiting features for an initial release that’s hard. Here are the most relevant features I shipped right away:

  • Beautifies HTML, CSS, and JavaScript code
  • Syntax highlighting with tag/bracket matching
  • Paste or drop files to load code
  • Auto-detects indentation preference based on pasted code or dropped file
  • Light and dark themes
  • Clean and copy in one click
  • Keyboard shortcuts
  • Most JS Beautify options are configurable
  • Settings get stored indefinitely in localStorage
  • Minimal UI without ads (just an unobtrusive plug to my own service) 🙈

I also threw in a few easter eggs for fun. Try refreshing the page, exploring shortcuts, and sharing it on Facebook or Twitter to find them. 😉

The tools and libraries I used

I’m a big fan of Vue.js. It’s probably overkill for this project, but the Vue CLI let me start building with all the latest tooling via one simple command.

vue create beautify-code

I didn’t have to waste any time scaffolding, which helped me build this out quickly. Plus, Vue came in handy for things like live stats, changing themes, toggling settings, etc. I used various Element UI components for things like buttons, form elements, popovers, and dialogs.

The editor is powered by CodeMirror using custom styles. It’s a well-supported and fantastic project that I can’t recommend enough for in-browser code editing.

The library that does all the beautifying is called JS Beautify, which handles JavaScript, HTML, and CSS. JS Beautify runs on the client-side, so there’s really no backend to this app — your browser does all the work!

JS Beautify is incredibly easy to use. Install it with npm install js-beautify and run your code through the appropriate function.

import beautify from 'js-beautify';

const code = 'Your code here';
const settings = {
  // Your settings here
};

// HTML
const html = beautify.html(code, settings)

// CSS
const css = beautify.css(code, settings)

// JavaScript
const js = beautify.js(code, settings)

Each function returns a string containing the beautified code. You can change how each language is output by passing in your own settings.

I’ve been asked a few times about Prettier, which is a comparable tool, so it’s worth mentioning that I chose JS Beautify because it’s less opinionated and more configurable. If there’s enough demand, I’ll consider adding an option to toggle between JS Beautify and Prettier.

I’ve used all of these libraries before, so integration was actually pretty easy. 😅


This project was made possible by my app, Surreal CMS. If you’re looking for a great CMS for static websites, check it out — it’s free for personal, educational, and non-profit websites!

Oh, and if you’re wondering what editor I used… it’s Visual Studio Code. 👨🏻‍💻

The post How I Created a Code Beautifier in Two Days appeared first on CSS-Tricks.

How to Manage a Graphic Design Project With monday.com

Post pobrano z: How to Manage a Graphic Design Project With monday.com

The process of seeing a graphic design project through from conception to delivery can be a challenging one for even the most talented designers, but one thing experienced designers know is that excellent project management is critical to delivering successful projects within identified deadlines and budgets. 

There are many approaches to effective project management, all of which have been left in the dust by today’s cloud-based project and team management tools like the ever-popular monday.com.

Mondaycom

Used by more than 70,000 businesses around the world, monday.com is a simple yet sophisticated tool that allows team members to communicate with each other, plan each stage of a project, track tasks, costs and deadlines, brainstorm solutions and much more, no matter where they are or what digital device they happen to be using. 

Let’s take a look at how you can manage your next graphic design project expertly using monday.com.

1. How to Set Up an Account

The first thing you’ll notice about monday.com is that it offers users a lot of flexibility in terms of pricing plans. There are, in fact, four different pricing plans to suit a variety of needs. What I suggest, though, is that you start with the free trial to get a feel for what this incredible tool can do. Set up your account by typing your email address into the appropriate slot at the top of the page and hitting the Get Started button.

Set Up an Account

Once you’ve submitted your email address, you will be walked through a few screens where you’ll be asked to provide key details about the kind of projects you’re likely to use the application for, your role in the team, and how many people you will be collaborating with. 

Add Account Details

At this point, you can also add the email addresses of your team members, and monday.com will automatically invite them to join you.

Add Team Members

2. How to Create a Board

Now that you’re all set up, your next step is to create a design board for your project. Here you have a number of options. You can use one of the 70+ ready-made and highly functional templates on offer to start customising and building out your project details.

Creating a Board from Templates Provided

Or you can create your own blank board template from scratch. That’s the route we’re going to take for our example here, so that you can get a clear idea of the level of flexibility monday.com offers in creating highly individualised boards.

Click the + sign next to Boards on the left of the screen, and select the Blank Board template.

Creating a Blank Board

Enter your project name in the dialog that pops up and press the Create Board button.

Create a Board

This is what your board will look like.

Create a Board

3. How to Customise Your Board 

Design boards are a key organisational component of your project. As you can see in the image above, each board is made up of groups, each group is made up of a number of items, and each item can have several columns.

It is inevitable that each team that uses these boards will use them differently based on their needs, but let me show you how you can use them to manage your graphic design project using the goal of creating a brochure for a cafe.

As you can see, the Brodbake Cafe Brochure board already has two generic self-generated groups. I will use these groups to break the project down into more manageable parts/steps and then break each step down into even more manageable parts/steps. 

A. Create Groups

First, let’s change the titles of each group. To do so, just double-click on the title and type your title over the existing one. You can also change the colour assigned to each group by clicking on the coloured circle shown next to the title.

Create Groups

Once you’ve renamed the existing groups, you can add more groups to your board by clicking the three dots in the upper right corner of the app. This will expand an extensive customisation menu. Click the first menu item, Add Group

Create Groups

B. Create Tasks

Now it’s time to add the tasks that need to be completed in each Phase. To do so, just start typing in the row where it says +Add, and hit Return to create a new task row.

Create Tasks

Repeat these steps for each of your phases until all the tasks that need to be completed to move the project from start to finish have been added. 

C. Add Columns

Now that you have added all the tasks that need to be accomplished to create your graphic design project, it’s time to add some columns. 

Columns are all about accountability. They allow you to create checkpoints that identify and monitor critical details regarding each task, like deadlines and budget, who is responsible for which task, monitoring of progression on each task, and more. 

To add a column, click the plus sign over the last column of any group. 

Add Columns

This will open a list of the most popular columns. Select the More Columns button at the end of this list to open an extensive menu of columns options available for you to customise your tasks. When you see a column you want to add, simply press the Add to board button. 

Add Columns

Any columns that you add to your board will be shared by all groups on your board, so if you delete or move a column in one group, it will affect the columns in another group.

Add Columns

D. Pick Your View

One of the coolest features of monday.com for teams managing a graphic design project is the ability to choose alternative ways of viewing project information to quickly gather specific information. 

The standard project view is via the main table shown in the image above, but it is also possible to view project information in the form of a chart which could provide information like the distribution of tasks within a team. It is also possible to use a Kanban view in order to view tasks grouped by status or the Timeline view to identify information like pending tasks or the workload of different team members.

To access the different views offered by monday.com, go to the top left of the app window and use the dropdown menu to open the Views Center by clicking on the Add View button. Select the view you want from the list provided.

Pick Your View

4. Communication and Collaboration

We all know that bad communication can sink even the most promising project. And that is why one of the most critical features of monday.com is the freedom and ease it brings to team communication and collaboration by having all your team’s communication in one place. 

With the ability to access the app from your computer or mobile device of choice, team members can bounce ideas around easily during the critical brainstorming stage of a project and comment on any aspect of a shared project from directly in the app using the @mention. 

Communication and Collaboration

monday.com also allows teammates to share files, links, images and ideas easily, and no one has to worry about being left out of the loop or being bogged down by duplicating information endlessly. With the possibility of including the entire team on a project, communication is easy, fast, and collaborative. 

5. Track Progress, Promoting Accountability

Being able to track progress is critical to a project’s success, and monday.com provides several systems that will enable team leaders to keep things on track and intervene quickly before they get derailed. Not only does the app provide a „Project Tracker For Teams” template, but even if you’re not using that specific template, it makes it easy to integrate its features in your project. 

Track Progress Promoting Accountability

For example, you could use the Status column feature with its colour coding of red, amber and green, so that you always know at a glance where problems are likely to arise and are better positioned to head them off.

The Person column indicates clear ownership of each aspect of a project and keeps everyone aware of where team members are with any given project at any given time. 

What’s more, the Progress column is another great tool for understanding at a glance just how close you are to keeping your deadlines and delivering your project on time. 

All these systems are indispensable in successfully managing a graphic design project from start to finish. 

Manage Your Next Graphic Design Project With monday.com

All these great features make monday.com a terrific project management tool for the savvy graphic designer and team leader. To learn more about the other great features of this awesome app, check out the official guides and sign up for the generous free seven-day trial. You’ll be so impressed with this app, you’ll wonder how you ever got anything done without it.

How to Manage a Graphic Design Project With monday.com

Post pobrano z: How to Manage a Graphic Design Project With monday.com

The process of seeing a graphic design project through from conception to delivery can be a challenging one for even the most talented designers, but one thing experienced designers know is that excellent project management is critical to delivering successful projects within identified deadlines and budgets. 

There are many approaches to effective project management, all of which have been left in the dust by today’s cloud-based project and team management tools like the ever-popular monday.com.

Mondaycom

Used by more than 70,000 businesses around the world, monday.com is a simple yet sophisticated tool that allows team members to communicate with each other, plan each stage of a project, track tasks, costs and deadlines, brainstorm solutions and much more, no matter where they are or what digital device they happen to be using. 

Let’s take a look at how you can manage your next graphic design project expertly using monday.com.

1. How to Set Up an Account

The first thing you’ll notice about monday.com is that it offers users a lot of flexibility in terms of pricing plans. There are, in fact, four different pricing plans to suit a variety of needs. What I suggest, though, is that you start with the free trial to get a feel for what this incredible tool can do. Set up your account by typing your email address into the appropriate slot at the top of the page and hitting the Get Started button.

Set Up an Account

Once you’ve submitted your email address, you will be walked through a few screens where you’ll be asked to provide key details about the kind of projects you’re likely to use the application for, your role in the team, and how many people you will be collaborating with. 

Add Account Details

At this point, you can also add the email addresses of your team members, and monday.com will automatically invite them to join you.

Add Team Members

2. How to Create a Board

Now that you’re all set up, your next step is to create a design board for your project. Here you have a number of options. You can use one of the 70+ ready-made and highly functional templates on offer to start customising and building out your project details.

Creating a Board from Templates Provided

Or you can create your own blank board template from scratch. That’s the route we’re going to take for our example here, so that you can get a clear idea of the level of flexibility monday.com offers in creating highly individualised boards.

Click the + sign next to Boards on the left of the screen, and select the Blank Board template.

Creating a Blank Board

Enter your project name in the dialog that pops up and press the Create Board button.

Create a Board

This is what your board will look like.

Create a Board

3. How to Customise Your Board 

Design boards are a key organisational component of your project. As you can see in the image above, each board is made up of groups, each group is made up of a number of items, and each item can have several columns.

It is inevitable that each team that uses these boards will use them differently based on their needs, but let me show you how you can use them to manage your graphic design project using the goal of creating a brochure for a cafe.

As you can see, the Brodbake Cafe Brochure board already has two generic self-generated groups. I will use these groups to break the project down into more manageable parts/steps and then break each step down into even more manageable parts/steps. 

A. Create Groups

First, let’s change the titles of each group. To do so, just double-click on the title and type your title over the existing one. You can also change the colour assigned to each group by clicking on the coloured circle shown next to the title.

Create Groups

Once you’ve renamed the existing groups, you can add more groups to your board by clicking the three dots in the upper right corner of the app. This will expand an extensive customisation menu. Click the first menu item, Add Group

Create Groups

B. Create Tasks

Now it’s time to add the tasks that need to be completed in each Phase. To do so, just start typing in the row where it says +Add, and hit Return to create a new task row.

Create Tasks

Repeat these steps for each of your phases until all the tasks that need to be completed to move the project from start to finish have been added. 

C. Add Columns

Now that you have added all the tasks that need to be accomplished to create your graphic design project, it’s time to add some columns. 

Columns are all about accountability. They allow you to create checkpoints that identify and monitor critical details regarding each task, like deadlines and budget, who is responsible for which task, monitoring of progression on each task, and more. 

To add a column, click the plus sign over the last column of any group. 

Add Columns

This will open a list of the most popular columns. Select the More Columns button at the end of this list to open an extensive menu of columns options available for you to customise your tasks. When you see a column you want to add, simply press the Add to board button. 

Add Columns

Any columns that you add to your board will be shared by all groups on your board, so if you delete or move a column in one group, it will affect the columns in another group.

Add Columns

D. Pick Your View

One of the coolest features of monday.com for teams managing a graphic design project is the ability to choose alternative ways of viewing project information to quickly gather specific information. 

The standard project view is via the main table shown in the image above, but it is also possible to view project information in the form of a chart which could provide information like the distribution of tasks within a team. It is also possible to use a Kanban view in order to view tasks grouped by status or the Timeline view to identify information like pending tasks or the workload of different team members.

To access the different views offered by monday.com, go to the top left of the app window and use the dropdown menu to open the Views Center by clicking on the Add View button. Select the view you want from the list provided.

Pick Your View

4. Communication and Collaboration

We all know that bad communication can sink even the most promising project. And that is why one of the most critical features of monday.com is the freedom and ease it brings to team communication and collaboration by having all your team’s communication in one place. 

With the ability to access the app from your computer or mobile device of choice, team members can bounce ideas around easily during the critical brainstorming stage of a project and comment on any aspect of a shared project from directly in the app using the @mention. 

Communication and Collaboration

monday.com also allows teammates to share files, links, images and ideas easily, and no one has to worry about being left out of the loop or being bogged down by duplicating information endlessly. With the possibility of including the entire team on a project, communication is easy, fast, and collaborative. 

5. Track Progress, Promoting Accountability

Being able to track progress is critical to a project’s success, and monday.com provides several systems that will enable team leaders to keep things on track and intervene quickly before they get derailed. Not only does the app provide a „Project Tracker For Teams” template, but even if you’re not using that specific template, it makes it easy to integrate its features in your project. 

Track Progress Promoting Accountability

For example, you could use the Status column feature with its colour coding of red, amber and green, so that you always know at a glance where problems are likely to arise and are better positioned to head them off.

The Person column indicates clear ownership of each aspect of a project and keeps everyone aware of where team members are with any given project at any given time. 

What’s more, the Progress column is another great tool for understanding at a glance just how close you are to keeping your deadlines and delivering your project on time. 

All these systems are indispensable in successfully managing a graphic design project from start to finish. 

Manage Your Next Graphic Design Project With monday.com

All these great features make monday.com a terrific project management tool for the savvy graphic designer and team leader. To learn more about the other great features of this awesome app, check out the official guides and sign up for the generous free seven-day trial. You’ll be so impressed with this app, you’ll wonder how you ever got anything done without it.