Jump to content

"Drunk" buttons


Recommended Posts

Hi all!
On PrestaShop 1.1 demo like also in my shop there is "drunk" buttons, look on images bellow. How can it be fixed?

Thnx a lot!

Hi,
You can fix at Global.css, find this code:
form.std p.submit {
   padding-left:31%!important;
   margin-bottom: 1.5em;
}


change padding-left:3%!important; (only 3%)

Brgds

Link to comment
Share on other sites

  • 3 weeks later...

Oops, after that 'Send' button in Coontact formhave climbed.
So, we have to change some code:

1) themes\yourtheme\contact-form.tpl



to




2) themes\yourtheme\css\global.css

form.std p.submit {
   padding-left:31%!important;
   margin-bottom: 1.5em;
}


to

form.std p.submit {
   padding-left:3%!important;
   margin-bottom: 1.5em;
}
form.std p.submit1 {
   padding-left:31%!important;
   margin-bottom: 1.5em;
}

4471_ZVFyvziNnGW21HwCjAZn_t

Link to comment
Share on other sites

Oops, after that 'Send' button in Coontact formhave climbed.
So, we have to change some code:

1) themes\yourtheme\contact-form.tpl


to




2) themes\yourtheme\css\global.css

form.std p.submit {
   padding-left:31%!important;
   margin-bottom: 1.5em;
}


to

form.std p.submit {
   padding-left:3%!important;
   margin-bottom: 1.5em;
}
form.std p.submit1 {
   padding-left:31%!important;
   margin-bottom: 1.5em;
}


Oh, sorry.
You must fix at contact-form.tpl at line #61

         <input type="submit" name="submitMessage" id="submitMessage" value="{l s='Send'}" class="button_large" style="margin-left: 160px;"/>


I added margin-left: 160px
Bgrds

Link to comment
Share on other sites

×
×
  • Create New...