All About mailto: Links

Post pobrano z: All About mailto: Links

You can make a garden variety anchor link (<a>) open up a new email. Let’s take a little journey into this feature. It’s pretty easy to use, but as with anything web, there are lots of things to consider.

The basic functionality

<a href="mailto:someone@yoursite.com">Email Us</a>

It works!

But we immediately run into a handful of UX issues. One of them is that clicking that link surprises some people in a way they don’t like. Sort of the same way clicking on a link to a PDF opens a file instead of a web page. Le sigh. We’ll get to that in a bit.

„Open in new tab” sometimes does matter.

If a user has their default mail client (e.g. Outlook, Apple Mail, etc.) set up to be a native app, it doesn’t really matter. They click a mailto: link, that application opens up, a new email is created, and it behaves the same whether you’ve attempted to open that link in a new tab or not.

But if a user has a browser-based email client set up, it does matter. For example, you can allow Gmail to be your default email handler on Chrome. In that case, the link behaves like any other link, in that if you don’t open in a new tab, the page will redirect to Gmail.

I’m a little on the fence about it. I’ve weighed in on opening links in new tabs before, but not specifically about opening emails. I’d say I lean a bit toward using target="_blank" on mail links, despite my feelings on using it in other scenarios.

<a href="mailto:someone@yoursite.com" target="_blank" rel="noopener noreferrer">Email Us</a>

Adding a subject and body

This is somewhat rare to see for some reason, but mailto: links can define the email subject and body content as well. They are just query parameters!

mailto:chriscoyier@gmail.com?subject=Important!&body=Hi.

Add copy and blind copy support

You can send to multiple email addresses, and even carbon copy (CC), and blind carbon copy (BCC) people on the email. The trick is more query parameters and comma-separating the email addresses.

mailto:someone@yoursite.com?cc=someoneelse@theirsite.com,another@thatsite.com,me@mysite.com&bcc=lastperson@theirsite.com

This site is awful handy

mailtolink.me will help generate email links.

Use a <form> to let people craft the email first

I’m not sure how useful this is, but it’s an interesting curiosity that you can make a <form> do a GET, which is basically a redirect to a URL — and that URL can be in the mailto: format with query params populated by the inputs! It can even open in a new tab.

See the Pen
Use a <form> to make an email
by Chris Coyier (@chriscoyier)
on CodePen.

People don’t like surprises

Because mailto: links are valid anchor links like any other, they are typically styled exactly the same. But clicking them clearly produces very different results. It may be worthwhile to indicate mailto: links in a special way.

If you use an actual email address as the link, that’s probably a good indication:

<a href="mailto:chriscoyier@gmail.com">chriscoyier@gmail.com</a>

Or you could use CSS to help explain with a little emoji story:

a[href^="mailto:"]::after {
  content: " (📨↗️)";
}

If you really dislike mailto: links, there is a browser extension for you.

https://ihatemailto.com/

I dig how it doesn’t just block them, but copies the email address to your clipboard and tells you that’s what it did.

The post All About mailto: Links appeared first on CSS-Tricks.

Advanced Tooling for Web Components

Post pobrano z: Advanced Tooling for Web Components

Over the course of the last four articles in this five-part series, we’ve taken a broad look at the technologies that make up the Web Components standards. First, we looked at how to create HTML templates that could be consumed at a later time. Second, we dove into creating our own custom element. After that, we encapsulated our element’s styles and selectors into the shadow DOM, so that our element is entirely self-contained.

We’ve explored how powerful these tools can be by creating our own custom modal dialog, an element that can be used in most modern application contexts regardless of the underlying framework or library. In this article, we will look at how to consume our element in the various frameworks and look at some advanced tooling to really ramp up your Web Component skills.

Framework agnostic

Our dialog component works great in almost any framework or even without one. (Granted, if JavaScript is disabled, the whole thing is for naught.) Angular and Vue treat Web Components as first-class citizens: the frameworks have been designed with web standards in mind. React is slightly more opinionated, but not impossible to integrate.

Angular

First, let’s take a look at how Angular handles custom elements. By default, Angular will throw a template error whenever it encounters an element it doesn’t recognize (i.e. the default browser elements or any of the components defined by Angular). This behavior can be changed by including the CUSTOM_ELEMENTS_SCHEMA.

…allows an NgModule to contain the following:

  • Non-Angular elements named with dash case (-).
  • Element properties named with dash case (-). Dash case is the naming convention for custom elements.

Angular Documentation

Consuming this schema is as simple as adding it to a module:

import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

@NgModule({
  /** Omitted */
  schemas: [ CUSTOM_ELEMENTS_SCHEMA ]
})
export class MyModuleAllowsCustomElements {}

That’s it. After this, Angular will allow us to use our custom element wherever we want with the standard property and event bindings:

<one-dialog [open]="isDialogOpen" (dialog-closed)="dialogClosed($event)">
  <span slot="heading">Heading text</span>
  <div>
    <p>Body copy</p>
  </div>
</one-dialog>

Vue

Vue’s compatibility with Web Components is even better than Angular’s as it doesn’t require any special configuration. Once an element is registered, it can be used with Vue’s default templating syntax:

<one-dialog v-bind:open="isDialogOpen" v-on:dialog-closed="dialogClosed">
  <span slot="heading">Heading text</span>
  <div>
    <p>Body copy</p>
  </div>
</one-dialog>

One caveat with Angular and Vue, however, is their default form controls. If we wish to use something like reactive forms or [(ng-model)] in Angular or v-model in Vue on a custom element with a form control, we will need to set up that plumbing for which is beyond the scope of this article.

React

React is slightly more complicated than Angular. React’s virtual DOM effectively takes a JSX tree and renders it as a large object. So, instead of directly modifying attributes on HTML elements like Angular or Vue, React uses an object syntax to track changes that need to be made to the DOM and updates them in bulk. This works just fine in most cases. Our dialog’s open attribute is bound to its property and will respond perfectly well to changing props.

The catch comes when we start to look at the CustomEvent dispatched when our dialog closes. React implements a series of native event listeners for us with their synthetic event system. Unfortunately, that means that controls like onDialogClosed won’t actually attach event listeners to our component, so we have to find some other way.

