Jump to content

[SOLVED]Paypal Module, adjust the INFO for customer


Recommended Posts

Maybe there's a (modified) copy of the file in themes/<your theme folder>/modules/paypal (or in any subdirectory of it)?

 

 

If nothing helps, you could try to add some css in :

    /themes/<your theme folder>/css/global.css

and see if it allows to get priority over the inline css style:

 

Add the following line at the end of the file:

 

#paypal_process_payment {

  padding-left: 30px!important;

}

 

(The "!important" may cause it to change...)

 

Maybe that will do the trick. Give it a try.

 

pascal.

Link to comment
Share on other sites

Maybe there's a (modified) copy of the file in themes/<your theme folder>/modules/paypal (or in any subdirectory of it)?

 

 

If nothing helps, you could try to add some css in :

    /themes/<your theme folder>/css/global.css

and see if it allows to get priority over the inline css style:

 

Add the following line at the end of the file:

 

#paypal_process_payment {

  padding-left: 30px!important;

}

 

(The "!important" may cause it to change...)

 

Maybe that will do the trick. Give it a try.

 

pascal.

Hi Pascla, i hope everything is good with u.

i found some subdirectories but just translation, as you can see on the three images below

https://drive.google.com/file/d/0B4K1usLq2uVUdG05cjFsQklMQ0U/view?usp=sharing

https://drive.google.com/file/d/0B4K1usLq2uVUUEtLTklzM2t5aWc/view?usp=sharing

https://drive.google.com/file/d/0B4K1usLq2uVUblhXdXdXNUx4VE0/view?usp=sharing

 

Then what do you mean with " (The "!important" may cause it to change...) " eheheh i'm a super noob, so i didn't understand if i've or no to write all your

 

#paypal_process_payment {

  padding-left: 30px!important;

}

 

I did right now, all the sentence, forced template... till now it remain the same... maybe i've to wait, sometimes i've to wait few min, for global.css

Link to comment
Share on other sites

affari,

 

do you have a set of your source files locally on your computer?  (if not, maybe download a copy, useful anyway, if only for backup :-)  )

If so, try to search for 

paypal_process_payment

 

in all the source files. Maybe there's another file where this is defined.

 

Do you have an URL to your site? What PrestaShop version do you use?

 

 

P.S. The "!important" at the end of the code line makes the line, well, important. That means that when someone else tries to change this "padding-left" command, this line is 'stubborn' and doesn't let it change that easy. They also have to use !important to do so or some other trick to overrule this 'important' line. (Tried to explain, but furthermore 'not important' ;-)    )

Link to comment
Share on other sites

affari,

 

do you have a set of your source files locally on your computer?  (if not, maybe download a copy, useful anyway, if only for backup :-)  )

If so, try to search for 

paypal_process_payment

 

in all the source files. Maybe there's another file where this is defined.

 

Do you have an URL to your site? What PrestaShop version do you use?

 

 

P.S. The "!important" at the end of the code line makes the line, well, important. That means that when someone else tries to change this "padding-left" command, this line is 'stubborn' and doesn't let it change that easy. They also have to use !important to do so or some other trick to overrule this 'important' line. (Tried to explain, but furthermore 'not important' ;-)    )

ehhehe, everything is important ;)

 

Anyways here is the website  www.affaridanoi.com

Link to comment
Share on other sites

affari,

 

do you have a set of your source files locally on your computer?  (if not, maybe download a copy, useful anyway, if only for backup :-)  )

If so, try to search for 

paypal_process_payment

 

in all the source files. Maybe there's another file where this is defined.

 

Do you have an URL to your site? What PrestaShop version do you use?

 

 

P.S. The "!important" at the end of the code line makes the line, well, important. That means that when someone else tries to change this "padding-left" command, this line is 'stubborn' and doesn't let it change that easy. They also have to use !important to do so or some other trick to overrule this 'important' line. (Tried to explain, but furthermore 'not important' ;-)    )

Pascal DONE eheheh

like this

 

Found this line:

#HOOK_PAYMENT p.payment_module.paypal a { padding-left: 15%; }

 

Replaced with:

#HOOK_PAYMENT p.payment_module.paypal a { padding-left: 15%!important; }

 

Now it's ok great ;)

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...