• Resolved Miguel

    (@carullamuehr)


    Hello, this template line

    %title%<br><span style="color:#ffffff;font-size:14px!important;text-transform: none;">%secondary_title%</span>

    does not work anymore after a WordPress update to current version 6.6.2 and it seems as if I will have to delete the plugin. Before the update the plugin worked properly.

    Does anybody have a solution?

Viewing 1 replies (of 1 total)
  • Plugin Author thaikolja

    (@thaikolja)

    Hi @carullamuehr,

    Thanks for bringing this to my attention.

    I’ve just tried to reproduce this issue by installing a fresh instance of WordPress 6.6.2 and the current version of Secondary Title, 2.1.0. I used your title format:

    %title%<br><span style="color:#ffffff;font-size:14px!important;text-transform: none;">%secondary_title%</span>

    The style as set in the style attribute of the <span> tag was stripped out of the HTML code in the front-end. I’m not sure why WordPress did this and will investigate it further.

    For now, however, there’s a very easy fix for you:

    1. Replace the title format with %title%<br><span class="secondary-title">%secondary_title%</span> and save it
    2. Open your theme’s Customizer “Appearance -> Customize
    3. In the pane that opened on the left, scroll to “Additional CSS” on the bottom an open it
    4. Insert the following code into it:
    .secondary-title { 
    color: #ffffff;
    font-size: 14px !important;
    text-transform: none;
    }

    In my test, it worked and applied the style, just like before. I’ll update the documentation as soon as I’m able.

    Let me know if that worked for you, and if yes, I’d be happy for a quick review!

    Cheers,

    Kolja

    • This reply was modified 2 weeks, 6 days ago by thaikolja. Reason: Styling
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.