The most obvious means of adding custom event listeners in React is by using DOM refs. In this model, we can reference our HTML node directly. The syntax is a bit verbose, but works great:

import React, { Component, createRef } from 'react';

export default class MyComponent extends Component {
  constructor(props) {
    super(props);
    // Create the ref
    this.dialog = createRef();
    // Bind our method to the instance
    this.onDialogClosed = this.onDialogClosed.bind(this);

    this.state = {
      open: false
    };
  }

  componentDidMount() {
    // Once the component mounds, add the event listener
    this.dialog.current.addEventListener('dialog-closed', this.onDialogClosed);
  }

  componentWillUnmount() {
    // When the component unmounts, remove the listener
    this.dialog.current.removeEventListener('dialog-closed', this.onDialogClosed);
  }

  onDialogClosed(event) { /** Omitted **/ }

  render() {
    return <div>
      <one-dialog open={this.state.open} ref={this.dialog}>
        <span slot="heading">Heading text</span>
        <div>
          <p>Body copy</p>
        </div>
      </one-dialog>
    </div>
  }
}

Or, we can use stateless functional components and hooks:

import React, { useState, useEffect, useRef } from 'react';

export default function MyComponent(props) {
  const [ dialogOpen, setDialogOpen ] = useState(false);
  const oneDialog = useRef(null);
  const onDialogClosed = event => console.log(event);

  useEffect(() => {
    oneDialog.current.addEventListener('dialog-closed', onDialogClosed);
    return () => oneDialog.current.removeEventListener('dialog-closed', onDialogClosed)
  });

  return <div>
      <button onClick={() => setDialogOpen(true)}>Open dialog</button>
      <one-dialog ref={oneDialog} open={dialogOpen}>
        <span slot="heading">Heading text</span>
        <div>
          <p>Body copy</p>
        </div>
      </one-dialog>
    </div>
}

That’s not bad, but you can see how reusing this component could quickly become cumbersome. Luckily, we can export a default React component that wraps our custom element using the same tools.

import React, { Component, createRef } from 'react';
import PropTypes from 'prop-types';

export default class OneDialog extends Component {
  constructor(props) {
    super(props);
    // Create the ref
    this.dialog = createRef();
    // Bind our method to the instance
    this.onDialogClosed = this.onDialogClosed.bind(this);
  }

  componentDidMount() {
    // Once the component mounds, add the event listener
    this.dialog.current.addEventListener('dialog-closed', this.onDialogClosed);
  }

  componentWillUnmount() {
    // When the component unmounts, remove the listener
    this.dialog.current.removeEventListener('dialog-closed', this.onDialogClosed);
  }

  onDialogClosed(event) {
    // Check to make sure the prop is present before calling it
    if (this.props.onDialogClosed) {
      this.props.onDialogClosed(event);
    }
  }

  render() {
    const { children, onDialogClosed, ...props } = this.props;
    return <one-dialog {...props} ref={this.dialog}>
      {children}
    </one-dialog>
  }
}

OneDialog.propTypes = {
  children: children: PropTypes.oneOfType([
      PropTypes.arrayOf(PropTypes.node),
      PropTypes.node
  ]).isRequired,
  onDialogClosed: PropTypes.func
};

…or again as a stateless, functional component:

import React, { useRef, useEffect } from 'react';
import PropTypes from 'prop-types';

export default function OneDialog(props) {
  const { children, onDialogClosed, ...restProps } = props;
  const oneDialog = useRef(null);
  
  useEffect(() => {
    onDialogClosed ? oneDialog.current.addEventListener('dialog-closed', onDialogClosed) : null;
    return () => {
      onDialogClosed ? oneDialog.current.removeEventListener('dialog-closed', onDialogClosed) : null;  
    };
  });

  return <one-dialog ref={oneDialog} {...restProps}>{children}</one-dialog>
}

Now we can use our dialog natively in React, but still keep the same API across all our applications (and still drop classes, if that’s your thing).

import React, { useState } from 'react';
import OneDialog from './OneDialog';

export default function MyComponent(props) {
  const [open, setOpen] = useState(false);
  return <div>
    <button onClick={() => setOpen(true)}>Open dialog</button>
    <OneDialog open={open} onDialogClosed={() => setOpen(false)}>
      <span slot="heading">Heading text</span>
      <div>
        <p>Body copy</p>
      </div>
    </OneDialog>
  </div>
}

Advanced tooling

There are a number of great tools for authoring your own custom elements. Searching through npm reveals a multitude of tools for creating highly-reactive custom elements (including my own pet project), but the most popular today by far is lit-html from the Polymer team and, more specifically for Web Components, LitElement.

LitElement is a custom elements base class that provides a series of APIs for doing all of the things we’ve walked through so far. It can be run in a browser without a build step, but if you enjoy using future-facing tools like decorators, there are utilities for that as well.

Before diving into how to use lit or LitElement, take a minute to familiarize yourself with tagged template literals, which are a special kind of function called on template literal strings in JavaScript. These functions take in an array of strings and a collection of interpolated values and can return anything you might want.

function tag(strings, ...values) {
  console.log({ strings, values });
  return true;
}
const who = 'world';

tag`hello ${who}`; 
/** would log out { strings: ['hello ', ''], values: ['world'] } and return true **/

What LitElement gives us is live, dynamic updating of anything passed to that values array, so as a property updates, the element’s render function would be called and the resulting DOM would be re-rendered

import { LitElement, html } from 'lit-element';

class SomeComponent {
  static get properties() {
    return { 
      now: { type: String }
    };
  }

  connectedCallback() {
    // Be sure to call the super
    super.connectedCallback();
    this.interval = window.setInterval(() => {
      this.now = Date.now();
    });
  }

  disconnectedCallback() {
    super.disconnectedCallback();
    window.clearInterval(this.interval);
  }

  render() {
    return html`<h1>It is ${this.now}</h1>`;
  }
}

customElements.define('some-component', SomeComponent);

See the Pen
LitElement now example
by Caleb Williams (@calebdwilliams)
on CodePen.

