• Resolved Gal Baras

    (@galbaras)


    I’ve tried to change the font size in Custom Style Options and in Custom CSS, but neither method seems to be working.

    Is this only a Premium option?

    If not, do I need to do anything else for my style customisations to take effect?

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

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter Gal Baras

    (@galbaras)

    With a solid class and/or ID hierarchy, it should be possible to override styles without using !important.

    For example, to override a style for .wp-chatbot-chat-container ul.wp-chatbot-messages-container li, you could use .entry-content .wp-chatbot-chat-container ul.wp-chatbot-messages-container li or .wp-chatbot-chat-container ul.wp-chatbot-messages-container li.wp-chatbot-search-item. Adding these qualifiers before, after or somewhere in the middle makes the selector more specific, and therefore overriding.

    I suggest you look through the superset of elements used for the chatbot and use classes that allow each element to be isolated for styling. Also, rather than using the prefix wp-chatbot, which is a bit long, and hyphenated, consider using wpbot, which also matches the plugin name.

    And when you style things yourself, use the most general selectors possible, e.g. all paragraphs or all list items in the chatbot, as this will allow developers to override using slightly more specific selector.

    Thread Starter Gal Baras

    (@galbaras)

    After the last update, settings are saved OK, although this takes a while, and the font size from the settings takes effect, so I no longer need custom CSS.

    I think this topic can be closed. Thank you for the support.

Viewing 2 replies - 16 through 17 (of 17 total)

You must be logged in to reply to this topic.