Questions about Payment Form extension

Background color of form

  • Alison
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
10 months 2 weeks ago #158687 by Alison
Background color of form was created by Alison
Hi guys

Is it possible to apply a specific color to the background of a specific form?

We have a form that would be printed on green paper and would like to replicate this digitally if possible.

Many thanks
Alison 

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Online
  • Administrator
  • Administrator
More
10 months 2 weeks ago #158688 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Background color of form
Did you try to handle it using css? It should be possible

Tuan

Please Log in or Create an account to join the conversation.

  • Alison
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
10 months 2 weeks ago #158689 by Alison
Replied by Alison on topic Background color of form
HI
No I didn't not yet.
Do I put it into Custom Javascript Code ?

I am not very good at coding, what code would I put?

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Online
  • Administrator
  • Administrator
More
10 months 2 weeks ago #158691 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Background color of form
No, it should be some kind of css added to Payment Form -> Configuration, Custom CSS tab. Without knowing link to the form, we could not suggest the css code.

Please Log in or Create an account to join the conversation.

  • Alison
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
10 months 2 weeks ago #158692 by Alison

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Online
  • Administrator
  • Administrator
More
10 months 2 weeks ago #158695 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Background color of form
Go to Payment Form -> Configuration, look at Custom CSS tab, put this kind of css code there:

.itemid-4306 #pmform-form
{
background-color: red;
}

You will see the color change. Of course, you will need to replace red with the color code you want

Tuan

Please Log in or Create an account to join the conversation.

  • Alison
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
10 months 2 weeks ago #158697 by Alison
Replied by Alison on topic Background color of form
Thank you Tuan, I appreciate your help.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Online
  • Administrator
  • Administrator
More
10 months 2 weeks ago #158698 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Background color of form
You're welcome !

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc