• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Change color on "send" button?

Change color on "send" button? 13 years 2 months ago #16399

  • david10
  • david10's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 2
In RS Form Pro, there are only a few colors to select from the Form Theme. I need to change the Send button to a custom color. How is the best way to do this? Can I added a custom color option in Form Theme? Is there a way to do an elegant override? Thank you!
The administrator has disabled public write access.

Re: Change color on "send" button? 13 years 2 months ago #16400

Hi,
Here's what I use to change the color of the "submit" button.
Place this code in the Additional Attributes section of the component

style="background-color:#99CCFF;"
Change the color command to be the value to display the color of your choice. Use the preview function to see if the color is what you want.

Hope this helps.
The administrator has disabled public write access.

Re: Change color on "send" button? 13 years 1 week ago #17089

  • alan.t.darr
  • alan.t.darr's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 1
Hello,

I tried what NEMGTR_webmanager suggested and it actually changed the background color of the whole form. What if you want to apply a css class to the submit and reset buttons?
The administrator has disabled public write access.
The following user(s) said Thank You: capoo7

Re: Change color on "send" button? 13 years 1 week ago #17104

Hi,
I had a nagging feeling that I had seen another question like this so I did some more searching and found an answer in an old post. It's similar to what I had given before but not using the hex colors.

style="color:white;background:blue;font-weight:bold;"
Make sure this is entered in the Additional Attributes of the Submit button component

Maybe you could try this code as is and see if you get a blue background with white, bold type. If you do, then you can adjust it to the color/type you want.

Kathy
The administrator has disabled public write access.
The following user(s) said Thank You: hanslanda

Re: Change color on "send" button? 13 years 1 week ago #17106

  • alan.t.darr
  • alan.t.darr's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 1
Yes, that does work but I am trying to add a css class to the submit/reset buttons, not change the background or color of the form. I have tried to add some code into the Additional Attribute area, but I have not quite stumbled on the right combination. I am using RSForm! Pro in conjunction with a YooTheme template and will post the question there as well.

Thanks!
Last Edit: 13 years 1 week ago by alan.t.darr. Reason: Update
The administrator has disabled public write access.

Re: Change color on "send" button? 13 years 1 week ago #17107

Sorry it didn't get you exactly what you wanted. But I'm not a programmer so I pick up things as I read the forums and then tinker with it until I get to what (or somewhat) I want.

Please share with the forum when you get this working. I'm sure that it will be well received.
K
The administrator has disabled public write access.

Re: Change color on "send" button? 13 years 1 week ago #17110

  • matt
  • matt's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 136
  • Thank you received: 14
Hi!

Add this code to the Properties/CSS area for your form. Remember to add <style> before and </style> after the code. Just change the colors to your preferred.
.rsform-submit-button, .rsform-button {
background: #FF9933;
border: solid 1px #FF0033;
border-style: solid;
color: #585858;
cursor: pointer;
}

Matt
Last Edit: 13 years 1 week ago by matt.
The administrator has disabled public write access.

Re: Change color on "send" button? 12 years 9 months ago #17957

Can anyone tell me how to automatically redirect to article page after hitting submit button...........?
Please help

Thanx in advance...... :(
The administrator has disabled public write access.

Re: Change color on "send" button? 10 years 5 months ago #29428

  • hiellke2
  • hiellke2's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
I also have problems with this

well if you go to the button in components then attibutes
You can add this
style="color:white;background:blue;font-weight:bold;"

But...how to add custom color codes?

Thanks in advance.
Last Edit: 10 years 5 months ago by hiellke2.
The administrator has disabled public write access.

Re: Change color on "send" button? 10 years 5 months ago #29432

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
Color codes can be added like this:
style="color:white;background:#5338b4;font-weight:bold;"
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.
The following user(s) said Thank You: info5870

Re: Change color on "send" button? 10 years 3 months ago #30052

  • info6356
  • info6356's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
That line of code works great thanks,.

But it changes the background color of both Send & Reset buttons.
Is there any way to set different colors for each button e,g Send= Blue & Reset= Green?

Thx
The administrator has disabled public write access.

Re: Change color on "send" button? 10 years 3 months ago #30070

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
Head over to your Form Properties > CSS and Javascript section and use the following classes for the buttons

<style>
.rsform-reset-button { style goes here }
.rsform-submit-button { style goes here }
</style>
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.
The following user(s) said Thank You: info6356

Re: Change color on "send" button? 10 years 2 months ago #30403

  • info6356
  • info6356's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
Thank you so much!!!
The administrator has disabled public write access.

Re: Change color on "send" button? 9 years 8 months ago #31931

  • ejdarling
  • ejdarling's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 1
But, this doesn't seem to work if I choose the HTML 5 Responsive layout in the form layout settings. Is there a different method for that?
The administrator has disabled public write access.

Re: Change color on "send" button? 8 years 5 months ago #36082

  • thelake
  • thelake's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Not working on responsive layout!

Any help??
The administrator has disabled public write access.

Change color on "send" button? 7 years 7 months ago #37393

  • loosen
  • loosen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi i want to change the colors of the name of the fields like "name" of surname or e-mail... i have now a kind ofdark background and my names of my fields are dark grey , so not really matching colors
The administrator has disabled public write access.

Change color on "send" button? 4 years 5 months ago #40731

  • tom792
  • tom792's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I've managed to update the colour on the send button, how can I do the same for the "Next >" and "< Prev" buttons?
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!