Okay
  Public Ticket #538510
HTML inside Page Header Title
Closed

Comments

  • Alex started the conversation

    I\'m trying to style some of the text inside the Page Header Title within either Page Header Settings or the Heading of a Nectar Slider.

    The exact HTML I\'m trying to enter is :

    Clean<span class=\"cleantxgreen\">TX</span> : Powering the Texas Clean Energy Economy

    It kind of works in the Heading of a Nectar Slider (it actually works fine, but if you ever edit the slider, the Header all goes wonky and you have to re-enter the text). It doesn\'t work at all in the Page Header Title within the Page Header Settings.

    I\'d rather use the latter, as especially video headers look better when using the Page Header Settings.

    Any advice? I\'ve tried encoding the text but no dice.

    THANKS!

  •  8,990
    Tahir replied

    Hey ,

    Use single quotes so that they are not stripped upon saving the page.

    Thanks


    ThemeNectar Support Team 

  • Alex replied

    WOW, you continue to be amazing.

    Interestingly,

    Clean<span style=\'color:#a5cd39\'>TX</span> : Powering the Texas Clean Energy Economy

    Works fine!

    But this does\'t work

    Clean<span class=\'cleantxgreen\'>TX</span> : Powering the Texas Clean Energy Economy

    With this in the css

    .cleantxgreen {color: #a5cd39;}

    Anyways, THANK YOU for the solution.