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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Configuring CSS styles for use by editorsConfiguring CSS styles for use by editors
Previous
 
Next
New Post
11/4/2011 5:39 AM
 
Hi all,

I'm wondering if someone can point me in the right direction for what I'm trying to achieve.

I'd like to create some CSS styles for editors to use via the pull down styles menu in RADEditor for content such as boxouts (similar to the warning and information notices inherent in DNN v6). I've tried creating the styles in my portal.css and copying these to editor.css but it doesn't work as expected.

For instance I have this in my portal.css:

span.warning {
padding:10px 10px 10px 40px;
background-image:url('images/warning-icn.png');
background-repeat:no-repeat;
background-position:10px 10px;
background-color:#feffce;
border:2px solid #cdb21f;
line-height:1.2;
}

And now I'd like to get that selectable in my editor, rather than have editors try to construct this type of element on their own.

 
New Post
11/4/2011 10:06 AM
 
Hrm, it seems I was close anyway but maybe the results weren't showing up immediately due to caching?

Anyway, I've put this into my portal.css and editor.css and can select it from the editor menu, and see the resulting formatting in the editor, as well as on the page.

p.warning {
padding:10px 10px 10px 40px;
background-image:url('images/warning-icn.png');
background-repeat:no-repeat;
background-position:10px 10px;
background-color:#feffce;
border:2px solid #cdb21f;
line-height:1.2;
}


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Configuring CSS styles for use by editorsConfiguring CSS styles for use by editors


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