Themeforest

Custom skin file gets overwritten every time the plugin updates

Whenever WordPress updates any plugin file ALL files in the plugin directory are first deleted and the updated files reinstalled.

This means that any modifications you may have done to the plugin files or if you have created your own custom skin in the plugin’s skin folder, will all be deleted.

Any changes you make to the plugins CSS should always be made in your theme’s style sheet file.

7 Comments

  • Hi Lee,
    thanks for this awesome plugin.

    I have – as you suggested – put my custom css rules for the jquery accordion widget in my themes css files. That works fine,

    However, one of the css rules calls a specific font via @fontface. This comes with the unwanted effect that the font for a brief moment flashes the body font (which is different) before displaying the font in the specific jquery accordion widget css-rule in my themes css.

    This is the only section on the frontend where the brief font flashing occurs.

    I reckon that’s because the classes called are going the extra route via
    dcwp_jquery_accordion_widget.php (line 247) and
    dcwp_jquery_accordion.php (line 89)
    to check the skins in the plugins skin >> css folder and after this call the themes css.

    Could you point me to how I could change both
    dcwp_jquery_accordion_widget.php (line 247) and
    dcwp_jquery_accordion.php (line 89)
    so the themes css folder is called straight away?

    dcwp_jquery_accordion_widget.php (line 247)

    if($skin != 'No-theme'){
    	echo "\n\t<link rel=\"stylesheet\" href=\"".dc_jqaccordion::get_plugin_directory()."/skin.php?widget_id=".$key."&amp;skin=".strtolower($skin)."\" type=\"text/css\" media=\"screen\"  />";
    }

    dcwp_jquery_accordion.php (line 89)

    if($skin != 'No Theme'){
    	echo "\n\t<link rel=\"stylesheet\" href=\"".dc_jqaccordion::get_plugin_directory()."/skin.php?widget_id=".$id."&amp;skin=".strtolower($skin)."\" type=\"text/css\" media=\"screen\"  />";
    }

    The path of the jquery accordion css widget is:

    wp-content / plugins / jquery-vertical-accordion-menu / skins /

    The path of my themes main css is

    wp-content / themes / mytheme / css / style.css

    Thanks so much and sorry for my long post ;-)

    Jo

    • Hi,

      I would suggest just hardcoding it into your theme’s header file and just deleting where it calls it in the plugin file.

      If you need us to customise the plugin files then contact me via email and we can provide a quotation

      • Thanks Lee

        I called the css via the theme’s header and outcommented some lines in the plugins files and that worked.

  • I would like to skin the widget, but don’t see an option in the Slick configuration. How do I go about doing this.

    Really like the straightforwardness of the widget -simple to configure and simple to use.

  • Hi
    (front page is protected access is name;: miguel pw: MIGUEL miguel

    I have a floating menu for instance on ‘Authors’ page . BEcause i have it set at around 1500 from left when i go to IE and in lower res the menu doesn’t show up to the right…

    Is there a way to set the distance relative to an element of the page (say right-most element- though I don’t know the syntax for that) rather than in absolute terms 15000 px from edge?

    thank you so much! I Love the plugin but am running into this problem….

    • Hi,

      Unfortunately there isnt any way to set it in the current plugin although it is something we can add for the next update

Leave a comment

To add code to your comments wrap the code text in [text][/text] tags