Blocking Title Text

  • Author
    Posts
  • #148686

    I’d like to have 3 short sentences in the Front Page featured title and I want each sentence on its own line, like this:

    Sentence 1 has a few words.
    Sentence 2 has less.
    Sentence 3.

    Can I do this via CSS?

    The blog I need help with is humanity-project.org.

    #148697

    tarasdashkevych
    Theme Author

    Hello,

    By default, the theme is not designed to display any content in the Featured Content area. You can display it by using a custom CSS:

    
    .featured-slide:nth-child(1) .entry-title::after {
      content: "This is the first line \a This is the second line \a This is the third line.";
      display: block;
      white-space: pre;
      font-size: 21px;
      margin-top: 30px;
      font-weight: 300;
      line-height: 1.6;
    }
    

    The theme can display a custom text below the Featured Content section in the Introduction section using the Editor (Dashboard) on the page with the Front Page template.

    Please let me know if you have any additional questions.

    Thank you,
    Taras

The topic ‘Blocking Title Text’ is closed to new replies.