What you will notice is that we have to define any property we want LitElement to watch using the static properties getter. Using that API tells the base class to call render whenever a change is made to the component’s properties. render, in turn, will update only the nodes that need to change.

So, for our dialog example, it would look like this using LitElement:

See the Pen
Dialog example using LitElement
by Caleb Williams (@calebdwilliams)
on CodePen.

There are several variants of lit-html available, including Haunted, a React hooks-style library for Web Components that can also make use of virtual components using lit-html as a base.

At the end of the day, most of the modern Web Components tools are various flavors of what LitElement is: a base class that abstracts common logic away from our components. Among the other flavors are Stencil, SkateJS, Angular Elements and Polymer.

What’s next

Web Components standards are continuing to evolve and new features are being discussed and added to browsers on an ongoing basis. Soon, Web Component authors will have APIs for interacting with web forms at a high level (including other element internals that are beyond the scope of these introductory articles), like native HTML and CSS module imports, native template instantiation and updating controls, and many more which can be tracked on the W3C/web components issues board on GitHub.

These standards are ready to adopt into our projects today with the appropriate polyfills for legacy browsers and Edge. And while they may not replace your framework of choice, they can be used alongside them to augment you and your organization’s workflows.

The post Advanced Tooling for Web Components appeared first on CSS-Tricks.

How to Create a One-Page Newsletter Template in InDesign

Post pobrano z: How to Create a One-Page Newsletter Template in InDesign

Final product image
What You’ll Be Creating

In this tutorial, you’ll learn how to create a newsletter template. InDesign newsletter templates are quick and simple to put together and are perfect for informing customers or employees about your business. Coming up with great newsletter design ideas can take some thought, but this design cleverly combines style and function in a simple, one-page newsletter template.

This newsletter design has a single-page, US Letter format in a newspaper-style design, which can be easily customised with your own content. 

Discover more InDesign templates for newsletters on Envato Elements and GraphicRiver

Ready to create your newsletter layout? Let’s get started…

What You’ll Need to Create Your Newsletter Template

We’ll be using Adobe InDesign to put together the newsletter format, and you’ll also need to download and install the following fonts:

The images used in the newsletter design, as pictured here, are:

1. How to Set Up Your Newsletter Template in InDesign

Step 1

Open InDesign, and go to File > New > Document. 

Choose Letter for the page size, and deselect Facing Pages. Increase the number of Columns to 4, and set the Column Gutter to 0 in. Add a 0.2 in Margin Width and a Bleed of 0.125 in to the page. 

new indesign document

Then click Create.

new document

Step 2

Expand the Layers panel (Window > Layers) and double-click on Layer 1, renaming it Background

Create a new layer and name this Type

new layer

Then lock the Type layer, keeping the Background layer active. 

locked layer

Step 3

Expand the Swatches panel (Window > Color > Swatches) and choose New Color Swatch from the panel’s drop-down menu (at top right). 

Set the levels to C=0 M=80 Y=88 and K=0, before clicking Add and Done.

Create two more CMYK swatches:

  • C=73 M=72 Y=68 K=92
  • C=0 M=22 Y=29 K=0
new color swatch

Step 4

Working on the Background layer, use the Rectangle Tool (M) to create a shape across the whole page, setting the Fill Color to C=0 M=22 Y=29 K=0.

swatches panel background

2. How to Create a Grid for Your Newsletter Template

Step 1

Lock the Background layer and unlock the Type layer above. 

From the left-hand ruler (View > Show Rulers), pull out a guide to X: 2.5 in. 

guide line

Drop a second guide at X: 6.55 in. 

guide line

Step 2

Use the Line Tool (\) to create a vertical line between the right side of the first column and the guide line. 

From the Swatches panel, set the Stroke Color to C=0 M=80 Y=88 K=0. From the Stroke panel, increase the Weight of the line to 4 pt. 

column line

Step 3

Create a second line on the page, this time a horizontal one along the top margin line, reaching from the right side of the top of the vertical line. 

As before, set the Stroke Color to C=0 M=80 Y=88 K=0, but this time set the Weight to a thinner 2 pt. 

top line

Copy and Paste this thinner line, moving the copy directly below, to Y: 1.8 in. 

second line down

Paste again, moving this copy below to Y: 3.1 in.  

row sequence

Step 4

Use the Ellipse Tool (L) to create a circle between the ends of the two top horizontal lines. Set the Fill Color to C=0 M=80 Y=88 K=0.

ellipse tool

Create a long, rectangular shape inside the bottom two-thirds of the far-right column, setting the Fill, as before, to C=0 M=80 Y=88 K=0.

rectangle frame tool

3. How to Create a Headline for Your Newsletter Layout

Step 1

Use the Type Tool (T) to create a large text frame between the two lower horizontal lines. Type in the title of your newsletter, and set the Font to Bw Nista Grotesk Black and the Font Color to C=73 M=72 Y=68 K=92.

newsletter title

Add a text frame above this, typing in the issue number and date, and setting the Font to Karoll Round, Align Center. 

subtitle for date

Step 2

The headline story for your newsletter can be placed in the larger section directly below the title. 

Use the Rectangle Frame Tool (F) to create an image frame at the top of the section, going to File > Place and choosing an image to Open

Below this, create a text frame for the article title set in Bw Nista International Black. 

headline title

A subtitle below can be set in Bw Nista International Bold.

subtitle frame

Step 3

Create one text frame below the subtitle, on the left side, setting the body text in this to Bw Nista International Regular. 

body text frame

Thread the text over to a second text frame, to create two columns of even width in the space.

threaded column

Copy and Paste the orange circle from the top of the page, scaling this down (while holding Shift) and placing it at the end of the body text to indicate the end of the article. 

orange stop circle

Top tip: If you don’t yet have copy to fill your template with, you can go to Type > Fill with Placeholder Text to fill space with text temporarily.

4. How to Populate Your Newsletter Template

You can use the orange column on the right side as a space for highlighting important, need-to-know information, such as upcoming events. 

Step 1

Set a text frame at the top in Bw Nista International Black and a C=0 M=22 Y=29 K=0 Font Color for the main title. 

whats on title

Add a line below using the Line Tool (\), with a C=0 M=22 Y=29 K=0 Stroke Color.

