fueko home fueko home

Post title: 'italic' style

Ghost, unfortunately, does not natively support italicizing titles. However, you can achieve this by adding a simple JavaScript code to the post or page.

The javascript code is done on client-side with the use of browser (not the server-side), so it is possible that you’ll see a quick conversion to italic text. This is called FOUT (Flash of Unstyled Text) and unfortunately that can’t be changed.
Step-by-Step
  1. Open the 'Post settings' panel using the icon in the top right of the screen.
  2. At the bottom of the panel you’ll see a item titled 'Code injection'.
  3. Then, paste this code to the 'Post footer':
<script>
var newTitle=document.getElementById('post-title');
    newTitle&&(newTitle.innerHTML="This is <span>italics</span>")
</script>

When analyzing the provided code, make sure to insert your title between the quotation marks. Anything placed between the <span> ... </span> tags will appear in italics. For example:

"This is <span>italics</span>"
  1. Close the panel and click 'Update', to activate.