• Resolved whiteselt

    (@whiteselt)


    Hello,

    So, I have been trying to customize the appearance of one of my tabs by modifying the css, but because some code in the actual plugin file is set with !important in each attribute, the custom css that I have setup gets overridden. To fix this, I went into the plugin file editor and edited the style.php file to remove some of the lines of css which worked at first, but after some time, it reverts back to the original code. Is there any reason for this? It seems kind of pointless to have an option to add custom css if it just gets overridden by default code…

    Here’s the area of css I’m referring to. This is all being applied to the #tabs_container element.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Praveen

    (@praveenmalav09)

    Hello @whiteselt,

    From the above CSS code which creating issue, you can remove !important from that line of CSS code then update the file.

    Thanks

    Thread Starter whiteselt

    (@whiteselt)

    That’s not the problem. I was able to modify the css or remove the !important from that line, but then after some time, the code reverts to the default values.

    Praveen

    (@praveenmalav09)

    Hi @whiteselt,

    When you create a new post then you will get default settings, after updating the post settings, it will not take default settings…So Check the changes made by you in this plugin.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin code (style.php) keeps reverting back to default style’ is closed to new replies.