line below

Step 2

Another title can be placed below this, in smaller Bw Nista International Black. Add a text frame with Bw Nista International Regular body text below this. 

body text

Copy and Paste this pair of text frames a couple of times to fill out the column if needed. You can also add an image frame to the column. 

Step 3

Focussing on the left-hand column, set a title at the top in Bw Nista International Black.

title frame

A subtitle can be placed below, set in Bw Nista International Bold. 

subtitle frame

Add body text below this in Bw Nista International Regular.

body text frame

Step 4

Statistics or key facts can be highlighted using a copy of the orange circle, and placed within this left-hand column. 

nista interantional

Copy and Paste the text frames you’ve created in Step 3, above, to populate the rest of the column, adding an image frame as well if you like. 

Step 5

Create a small title text frame in the remaining top row on the newsletter design, setting the Font to Bw Nista International Black and the Font Color to C=0 M=80 Y=88 K=0.

Add body text below set in Bw Nista International Regular.

item 1 title

Copy and Paste this pair of frames, and use these to fill up the row. 

5. How to Export Your Newsletter Template

You can export your finished newsletter design for print or online. Here, we’ll look at how to export your newsletter layout as an interactive PDF, ready to share online or attach to an email.

Step 1

Go to File > Export. Choose Adobe PDF (Interactive) from the Format drop-down menu (or choose Adobe PDF (Print) for a print-ready PDF). 

Name your file and click Save.

interactive pdf

Step 2

In the window that opens, click on Compression in the left-hand menu. Set the JPEG Quality to High and the Resolution to 72 ppi. 

72 ppi resolution

Then click Export to create your PDF. You can share this straight away with your readers!

Conclusion: Your Finished Newsletter Template

In this tutorial, you’ve learned how to create a one-page newsletter template in InDesign, and you’ve picked up some handy print design and typography skills along the way. 

final newsletter

If you want to give your newsletter a different look, this is easy to do by swapping in different images and fonts or by creating a different color palette. 

Looking for a completely new style of newsletter or flyer? You can find a huge range of stylish InDesign newsletter templates on Envato Elements and GraphicRiver

Discover how to create more of your own print design templates in InDesign with these tutorials:

How to Create a One-Page Newsletter Template in InDesign

Post pobrano z: How to Create a One-Page Newsletter Template in InDesign

Final product image
What You’ll Be Creating

In this tutorial, you’ll learn how to create a newsletter template. InDesign newsletter templates are quick and simple to put together and are perfect for informing customers or employees about your business. Coming up with great newsletter design ideas can take some thought, but this design cleverly combines style and function in a simple, one-page newsletter template.

This newsletter design has a single-page, US Letter format in a newspaper-style design, which can be easily customised with your own content. 

Discover more InDesign templates for newsletters on Envato Elements and GraphicRiver

Ready to create your newsletter layout? Let’s get started…

What You’ll Need to Create Your Newsletter Template

We’ll be using Adobe InDesign to put together the newsletter format, and you’ll also need to download and install the following fonts:

The images used in the newsletter design, as pictured here, are:

1. How to Set Up Your Newsletter Template in InDesign

Step 1

Open InDesign, and go to File > New > Document. 

Choose Letter for the page size, and deselect Facing Pages. Increase the number of Columns to 4, and set the Column Gutter to 0 in. Add a 0.2 in Margin Width and a Bleed of 0.125 in to the page. 

new indesign document

Then click Create.

new document

Step 2

Expand the Layers panel (Window > Layers) and double-click on Layer 1, renaming it Background

Create a new layer and name this Type

new layer

Then lock the Type layer, keeping the Background layer active. 

locked layer

Step 3

Expand the Swatches panel (Window > Color > Swatches) and choose New Color Swatch from the panel’s drop-down menu (at top right). 

Set the levels to C=0 M=80 Y=88 and K=0, before clicking Add and Done.

Create two more CMYK swatches:

  • C=73 M=72 Y=68 K=92
  • C=0 M=22 Y=29 K=0
new color swatch

Step 4

Working on the Background layer, use the Rectangle Tool (M) to create a shape across the whole page, setting the Fill Color to C=0 M=22 Y=29 K=0.

swatches panel background

2. How to Create a Grid for Your Newsletter Template

Step 1

Lock the Background layer and unlock the Type layer above. 

From the left-hand ruler (View > Show Rulers), pull out a guide to X: 2.5 in. 

guide line

Drop a second guide at X: 6.55 in. 

guide line

Step 2

Use the Line Tool (\) to create a vertical line between the right side of the first column and the guide line. 

From the Swatches panel, set the Stroke Color to C=0 M=80 Y=88 K=0. From the Stroke panel, increase the Weight of the line to 4 pt. 

column line

Step 3

Create a second line on the page, this time a horizontal one along the top margin line, reaching from the right side of the top of the vertical line. 

As before, set the Stroke Color to C=0 M=80 Y=88 K=0, but this time set the Weight to a thinner 2 pt. 

top line

Copy and Paste this thinner line, moving the copy directly below, to Y: 1.8 in. 

second line down

Paste again, moving this copy below to Y: 3.1 in.  

row sequence

Step 4

Use the Ellipse Tool (L) to create a circle between the ends of the two top horizontal lines. Set the Fill Color to C=0 M=80 Y=88 K=0.

ellipse tool

Create a long, rectangular shape inside the bottom two-thirds of the far-right column, setting the Fill, as before, to C=0 M=80 Y=88 K=0.

rectangle frame tool

3. How to Create a Headline for Your Newsletter Layout

Step 1

Use the Type Tool (T) to create a large text frame between the two lower horizontal lines. Type in the title of your newsletter, and set the Font to Bw Nista Grotesk Black and the Font Color to C=73 M=72 Y=68 K=92.

newsletter title

Add a text frame above this, typing in the issue number and date, and setting the Font to Karoll Round, Align Center. 

subtitle for date

Step 2

The headline story for your newsletter can be placed in the larger section directly below the title. 

Use the Rectangle Frame Tool (F) to create an image frame at the top of the section, going to File > Place and choosing an image to Open

