Title: Child Theme Modification
Last modified: July 6, 2017

---

# Child Theme Modification

 *  Resolved [Yanur Islam Piash](https://wordpress.org/support/users/yipiash/)
 * (@yipiash)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/child-theme-modification-2/)
 * I want to edit the `style-curvy-red.css` in my child theme. The plugin file is
   located at `mywebsite/wp-content/plugins/ajax-search-lite/css/style-curvy-red.
   css` so I put the edited `style-curvy-red.css` file in the directory `mywebsite/
   wp-content/themess/mychildtheme/ajax-search-lite/css/style-curvy-red.css`.
    It
   did not work. Any better idea?
 * Btw I want to change these codes:
 *     ```
       #ajaxsearchlite1 .probox,
       div[id*="ajaxsearchlite"] .probox {
           margin: 0px;
           padding: 8px;
           height: 28px;
           background-color: rgb(255, 255, 255);
           border: 2px solid rgb(222, 100, 100);
           border-radius: 0px 0px 0px 0px;
           box-shadow: 0px 0px 0px 0px rgb(181, 181, 181) inset;
           border-radius: 30px;
       }
       ```
   
 * to
 *     ```
       #ajaxsearchlite1 .probox,
       div[id*="ajaxsearchlite"] .probox {
           margin: 0px;
           padding: 5px;
           height: 28px;
           background-color: #fcfcfc;
           border: 2px solid #aaa;
           border-radius: 0px 0px 0px 0px;
           box-shadow: 0px 0px 0px 0px rgb(181, 181, 181) inset;
           border-radius: 5px;
       }
       ```
   
 * Thank you..

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

 *  Thread Starter [Yanur Islam Piash](https://wordpress.org/support/users/yipiash/)
 * (@yipiash)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/child-theme-modification-2/#post-9293563)
 * I also tried to copy the code directly to my child theme’s `style.css` file. 
   No luck.
 *  Plugin Author [wpdreams](https://wordpress.org/support/users/wpdreams/)
 * (@wpdreams)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/child-theme-modification-2/#post-9293698)
 * Hi!
 * That will not work unfortunately, plugin styles cannot be automatically loaded,
   just by moving them to the child theme directory, WordPress cannot recognize 
   that. It needs to be registered via the _functions.php_ and the original stylesheet
   de-registered as well.
 * It’s much better and easier to simply use the changes as custom CSS rule, your
   theme most likely has a custom CSS box, where you can place them.
 * Basically, by making your rule a bit higher specificity, will make sure that 
   the original gets overridden. Try pasting this changed rule to the theme custom
   CSS box, and the change should appear:
 *     ```
       div#ajaxsearchlite1 div.probox,
       div[id*="ajaxsearchlite"] div.probox {
           margin: 0px;
           padding: 5px;
           height: 28px;
           background-color: #fcfcfc;
           border: 2px solid #aaa;
           border-radius: 0px 0px 0px 0px;
           box-shadow: 0px 0px 0px 0px rgb(181, 181, 181) inset;
           border-radius: 5px;
       }
       ```
   
 *  Thread Starter [Yanur Islam Piash](https://wordpress.org/support/users/yipiash/)
 * (@yipiash)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/child-theme-modification-2/#post-9301052)
 * Hi [@wpdreams](https://wordpress.org/support/users/wpdreams/),
 * Works nice. Thank you 😀

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

The topic ‘Child Theme Modification’ is closed to new replies.

 * ![](https://ps.w.org/ajax-search-lite/assets/icon-256x256.png?rev=3192672)
 * [Ajax Search Lite - Live Search & Filter](https://wordpress.org/plugins/ajax-search-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-search-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-search-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-search-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-search-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-search-lite/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [search box](https://wordpress.org/support/topic-tag/search-box/)

 * 3 replies
 * 2 participants
 * Last reply from: [Yanur Islam Piash](https://wordpress.org/support/users/yipiash/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/child-theme-modification-2/#post-9301052)
 * Status: resolved