Jump to content
DevFuse Forums
Sign in to follow this  
Bendensin

Forms: How Can I Change the Form Rules to a White Background with Black Text?

Recommended Posts

I need to add information about the service the customer will be buying on the form above the form fields. I also need to add a photo there.

The only way I can see to do this is by entering the information in the "Form Rules" section.

I'd like this section to look like the rest of my site, with a white background and black text. But apparently I can only select various colors for the background, with white text.

Is there a way to change this to a white background and black text?

If I have to use the custom.css style sheet in the templates section of Admin, what are the IDs or classes of the things I need to change? I tried using Firefox's Inspector but I can't figure it out.

Share this post


Link to post
Share on other sites

I'm using the ipsMessage style and there inbuilt css classes, so no real way to change it that way. You'll need to modify the template bit directly. See acp > theme editor > forms > front > logs > create.

Perhaps add a custom style to this bit of code.

<div class='ipsMessage ipsMessage_{{if isset( $container->_options->rules_color )}}{expression="$container->_options->rules_color"}{{else}}info{{endif}}'>

 

Share this post


Link to post
Share on other sites

I think this must be a bug though... under the different color blocks, it's says it changes the background to that color. And it works for all of them except the white option.

When I click the white option, it makes the background black, not white.

I successfully fixed this before using custom.css... I'll try that again now that I know the class involved. Perhaps that will over-ride it.

I'll also see if I can make the change as you suggest.

With respect, I'd like to suggest in future updates an option to make the form with a white background and black text just as it is on pages everywhere else.

Thanks again, Michael!

Edited by Bendensin

Share this post


Link to post
Share on other sites
On 11/13/2020 at 1:37 AM, Bendensin said:

With respect, I'd like to suggest in future updates an option to make the form with a white background and black text just as it is on pages everywhere else.

If you can note this as a bug, I'll update it next release.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...