josepmre Posted June 18, 2013 Share Posted June 18, 2013 (edited) Hi, I installed the module product query pro and I'd put the button and put it under the cart, You will see that the button is not displayed correctly. What file I need to edit? What I have to change in this file? Can anyone help? Thank you very much for your help. Prestashop version: 1.4.2.5 shop.joieriarovira.com Edited June 19, 2013 by josepmre (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 18, 2013 Share Posted June 18, 2013 its because there is not place for this button, you should edit css files probably (font-size). Turn on right click button, it's hard to check sources when it is blocked. Link to comment Share on other sites More sharing options...
josepmre Posted June 18, 2013 Author Share Posted June 18, 2013 Right click button is on. Thanks for your help. Link to comment Share on other sites More sharing options...
vekia Posted June 18, 2013 Share Posted June 18, 2013 many thanks, i checked it. this is what you expect: ? Link to comment Share on other sites More sharing options...
josepmre Posted June 18, 2013 Author Share Posted June 18, 2013 (edited) yes, this is what I need. Edited June 18, 2013 by josepmre (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 18, 2013 Share Posted June 18, 2013 in the module tpl file (probably) you've got code with css styles for button #pqp-trigger-wrapper { } add there clear:both; padding-top: 15px; the code should looks like: #pqp-trigger-wrapper { width: 159px; height: 44px; line-height: 44px; clear: both; padding-top: 15px; } Link to comment Share on other sites More sharing options...
josepmre Posted June 18, 2013 Author Share Posted June 18, 2013 I can not find where to change these settings. I am a novice user. Link to comment Share on other sites More sharing options...
josepmre Posted June 18, 2013 Author Share Posted June 18, 2013 change the file product.tpl without result. Original:{else} {literal} #pqp-trigger-wrapper{width:159px;height:44px;line-height:44px;}/*box height*/ #pqp-overlay-trigger:hover{background-position:0 -44px;} #pqp-overlay-trigger:focus{background-position:0 -88px;} {/literal} modified:{else} {literal} #pqp-trigger-wrapper{width:159px;height:44px;line-height:44px;clear:both;padding-top:30px;}/*box height*/ #pqp-overlay-trigger:hover{background-position:0 -44px;} #pqp-overlay-trigger:focus{background-position:0 -88px;} {/literal} Link to comment Share on other sites More sharing options...
vekia Posted June 19, 2013 Share Posted June 19, 2013 checked your website, still old code appear in the source. try to recompile the theme: preferences > performance turn force compile on turn cache off refresh your product page Link to comment Share on other sites More sharing options...
josepmre Posted June 19, 2013 Author Share Posted June 19, 2013 Thank you! This was the problem. I would like to stay left-aligned with the add button. Is it possible? Link to comment Share on other sites More sharing options...
vekia Posted June 19, 2013 Share Posted June 19, 2013 yes it is possible to the same style add new value: float: left; #pqp-trigger-wrapper { width: 159px; height: 44px; line-height: 44px; clear: both; padding-top: 15px; float:left; } Link to comment Share on other sites More sharing options...
josepmre Posted June 19, 2013 Author Share Posted June 19, 2013 Yes, now is perfect! You're a master! thanks, Josep Ma Link to comment Share on other sites More sharing options...
vekia Posted June 19, 2013 Share Posted June 19, 2013 you're welcome if you've got any other questions related to this case - feel free to continue discussion here regards 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