TOPIC:

Gantry 5 theme overiding the form colours 2 months 2 weeks ago #275635

  • Topic Author
  • Stephen Greener
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 42
  • Thanks: 0
I have upgraded a site to use a ganty5 template. The site has 7 forms previously with the qmtheme ; well liked! The Gantry style now overrides the form element text colors with the white text of the style thereby becoming invisible on white/yellow backgrounds.
I have been trying to master how to apply CSS to the forms to get a contrast colors for the input field titles and the user input text. Not having any success.
Now under the hammer to make this work. Please help. I never did any css before.
I have tried to put stuff in the Form Pieces Custom box but nothing I tried works.
Attachments:

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

Last edit: Post by Stephen Greener.

Gantry 5 theme overiding the form colours 2 months 2 weeks ago #275637

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

please send me link of form, and I will provide you with css code, and tell you where you can put it :)

Regards,
Tihana

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

Gantry 5 theme overiding the form colours 2 months 2 weeks ago #275640

  • Topic Author
  • Stephen Greener
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 42
  • Thanks: 0
The Test website is not published. Its on an XAMPP installation on my PC. What else can we do?
The grey background showing on the form is the default template color. The template text default is white which is the problem. The white text is what I need everywhere else.

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

Last edit: Post by Stephen Greener.

Gantry 5 theme overiding the form colours 2 months 2 weeks ago #275641

  • Mirec's Avatar
  • Mirec
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 3110
  • Karma: 2
  • Thanks: 153
Hi,

you can add CSS code into Advanced of FORM -> More options -> Form Pieces select custom and add this code
echo '
<style>

add CSS code
</style>

';

You need to make inspect of the site, find a class, and change it putting the CSS code into code above.

or

find the folder of theme and change CSS code directly in her, see the image below



I hope that you understand!

Reagrds,
Mirko
Attachments:

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

Gantry 5 theme overiding the form colours 2 months 2 weeks ago #275674

  • Topic Author
  • Stephen Greener
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 42
  • Thanks: 0
Hello Mirko,
I was not able to do the job even with your instructions. Instead I have put effort into putting the site up for you to see on a friend's private server.

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

Last edit: Post by Stephen Greener.

Gantry 5 theme overiding the form colours 2 months 2 weeks ago #275675

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

please go to form->Advanced->More options->Form pieces->Before form->check Custom and put:
echo '
<style>
.bfQuickMode .bfLabelLeft label {
color: black !important;
}
</style>
';
With this you will see black text instead of white

If you need more help, let us know

Regards,
Tihana

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

Last edit: Post by tihana.krivic.
Time to create page: 0.082 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

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!