Jump to content

configure styles to be removed or preserved in the posts feed?


Go to solution Solved by opentype,

Recommended Posts

Hello

we have added a custom style in the editor to use some special font. When a post is shown in the posts feed in the side-block that style is missing:

image.thumb.png.2d85d1be1c380151e8d2b69f186bfd82.png

the post look like:

image.thumb.png.37259a93f41439fc16bb8d3d2dacf0ae.png

 

Is there a way to configure what styles should be preserved in that side-block or to be removed from the content in that block?

 

Link to comment
Share on other sites

  • Solution

It kills all HTML (styling), because the text field needs to be cut somewhere and that won’t work if the the HTML isn’t removed first. So you can’t preserve the custom font styling there. 

But you could probably solve your issue globally by defining a proper font stack for your entire website, where the browser falls back to your Tolkien font automatically. You just need to define it globally and make sure that no other font containing these “private use area” character is called first. 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...