As you customize the look of your site, you will pay special attention to the front page of your site. Once you promite node content to the front page, you may want to alter the length of the excerpt.

Changing the content preview length

  1. Log into your Drupal 8 interface.
  2. select menu optionFrom the upper menu bar, find and click on the Menu option.
  3. select content menu option From the new menu that appears, locate and click on the Structure option.
  4. select content types list optionA list of structure types will appear. Find and click on the Content Types item in the list.
  5. select the manage display option from the dropdownThe available content types will appear. Locate the one you want to work with and click on the dropdown for that row found in the Operations column. Click on the Manage Display option. For our example, we chose the Basic Page.
  6. click on the teaser button in upper right cornerYou are taken to the display management editing tab for the content type you selected. In our case, it is the Basic Page. Look to the upper right corner and you will see a button named Teaser. Click on that button to continue.
  7. edit the trim length settingThis leads you to the Teaser, or excerpt settings. You will see a field named Trim Length. To adjust that setting, click the gear icon located to the right. This opens up an area where you can change the number of characters the excerpt displays. The default is 600 characters. In this example, we change it to 300. Click the Update button after entering your new value.
  8. Click on the Save button to finalize and activate the settings. You can see below how changing the preview length setting changes the excerpt displayed on the front page.
    BeforeAfter
    excerpt with default lengthafter the excerpt length was changed to 300
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 200960

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!