Jump to content

Change button position. Help (SOLVED)


Recommended Posts

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

post-394028-0-29298900-1371563727_thumb.jpg

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

in the module tpl file (probably) you've got code with css styles for button #pqp-trigger-wrapper { }

 

add there

  1. clear:both;
  2. 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...