• Resolved necxelos

    (@necxelos)


    How can I style the plugin? I’m trying to put styling in my child-theme CSS file but Tooltipy seem to have everything set as INLINE + !IMPORTANT which makes it impossible to overrride.

    Trying to fetch my child-theme CSS file directly into “use custom style sheet” in CSS options only breaks the site (thank gods not permanently). Same happens by fetching empty CSS file there.

    Of course I can hard-edit plugin files with desired values but it’s against best practices as all styling would vanish the moment plugin gets updated.

    Thanks in advance for response

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jamel.Z

    (@lebleut)

    Hi @necxelos,

    Yes you can freely style your tooltips and keywords from your custom css files and use the !important keyword if not working I guess

    Thanks

    Thread Starter necxelos

    (@necxelos)

    You didn’t understand.

    inline !important takes precedence over style.css !important

    All styles in Your plugin are inline !important or at least most of them so I can’t override them using style.css at all. Colors are easy, as there is back-end settings page for that, but for example box-shadow over tooltip is inline !important and there’s no interface to change it.

    Any ideas?

    Plugin Author Jamel.Z

    (@lebleut)

    I got your point, I will see what I can do 😉

    Plugin Author Jamel.Z

    (@lebleut)

    Hey,

    With this release, you can use this new filter ‘tooltipy_stylesheet_url‘ to alter the url of the tooltips stylesheet file :
    https://github.com/lebleut/tooltipy/releases/tag/v5.0.2

    🙂

    • This reply was modified 8 years, 6 months ago by Jamel.Z.
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How to style the plugin?’ is closed to new replies.