How to edit the text color of the "SUCCESS & ERROR MESSAGE OPTIONS" in Form Builder - Forum | JoomShaper
Staff replied SP Page Builder

How to edit the text color of the "SUCCESS & ERROR MESSAGE OPTIONS" in Form Builder

Asked by Anders Ekman 5 years ago Last activity 5 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?

8 replies

Mehtaz Afsana Borsha Staff
5 years ago · edited

Hi

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

Thanks

Toufiq Senior Staff

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

Anders Ekman Asked this

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]

Toufiq Senior Staff

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

Anders Ekman Asked this

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

Toufiq Senior Staff

Which template did you use in your site? Thanks

Anders Ekman Asked this

MegaInc

Toufiq Senior Staff

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

components/com_sppagebuilder/addons/form_builder/site.php

-Thanks

Log in to reply.