Below this, create a text frame for the article title set in Bw Nista International Black. 

headline title

A subtitle below can be set in Bw Nista International Bold.

subtitle frame

Step 3

Create one text frame below the subtitle, on the left side, setting the body text in this to Bw Nista International Regular. 

body text frame

Thread the text over to a second text frame, to create two columns of even width in the space.

threaded column

Copy and Paste the orange circle from the top of the page, scaling this down (while holding Shift) and placing it at the end of the body text to indicate the end of the article. 

orange stop circle

Top tip: If you don’t yet have copy to fill your template with, you can go to Type > Fill with Placeholder Text to fill space with text temporarily.

4. How to Populate Your Newsletter Template

You can use the orange column on the right side as a space for highlighting important, need-to-know information, such as upcoming events. 

Step 1

Set a text frame at the top in Bw Nista International Black and a C=0 M=22 Y=29 K=0 Font Color for the main title. 

whats on title

Add a line below using the Line Tool (\), with a C=0 M=22 Y=29 K=0 Stroke Color.

line below

Step 2

Another title can be placed below this, in smaller Bw Nista International Black. Add a text frame with Bw Nista International Regular body text below this. 

body text

Copy and Paste this pair of text frames a couple of times to fill out the column if needed. You can also add an image frame to the column. 

Step 3

Focussing on the left-hand column, set a title at the top in Bw Nista International Black.

title frame

A subtitle can be placed below, set in Bw Nista International Bold. 

subtitle frame

Add body text below this in Bw Nista International Regular.

body text frame

Step 4

Statistics or key facts can be highlighted using a copy of the orange circle, and placed within this left-hand column. 

nista interantional

Copy and Paste the text frames you’ve created in Step 3, above, to populate the rest of the column, adding an image frame as well if you like. 

Step 5

Create a small title text frame in the remaining top row on the newsletter design, setting the Font to Bw Nista International Black and the Font Color to C=0 M=80 Y=88 K=0.

Add body text below set in Bw Nista International Regular.

item 1 title

Copy and Paste this pair of frames, and use these to fill up the row. 

5. How to Export Your Newsletter Template

You can export your finished newsletter design for print or online. Here, we’ll look at how to export your newsletter layout as an interactive PDF, ready to share online or attach to an email.

Step 1

Go to File > Export. Choose Adobe PDF (Interactive) from the Format drop-down menu (or choose Adobe PDF (Print) for a print-ready PDF). 

Name your file and click Save.

interactive pdf

Step 2

In the window that opens, click on Compression in the left-hand menu. Set the JPEG Quality to High and the Resolution to 72 ppi. 

72 ppi resolution

Then click Export to create your PDF. You can share this straight away with your readers!

Conclusion: Your Finished Newsletter Template

In this tutorial, you’ve learned how to create a one-page newsletter template in InDesign, and you’ve picked up some handy print design and typography skills along the way. 

final newsletter

If you want to give your newsletter a different look, this is easy to do by swapping in different images and fonts or by creating a different color palette. 

Looking for a completely new style of newsletter or flyer? You can find a huge range of stylish InDesign newsletter templates on Envato Elements and GraphicRiver

Discover how to create more of your own print design templates in InDesign with these tutorials:

How to Create a One-Page Newsletter Template in InDesign

Post pobrano z: How to Create a One-Page Newsletter Template in InDesign

Final product image
What You’ll Be Creating

In this tutorial, you’ll learn how to create a newsletter template. InDesign newsletter templates are quick and simple to put together and are perfect for informing customers or employees about your business. Coming up with great newsletter design ideas can take some thought, but this design cleverly combines style and function in a simple, one-page newsletter template.

This newsletter design has a single-page, US Letter format in a newspaper-style design, which can be easily customised with your own content. 

Discover more InDesign templates for newsletters on Envato Elements and GraphicRiver

Ready to create your newsletter layout? Let’s get started…

What You’ll Need to Create Your Newsletter Template

We’ll be using Adobe InDesign to put together the newsletter format, and you’ll also need to download and install the following fonts:

The images used in the newsletter design, as pictured here, are:

1. How to Set Up Your Newsletter Template in InDesign

Step 1

Open InDesign, and go to File > New > Document. 

Choose Letter for the page size, and deselect Facing Pages. Increase the number of Columns to 4, and set the Column Gutter to 0 in. Add a 0.2 in Margin Width and a Bleed of 0.125 in to the page. 

new indesign document

Then click Create.

new document

Step 2

Expand the Layers panel (Window > Layers) and double-click on Layer 1, renaming it Background

Create a new layer and name this Type

new layer

Then lock the Type layer, keeping the Background layer active. 

locked layer

Step 3

Expand the Swatches panel (Window > Color > Swatches) and choose New Color Swatch from the panel’s drop-down menu (at top right). 

Set the levels to C=0 M=80 Y=88 and K=0, before clicking Add and Done.

Create two more CMYK swatches:

  • C=73 M=72 Y=68 K=92
  • C=0 M=22 Y=29 K=0
new color swatch

Step 4

Working on the Background layer, use the Rectangle Tool (M) to create a shape across the whole page, setting the Fill Color to C=0 M=22 Y=29 K=0.

swatches panel background

2. How to Create a Grid for Your Newsletter Template

Step 1

Lock the Background layer and unlock the Type layer above. 

From the left-hand ruler (View > Show Rulers), pull out a guide to X: 2.5 in. 

guide line

Drop a second guide at X: 6.55 in. 

guide line

Step 2

Use the Line Tool (\) to create a vertical line between the right side of the first column and the guide line. 

From the Swatches panel, set the Stroke Color to C=0 M=80 Y=88 K=0. From the Stroke panel, increase the Weight of the line to 4 pt. 

column line

Step 3

Create a second line on the page, this time a horizontal one along the top margin line, reaching from the right side of the top of the vertical line. 

As before, set the Stroke Color to C=0 M=80 Y=88 K=0, but this time set the Weight to a thinner 2 pt. 

top line

Copy and Paste this thinner line, moving the copy directly below, to Y: 1.8 in. 

second line down

Paste again, moving this copy below to Y: 3.1 in.  

row sequence

Step 4

