TOPIC:

Custom background-color for certain submitbuttons 2 weeks 1 day ago #243098

  • Topic Author
  • rd
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 2
Hi,
I have read most of the threads on this topic but I can't find the correct element.
I Like to color the background for one element (please see screen shot).
My Question: What is the Element Name to put into the code?
echo '
<style type="text/css">
? {
    background-color: #0E4746 !important;
}
</style>
';

Regards,
Rolf

Attachments:

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

Custom background-color for certain submitbuttons 2 weeks 1 day ago #243099

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 233
  • Karma: 3
  • Thanks: 40
Hi,

For your case please try :
echo '
<style type="text/css">
.bfCustomSubmitButton {
    background-color: #0E4746 !important;
}
</style>
';

Let me know if it helps.

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

Custom background-color for certain submitbuttons 2 weeks 1 day ago #243104

  • Topic Author
  • rd
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 2
Hi,

thanky ou for your quick answer.
your solution changes the color of all custom Submit-Buttons.
I want to change the color of only one.

Please have a look at the code snippet from Chrome Dev Tools. It is the Part in which the button is decribed I like to change color:
<span class="bfElemWrap bfLabelLeft" id="bfElemWrap18642">
<button type="button" class="ff_elem bfCustomSubmitButton" value="2 Personalkosten" onclick="if(typeof bf_htmltextareainit != 'undefined'){ bf_htmltextareainit() }populateSummarizers();if(document.getElementById('bfPaymentMethod')){document.getElementById('bfPaymentMethod').value='';};ff_page2(this,'click');return false;" type="submit" name="ff_nm_bfQuickMode73806[]" id="ff_elem18642"><span>2 Personalkosten</span></button>
How is the code in this special case?

Regards,
Rolf

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

Custom background-color for certain submitbuttons 2 weeks 1 day ago #243106

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 9069
  • Karma: 167
  • Thanks: 737
Hi,

please apply it on the id then:
echo '
<style type="text/css">
#ff_elem18642 {
    background-color: #0E4746 !important;
}
</style>
';

Regards,
Markus

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

Last edit: Post by TheMuffinMan.

Custom background-color for certain submitbuttons 2 weeks 21 hours ago #243133

  • Topic Author
  • rd
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 100
  • Thanks: 2
Thatt's it, Perfect, Thank you

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.079 seconds

July Sale!

Discounts for all of our extensions + support. Ending July 31st!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!