WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Rounded corners

[Resolved] Rounded corners

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author jp2112
    Member

    @jp2112

    Are you doing this in the plugin CSS file, or your own?

    If your own, then you need to add “!important” right before the semicolon on each line.

    Also please check if you are caching the CSS file.

    Hi, did it in the plugin CSS directly but realized that I had to change at one more place.

    Plugin Author jp2112
    Member

    @jp2112

    I strongly discourage that, because your changes will be overwritten when I issue another plugin update.

    You should put the CSS into your local CSS file and add !important before each semicolon. That will override the plugin CSS. That way, you won’t lose your CSS when updating the plugin.

    Hi, Do you mean in my theme style.css or should I use your “Or enter your own color box/button CSS class name.” ?

    Plugin Author jp2112
    Member

    @jp2112

    Those are two different things.

    Yes I am referring to your theme’s style.css. Put the CSS there so you won’t have to save it and reapply it every time the plugin updates. As I wrote earlier, you need to use the “!important” modifier in order to override the CSS from the plugin.

    The “Enter your own class name” feature is if you wanted to create a new CSS class. You would define the name, then define the CSS in your style.css file. You would not need to use the “!important” modifier because you aren’t modifying an existing class, you are creating a new one.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Rounded corners’ is closed to new replies.