Support » Plugin: Enlighter - Customizable Syntax Highlighter » WPCustom / Theme Customizer Font Size Setting Does Not Work with My Theme

  • Resolved helium6072

    (@helium6072)


    After I changed my theme, the “Font-Size” setting in Theme Customizer seems to stop working. I find out the elements are style by this piece of CSS code instead of of the values set in the Theme Customizer page.

    /* default symbol style */
    .wpcustomEnlighterJS span {
        font-family: Monaco, Courier, Monospace;
        font-size: 1rem;
        line-height: 1.6rem;
        color: #000000;
    }

    What I set for “Font Styles”:

    Font-Family
    Monaco, Courier, Monospace
    
    Font-Size
    12px
    
    Line height
    16px
    
    Font-Color
    #000000

    Themes other than WPCustom seems to work correctly.
    Any ideas what’s wrong?

    • This topic was modified 3 months, 2 weeks ago by  helium6072.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andi Dittrich

    (@andi-dittrich)

    HI helium6072,

    i’ve just checked your website but everything seems to work fine…. the theme customizer generates the .wpcustomEnlighterJS span selector/css which overrides the standard theme settings. the font size is currently set to 12px

    whats wrong ?

    best regards, Andi

    @andi-dittrich I just realized I forgot to clear cached CSS’s on Cloudflare CDNs. Now they expired everything works perfectly. I’ll keep in mind to clear the cache manually next time. Thanks for your response and wonderful plugin!

    Plugin Author Andi Dittrich

    (@andi-dittrich)

    great to hear! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.