Use the Ellipse Tool (L) to create a circle between the ends of the two top horizontal lines. Set the Fill Color to C=0 M=80 Y=88 K=0.

ellipse tool

Create a long, rectangular shape inside the bottom two-thirds of the far-right column, setting the Fill, as before, to C=0 M=80 Y=88 K=0.

rectangle frame tool

3. How to Create a Headline for Your Newsletter Layout

Step 1

Use the Type Tool (T) to create a large text frame between the two lower horizontal lines. Type in the title of your newsletter, and set the Font to Bw Nista Grotesk Black and the Font Color to C=73 M=72 Y=68 K=92.

newsletter title

Add a text frame above this, typing in the issue number and date, and setting the Font to Karoll Round, Align Center. 

subtitle for date

Step 2

The headline story for your newsletter can be placed in the larger section directly below the title. 

Use the Rectangle Frame Tool (F) to create an image frame at the top of the section, going to File > Place and choosing an image to Open

Below this, create a text frame for the article title set in Bw Nista International Black. 

headline title

A subtitle below can be set in Bw Nista International Bold.

subtitle frame

Step 3

Create one text frame below the subtitle, on the left side, setting the body text in this to Bw Nista International Regular. 

body text frame

Thread the text over to a second text frame, to create two columns of even width in the space.

threaded column

Copy and Paste the orange circle from the top of the page, scaling this down (while holding Shift) and placing it at the end of the body text to indicate the end of the article. 

orange stop circle

Top tip: If you don’t yet have copy to fill your template with, you can go to Type > Fill with Placeholder Text to fill space with text temporarily.

4. How to Populate Your Newsletter Template

You can use the orange column on the right side as a space for highlighting important, need-to-know information, such as upcoming events. 

Step 1

Set a text frame at the top in Bw Nista International Black and a C=0 M=22 Y=29 K=0 Font Color for the main title. 

whats on title

Add a line below using the Line Tool (\), with a C=0 M=22 Y=29 K=0 Stroke Color.

line below

Step 2

Another title can be placed below this, in smaller Bw Nista International Black. Add a text frame with Bw Nista International Regular body text below this. 

body text

Copy and Paste this pair of text frames a couple of times to fill out the column if needed. You can also add an image frame to the column. 

Step 3

Focussing on the left-hand column, set a title at the top in Bw Nista International Black.

title frame

A subtitle can be placed below, set in Bw Nista International Bold. 

subtitle frame

Add body text below this in Bw Nista International Regular.

body text frame

Step 4

Statistics or key facts can be highlighted using a copy of the orange circle, and placed within this left-hand column. 

nista interantional

Copy and Paste the text frames you’ve created in Step 3, above, to populate the rest of the column, adding an image frame as well if you like. 

Step 5

Create a small title text frame in the remaining top row on the newsletter design, setting the Font to Bw Nista International Black and the Font Color to C=0 M=80 Y=88 K=0.

Add body text below set in Bw Nista International Regular.

item 1 title

Copy and Paste this pair of frames, and use these to fill up the row. 

5. How to Export Your Newsletter Template

You can export your finished newsletter design for print or online. Here, we’ll look at how to export your newsletter layout as an interactive PDF, ready to share online or attach to an email.

Step 1

Go to File > Export. Choose Adobe PDF (Interactive) from the Format drop-down menu (or choose Adobe PDF (Print) for a print-ready PDF). 

Name your file and click Save.

interactive pdf

Step 2

In the window that opens, click on Compression in the left-hand menu. Set the JPEG Quality to High and the Resolution to 72 ppi. 

72 ppi resolution

Then click Export to create your PDF. You can share this straight away with your readers!

Conclusion: Your Finished Newsletter Template

In this tutorial, you’ve learned how to create a one-page newsletter template in InDesign, and you’ve picked up some handy print design and typography skills along the way. 

final newsletter

If you want to give your newsletter a different look, this is easy to do by swapping in different images and fonts or by creating a different color palette. 

Looking for a completely new style of newsletter or flyer? You can find a huge range of stylish InDesign newsletter templates on Envato Elements and GraphicRiver

Discover how to create more of your own print design templates in InDesign with these tutorials:

How to Create a One-Page Newsletter Template in InDesign

Post pobrano z: How to Create a One-Page Newsletter Template in InDesign

Final product image
What You’ll Be Creating

In this tutorial, you’ll learn how to create a newsletter template. InDesign newsletter templates are quick and simple to put together and are perfect for informing customers or employees about your business. Coming up with great newsletter design ideas can take some thought, but this design cleverly combines style and function in a simple, one-page newsletter template.

This newsletter design has a single-page, US Letter format in a newspaper-style design, which can be easily customised with your own content. 

Discover more InDesign templates for newsletters on Envato Elements and GraphicRiver

Ready to create your newsletter layout? Let’s get started…

What You’ll Need to Create Your Newsletter Template

We’ll be using Adobe InDesign to put together the newsletter format, and you’ll also need to download and install the following fonts:

The images used in the newsletter design, as pictured here, are:

1. How to Set Up Your Newsletter Template in InDesign

Step 1

Open InDesign, and go to File > New > Document. 

Choose Letter for the page size, and deselect Facing Pages. Increase the number of Columns to 4, and set the Column Gutter to 0 in. Add a 0.2 in Margin Width and a Bleed of 0.125 in to the page. 

new indesign document

Then click Create.

new document

Step 2

Expand the Layers panel (Window > Layers) and double-click on Layer 1, renaming it Background

Create a new layer and name this Type

new layer

Then lock the Type layer, keeping the Background layer active. 

locked layer

Step 3

Expand the Swatches panel (Window > Color > Swatches) and choose New Color Swatch from the panel’s drop-down menu (at top right). 

Set the levels to C=0 M=80 Y=88 and K=0, before clicking Add and Done.

Create two more CMYK swatches:

  • C=73 M=72 Y=68 K=92
  • C=0 M=22 Y=29 K=0
new color swatch

Step 4

Working on the Background layer, use the Rectangle Tool (M) to create a shape across the whole page, setting the Fill Color to C=0 M=22 Y=29 K=0.

swatches panel background

