• Resolved delanthear

    (@delanthear)


    Hi,

    The class .forminator-draft-notice seems to set the font-size to inherit.

    I want to override that, but there doesn’t seem to be an option for this in the appearance section.

    Turning on custom css and adding:

    .forminator-draft-notice p {
        font-size: 13pt;
    }

    Doesn’t work either.

    If I add the same CSS to the theme customizer custom CSS section, it works fine. What’s going on?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @delanthear !

    I trust you’re doing well!

    In some cases CSS rules will be overriden by other rules. Order of CSS matters – ie. code added later will override the same rule added earlier so maybe the customiser is adding the rule later than Forminator’s code. It depends on theme and plugins used on the site, sometimes optimisation plugins can introduce changes as well.

    In such cases you can try adding !important or be more specific with the selector:

    #forminator-module-649 .forminator-draft-notice p {
        font-size: 13pt !important;
    }

    Warm regards,
    Pawel

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @delanthear ,

    We haven’t heard from you for a while now, so it looks like you don’t have any more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

    Thread Starter delanthear

    (@delanthear)

    Hi,

    Doesn’t seem to help me really! Changes to the box just don’t seem to apply when added to the custom CSS section.

    The same code works fine when added to the customiser CSS however:

    .forminator-draft-wrap .forminator-draft-notice.draft-success {
        background-color: #8bb902 !important;
    }
    
    .forminator-draft-wrap .forminator-draft-notice.draft-success p {
        font-size: 18pt;
        color: white;
    }
    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @delanthear

    When adding to Forminator custom CSS, double check if the caches were cleared in case you are using any caching plugin but using in the customizer would be fine too.

    Best Regards
    Patrick Freitas

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customise style for draft notice text’ is closed to new replies.