Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListHow to change left border color for required fieldsHow to change left border color for required fields
Previous
 
Next
New Post
9/29/2014 11:21 PM
 

I give up. Been fighting form and list trying to change the left border red color for the required fields. Nothing I do in firebug works. I've done this and a few other variations.

 input.#dnn_ctr448_Default_Form_Name > .dnnFormRequired{border-left-width: 5px; border-left-style: solid; border-left-color: #7cba3d; !important;}

and

.dnnFormRequired{border-left-width: 5px; border-left-style: solid; border-left-color: #7cba3d; !important;}

If someone can help I would appreciate it. Have the site on localhost so am not able to provide a URL.

 
New Post
9/30/2014 3:07 AM
 

Hi Todd,

Try to place your css into a containers css that you use for the form elements.

What I use is the following:

.dnnForm input.dnnFormRequired {

border-left: solid 5px blue!important;

}

Hope this helps,

Regards,

Geoff


      
 
New Post
9/30/2014 3:18 AM
 
Todd S wrote:

I give up. Been fighting form and list trying to change the left border red color for the required fields. Nothing I do in firebug works. I've done this and a few other variations.

 input.#dnn_ctr448_Default_Form_Name > .dnnFormRequired{border-left-width: 5px; border-left-style: solid; border-left-color: #7cba3d; !important;}

and

.dnnFormRequired{border-left-width: 5px; border-left-style: solid; border-left-color: #7cba3d; !important;}

If someone can help I would appreciate it. Have the site on localhost so am not able to provide a URL.

 I added this to Portal.css (Admin > Site Settings > Style Sheet)

 .dnnForm input.dnnFormRequired {
    border-left: 5px solid #7cba3d !important;
}

And it works.
You have a ; between the color and the !important and that does not work

 
New Post
9/30/2014 3:43 AM
 

Hi Timo,

was a typo when answering, sorry :-)

Regards,

Geoff


      
 
New Post
9/30/2014 3:52 AM
 
Geoff Barlow wrote:

Hi Timo,

was a typo when answering, sorry :-)

Regards,

Geoff

  Geoff, I meant Todd has the typo, I did not notice yours...
Sorry for posting exactly the same as you... :-)

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListHow to change left border color for required fieldsHow to change left border color for required fields


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out