nanowax Posted April 3, 2015 Share Posted April 3, 2015 (edited) hello, I have problem with a width of quick search (I mean offered results, when you type to seach box), I have set to CSS class .ac_results width 261px, but in code in div is set style="width: 66px", with override my width in CSS file. (screenshot with source in attachment for better understanding) I edit default theme in 1.6.0.8 version of Prestashop (clean instalation without editation, only with loaded database), in theme files I didn't find any code, with can cause this (but maybe I look badly), where can I find code, with is causing this in-line CSS ? Search box is written, that in default it has width 66px, on focus 261 px and I need results with 261px width. thank you Screenshot http://oi58.tinypic.com/ehkw37.jpg Edited April 3, 2015 by nanowax (see edit history) Link to comment Share on other sites More sharing options...
dioniz Posted April 3, 2015 Share Posted April 3, 2015 Try to add this to css file: .ac_results{width:261px !important; } Link to comment Share on other sites More sharing options...
fred-vinapresta Posted April 4, 2015 Share Posted April 4, 2015 Hi, open the .tpl file of your searchbox, the style tag may be inside Link to comment Share on other sites More sharing options...
nanowax Posted April 7, 2015 Author Share Posted April 7, 2015 dioniz: unfortunately !important doesn't work, still overwrited by inline css fred-vinapresta: This <div> is generated by javascript or something like that, in tpl files I didn't found anything with similar code (in modules and in theme > modules) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now