• Resolved Rodrigo Lima

    (@rodrigoflausino)


    Hi! Some months ago i mentioned about the title lenght in WordPress block from Web Stories plugin. I know about the recomendation to use small titles, but in sometimes i need to use bigger titles to avoid clickbait titles.

    Any chance to users customize the title lenght? Or and tip to set this internally? In Google Discover carousel the lenght its more than web stories plugin (but i don’t know the total lenght). I use the block in my homepage (with card view), and if i change the view (from card style to list/traditional view with excerpt) its show the total title lenght. Example:

    https://selectgame.gamehall.com.br/webstories-do-elden-ring/

    Another view:

    https://selectgame.gamehall.com.br/

    Thanks in Advanced, and sorry for my bad english.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @rodrigoflausino and thank you for your question. This was a styling decision due to the fact that there is less space on the box carousel stories and a long title could fill the entire view.

    The box carousel is limited to 2 lines for the title but you can override that limit if you wish by using the following custom CSS:

    .web-stories-list .story-content-overlay__title { -webkit-line-clamp: unset; }

    Hope this helps and please let me know if you have any further questions.

    Thread Starter Rodrigo Lima

    (@rodrigoflausino)

    Thanks! It’s worked as intended, but i add the !important tag too to force css. A developer friend commented that it’s not a good programming practice, but this tag helped me a little.

    I wii marked resolve now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘About title lenght in WordPress block’ is closed to new replies.