• Resolved apuersti

    (@apuersti)


    Hey there,

    I want to format my post in different lines and with a bold font but it’s showing the whole content in one line and without the bold font.

    The only customization done was adding the following into custom css:

    .home .entry-title{
    display: none;
    }

    This is to disable the titles of the posts to be shown.

    Any ideas how to resolve this?

    If there is no solution for this, is there a way to only disable the post title for specific posts?

    Greetings,
    Andi

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Andi,

    Thank you for getting in touch with us.

    By default WordPress strips html tags from excerpts. That’s why you can’t see bold text inside featured posts content on home page. The only way to change it is by adding custom function to Child Theme.

    You can hide titles in specific post by adding this css to Appearance → Customize → Additional CSS:

    .frontpage-featured-posts #post-31 .entry-title {
        display: none;
    }

    Please change the #post-31 in the above code to the post ID of your post. (To find it please open your post in dashboard and check the URL. There should be “post=some_number” parameter).

    Hope that helps. Thank you for your time in this.

    Best regards

    Thread Starter apuersti

    (@apuersti)

    Hi there,

    Thanks for your help, this resolved the issue.
    Well, at least as a workaroud, that’s enough for me 🙂

    Greetings,
    Andi

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Featured Posts Line Break’ is closed to new replies.