Jump to content

How to override the jquery.autocomplete.css file inside /js/jquery/plugins/autocomplete/ in my theme


Recommended Posts

Hi,

 

I want to override the jquery.autocomplete.css file inside /js/jquery/plugins/autocomplete/

 

I tried creating the same path (/js/jquery/plugins/autocomplete/) folder in my theme folder and including the modified jquery.automplete.css file there. But it's not working. I also tried to create other path folders in the css folder inside my theme folder but it doesn't work.

 

Is there any path folder I can create to override it? Or I just can do it modifiying the original file?

 

Thanks.

Edited by ivangoti (see edit history)
Link to comment
Share on other sites

  • 5 months later...
  • 3 months later...

Hi, I got a similar problem. I edited the file directly what is possible until you're updating PS.

 

You can comment the code out with /* */ and still leave the file there.

 

I recognized that some inline-styles were generated in the jquery.autocomplete.js or other files - maybe they'll override some of the styles you'll like to define.

 

Width of the container e.g. is defined in the blocksearch module as .js option inside the blocksearch-instantsearch.tpl file.

Edited by janthemanson (see edit history)
Link to comment
Share on other sites

  • 7 months later...

I had same questions and decided to override it in the global.css file,

adding some !important. It's working

.ac_odd{background-color: #0D4064!important}
.ac_even{background-color: #02233A!important}
.ac_over {background-color: #e1ddb8!important; color: black!important;}
Link to comment
Share on other sites

×
×
  • Create New...