How To Edit The Text Color Of The "SUCCESS & ERROR MESSAGE OPTIONS" In Form Builder - Question | JoomShaper

How To Edit The Text Color Of The "SUCCESS & ERROR MESSAGE OPTIONS" In Form Builder

AE

Anders Ekman

SP Page Builder 2 years ago

Hello,

I am trying to change the color of the message that comes up when you have successfully sent a message via the contact form in Joomla.

The message that comes after you have sent a message with the contact form (the green text): [https://ibb.co/cYXVLVW]

With the inspect tool I saw that the text message that came up belonged to the class ".sppb-text-success"

The ".sppb-text-success" class in the inspect tool: [https://ibb.co/BfVVJ0v]

I then wanted to find the css file to change the color of that class, and the class is in the css file located in : "components/com_sppagebuilder/assets/css/sppagebuilder.css". I tried to find that file, but can't find it anywhere. The only thing I see when I try to locate it is this: [https://ibb.co/dfBW9Yf]

There is supposed to be a file called "assets" in the "com_sppagebuilder", but it is not there. How do I find that file and then reach the destination "components/com_sppagebuilder/assets/css/sppagebuilder.css", so that I can change the text color of the message?

0
8 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #27039

Hi

There is no default way but you can do this via override the code

Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #27042

Hi there,

Thanks for contacting us. Mainly there is no way to do this. But, you can do it via override the code. But, this is not a wise way.

Go to the file location

components/com_sppagebuilder/addons/ajax_contact/site.php

find out the text and change the class like sppb-text-warning

sppb-text-success

Note: It will be reset when you will update the page builder.

-Thanks

0
AE
Anders Ekman
Accepted Answer
2 years ago #27125

Hello,

I can't find the file called "components/com_sppagebuilder/addons/ajax_contact/site.php" See image attached below:

Screenshot of files, where there is no "addons" file: ![https://ibb.co/mbNrMFP]

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #27126

Give me your site administrator access & FTP access to check your issue. Thanks

0
AE
Anders Ekman
Accepted Answer
2 years ago #27128

I am not allowed to share the administrator access. Surely there must be a way to find those files without giving administrator access?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #27139

Which template did you use in your site? Thanks

0
AE
Anders Ekman
Accepted Answer
2 years ago #27214

MegaInc

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #27239

Here is the file location and you can follow the previous instruction.

components/com_sppagebuilder/addons/form_builder/site.php

-Thanks

0