Title: Heading inline css text stroke
Last modified: September 24, 2024

---

# Heading inline css text stroke

 *  Resolved [fransjansen](https://wordpress.org/support/users/fransjansen/)
 * (@fransjansen)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/heading-inline-css-text-stroke/)
 * On every page of my website I have an H1 header of which I made one word green
   via inline css. I also created a white text stroke to increase readability (and
   because I think it looks nicer). You can see an example of the H1 of my homepage.
 * ![](https://i0.wp.com/i.ibb.co/q9Tf85t/inline-css-text-stroke.jpg?ssl=1)
 * Since the last update of Elementor I do not see the text stroke anymore. I did
   deactivate all other plugins but it doesn’t help. How can I make it work again?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fheading-inline-css-text-stroke%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Joel](https://wordpress.org/support/users/joelsm/)
 * (@joelsm)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/heading-inline-css-text-stroke/#post-18034196)
 * Hi Romain,
 * Thanks for reaching out! 
 * The problem could be related to the way our plugin handles custom fonts and styles.
   As -webkit-text-stroke can be inconsistent depending on the context or text rendering
   on certain platforms, I propose a workaround using Elementor Core styles that
   should work for all browsers.
 * Go to Heading widget > Text Stroke > Select the pixel you need. 
 * Screenshot: [https://prnt.sc/JSKjYpvo8VRv](https://prnt.sc/JSKjYpvo8VRv)
 * Let me know how it goes, or if you need further assistance!
 *  Thread Starter [fransjansen](https://wordpress.org/support/users/fransjansen/)
 * (@fransjansen)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/heading-inline-css-text-stroke/#post-18035181)
 * Hi Joel,
   I am aware of the possibility to create a text-stroke via the core style
   in Elementor, but actually this is not exactly the same. In that case the whole
   H1 title text gets a white stroke, but I only want one word (in this example ‘
   groener’) to be text-stroked. Any other ideas to achieve this?
 *  Thread Starter [fransjansen](https://wordpress.org/support/users/fransjansen/)
 * (@fransjansen)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/heading-inline-css-text-stroke/#post-18035218)
 * I found out that when I use a class instead of inline css it does work.

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

The topic ‘Heading inline css text stroke’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [heading](https://wordpress.org/support/topic-tag/heading/)
 * [titel](https://wordpress.org/support/topic-tag/titel/)

 * 3 replies
 * 2 participants
 * Last reply from: [fransjansen](https://wordpress.org/support/users/fransjansen/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/heading-inline-css-text-stroke/#post-18035218)
 * Status: resolved