2. How to Create a Grid for Your Newsletter Template

Step 1

Lock the Background layer and unlock the Type layer above. 

From the left-hand ruler (View > Show Rulers), pull out a guide to X: 2.5 in. 

guide line

Drop a second guide at X: 6.55 in. 

guide line

Step 2

Use the Line Tool (\) to create a vertical line between the right side of the first column and the guide line. 

From the Swatches panel, set the Stroke Color to C=0 M=80 Y=88 K=0. From the Stroke panel, increase the Weight of the line to 4 pt. 

column line

Step 3

Create a second line on the page, this time a horizontal one along the top margin line, reaching from the right side of the top of the vertical line. 

As before, set the Stroke Color to C=0 M=80 Y=88 K=0, but this time set the Weight to a thinner 2 pt. 

top line

Copy and Paste this thinner line, moving the copy directly below, to Y: 1.8 in. 

second line down

Paste again, moving this copy below to Y: 3.1 in.  

row sequence

Step 4

Use the Ellipse Tool (L) to create a circle between the ends of the two top horizontal lines. Set the Fill Color to C=0 M=80 Y=88 K=0.

ellipse tool

Create a long, rectangular shape inside the bottom two-thirds of the far-right column, setting the Fill, as before, to C=0 M=80 Y=88 K=0.

rectangle frame tool

3. How to Create a Headline for Your Newsletter Layout

Step 1

Use the Type Tool (T) to create a large text frame between the two lower horizontal lines. Type in the title of your newsletter, and set the Font to Bw Nista Grotesk Black and the Font Color to C=73 M=72 Y=68 K=92.

newsletter title

Add a text frame above this, typing in the issue number and date, and setting the Font to Karoll Round, Align Center. 

subtitle for date

Step 2

The headline story for your newsletter can be placed in the larger section directly below the title. 

Use the Rectangle Frame Tool (F) to create an image frame at the top of the section, going to File > Place and choosing an image to Open

Below this, create a text frame for the article title set in Bw Nista International Black. 

headline title

A subtitle below can be set in Bw Nista International Bold.

subtitle frame

Step 3

Create one text frame below the subtitle, on the left side, setting the body text in this to Bw Nista International Regular. 

body text frame

Thread the text over to a second text frame, to create two columns of even width in the space.

threaded column

Copy and Paste the orange circle from the top of the page, scaling this down (while holding Shift) and placing it at the end of the body text to indicate the end of the article. 

orange stop circle

Top tip: If you don’t yet have copy to fill your template with, you can go to Type > Fill with Placeholder Text to fill space with text temporarily.

4. How to Populate Your Newsletter Template

You can use the orange column on the right side as a space for highlighting important, need-to-know information, such as upcoming events. 

Step 1

Set a text frame at the top in Bw Nista International Black and a C=0 M=22 Y=29 K=0 Font Color for the main title. 

whats on title

Add a line below using the Line Tool (\), with a C=0 M=22 Y=29 K=0 Stroke Color.

line below

Step 2

Another title can be placed below this, in smaller Bw Nista International Black. Add a text frame with Bw Nista International Regular body text below this. 

body text

Copy and Paste this pair of text frames a couple of times to fill out the column if needed. You can also add an image frame to the column. 

Step 3

Focussing on the left-hand column, set a title at the top in Bw Nista International Black.

title frame

A subtitle can be placed below, set in Bw Nista International Bold. 

subtitle frame

Add body text below this in Bw Nista International Regular.

body text frame

Step 4

Statistics or key facts can be highlighted using a copy of the orange circle, and placed within this left-hand column. 

nista interantional

Copy and Paste the text frames you’ve created in Step 3, above, to populate the rest of the column, adding an image frame as well if you like. 

Step 5

Create a small title text frame in the remaining top row on the newsletter design, setting the Font to Bw Nista International Black and the Font Color to C=0 M=80 Y=88 K=0.

Add body text below set in Bw Nista International Regular.

item 1 title

Copy and Paste this pair of frames, and use these to fill up the row. 

5. How to Export Your Newsletter Template

You can export your finished newsletter design for print or online. Here, we’ll look at how to export your newsletter layout as an interactive PDF, ready to share online or attach to an email.

Step 1

Go to File > Export. Choose Adobe PDF (Interactive) from the Format drop-down menu (or choose Adobe PDF (Print) for a print-ready PDF). 

Name your file and click Save.

interactive pdf

Step 2

In the window that opens, click on Compression in the left-hand menu. Set the JPEG Quality to High and the Resolution to 72 ppi. 

72 ppi resolution

Then click Export to create your PDF. You can share this straight away with your readers!

Conclusion: Your Finished Newsletter Template

In this tutorial, you’ve learned how to create a one-page newsletter template in InDesign, and you’ve picked up some handy print design and typography skills along the way. 

final newsletter

If you want to give your newsletter a different look, this is easy to do by swapping in different images and fonts or by creating a different color palette. 

Looking for a completely new style of newsletter or flyer? You can find a huge range of stylish InDesign newsletter templates on Envato Elements and GraphicRiver

Discover how to create more of your own print design templates in InDesign with these tutorials:

How to Create a One-Page Newsletter Template in InDesign

Post pobrano z: How to Create a One-Page Newsletter Template in InDesign

Final product image
What You’ll Be Creating

In this tutorial, you’ll learn how to create a newsletter template. InDesign newsletter templates are quick and simple to put together and are perfect for informing customers or employees about your business. Coming up with great newsletter design ideas can take some thought, but this design cleverly combines style and function in a simple, one-page newsletter template.

This newsletter design has a single-page, US Letter format in a newspaper-style design, which can be easily customised with your own content. 

Discover more InDesign templates for newsletters on Envato Elements and GraphicRiver

Ready to create your newsletter layout? Let’s get started…

What You’ll Need to Create Your Newsletter Template

We’ll be using Adobe InDesign to put together the newsletter format, and you’ll also need to download and install the following fonts:

The images used in the newsletter design, as pictured here, are:

1. How to Set Up Your Newsletter Template in InDesign

Step 1

Open InDesign, and go to File > New > Document. 

Choose Letter for the page size, and deselect Facing Pages. Increase the number of Columns to 4, and set the Column Gutter to 0 in. Add a 0.2 in Margin Width and a Bleed of 0.125 in to the page. 

new indesign document

Then click Create.

new document

Step 2

Expand the Layers panel (Window > Layers) and double-click on Layer 1, renaming it Background

Create a new layer and name this Type

new layer

Then lock the Type layer, keeping the Background layer active. 

locked layer

Step 3

Expand the Swatches panel (Window > Color > Swatches) and choose New Color Swatch from the panel’s drop-down menu (at top right). 

Set the levels to C=0 M=80 Y=88 and K=0, before clicking Add and Done.

Create two more CMYK swatches:

  • C=73 M=72 Y=68 K=92
  • C=0 M=22 Y=29 K=0
new color swatch

Step 4

Working on the Background layer, use the Rectangle Tool (M) to create a shape across the whole page, setting the Fill Color to C=0 M=22 Y=29 K=0.

swatches panel background

2. How to Create a Grid for Your Newsletter Template

Step 1

Lock the Background layer and unlock the Type layer above. 

From the left-hand ruler (View > Show Rulers), pull out a guide to X: 2.5 in. 

guide line

Drop a second guide at X: 6.55 in. 

guide line

Step 2

Use the Line Tool (\) to create a vertical line between the right side of the first column and the guide line. 

From the Swatches panel, set the Stroke Color to C=0 M=80 Y=88 K=0. From the Stroke panel, increase the Weight of the line to 4 pt. 

column line

Step 3

Create a second line on the page, this time a horizontal one along the top margin line, reaching from the right side of the top of the vertical line. 

As before, set the Stroke Color to C=0 M=80 Y=88 K=0, but this time set the Weight to a thinner 2 pt. 

top line

Copy and Paste this thinner line, moving the copy directly below, to Y: 1.8 in. 

second line down

Paste again, moving this copy below to Y: 3.1 in.  

row sequence

Step 4

Use the Ellipse Tool (L) to create a circle between the ends of the two top horizontal lines. Set the Fill Color to C=0 M=80 Y=88 K=0.

ellipse tool

Create a long, rectangular shape inside the bottom two-thirds of the far-right column, setting the Fill, as before, to C=0 M=80 Y=88 K=0.

rectangle frame tool

3. How to Create a Headline for Your Newsletter Layout

Step 1

Use the Type Tool (T) to create a large text frame between the two lower horizontal lines. Type in the title of your newsletter, and set the Font to Bw Nista Grotesk Black and the Font Color to C=73 M=72 Y=68 K=92.

newsletter title

Add a text frame above this, typing in the issue number and date, and setting the Font to Karoll Round, Align Center. 

subtitle for date

Step 2

The headline story for your newsletter can be placed in the larger section directly below the title. 

Use the Rectangle Frame Tool (F) to create an image frame at the top of the section, going to File > Place and choosing an image to Open

Below this, create a text frame for the article title set in Bw Nista International Black. 

headline title

A subtitle below can be set in Bw Nista International Bold.

subtitle frame

Step 3

Create one text frame below the subtitle, on the left side, setting the body text in this to Bw Nista International Regular. 

body text frame

Thread the text over to a second text frame, to create two columns of even width in the space.

threaded column

Copy and Paste the orange circle from the top of the page, scaling this down (while holding Shift) and placing it at the end of the body text to indicate the end of the article. 

orange stop circle

Top tip: If you don’t yet have copy to fill your template with, you can go to Type > Fill with Placeholder Text to fill space with text temporarily.

4. How to Populate Your Newsletter Template

You can use the orange column on the right side as a space for highlighting important, need-to-know information, such as upcoming events. 

Step 1

Set a text frame at the top in Bw Nista International Black and a C=0 M=22 Y=29 K=0 Font Color for the main title. 

whats on title

Add a line below using the Line Tool (\), with a C=0 M=22 Y=29 K=0 Stroke Color.

line below

Step 2

Another title can be placed below this, in smaller Bw Nista International Black. Add a text frame with Bw Nista International Regular body text below this. 

body text

Copy and Paste this pair of text frames a couple of times to fill out the column if needed. You can also add an image frame to the column. 

Step 3

Focussing on the left-hand column, set a title at the top in Bw Nista International Black.

title frame

A subtitle can be placed below, set in Bw Nista International Bold. 

subtitle frame

Add body text below this in Bw Nista International Regular.

body text frame

Step 4

Statistics or key facts can be highlighted using a copy of the orange circle, and placed within this left-hand column. 

nista interantional

Copy and Paste the text frames you’ve created in Step 3, above, to populate the rest of the column, adding an image frame as well if you like. 

Step 5

Create a small title text frame in the remaining top row on the newsletter design, setting the Font to Bw Nista International Black and the Font Color to C=0 M=80 Y=88 K=0.

Add body text below set in Bw Nista International Regular.

item 1 title

Copy and Paste this pair of frames, and use these to fill up the row. 

5. How to Export Your Newsletter Template

You can export your finished newsletter design for print or online. Here, we’ll look at how to export your newsletter layout as an interactive PDF, ready to share online or attach to an email.

Step 1

Go to File > Export. Choose Adobe PDF (Interactive) from the Format drop-down menu (or choose Adobe PDF (Print) for a print-ready PDF). 

Name your file and click Save.

interactive pdf

Step 2

In the window that opens, click on Compression in the left-hand menu. Set the JPEG Quality to High and the Resolution to 72 ppi. 

72 ppi resolution

Then click Export to create your PDF. You can share this straight away with your readers!

Conclusion: Your Finished Newsletter Template

In this tutorial, you’ve learned how to create a one-page newsletter template in InDesign, and you’ve picked up some handy print design and typography skills along the way. 

final newsletter

If you want to give your newsletter a different look, this is easy to do by swapping in different images and fonts or by creating a different color palette. 

Looking for a completely new style of newsletter or flyer? You can find a huge range of stylish InDesign newsletter templates on Envato Elements and GraphicRiver

Discover how to create more of your own print design templates in InDesign with these tutorials:

Agregator najlepszych postów o designie, webdesignie, cssie i Internecie