I am not sure how I am supposed to create pages when the editor removes the style elements. I read one post which said to add *[*] to Extra Allowed Content. That does not work for me (DNN 9.8.1).
But the larger question is, where do i create/install css pages? Inline styling is frowned upon. So where/how do i create css? I guess i could use css which came with my theme but then those classes would be stripped from the page as well.
at this point i can only but create the barest and most primitive pges and i am the world's worst page designer. i won't bother to post the html as i believe it would be stripped from my comment.
Hi Tony, I believe your own CSS classes or other styling can be added to the Custom CSS section in the settings area. This should allow you to perform systemwide styling and thus also reuse it in several pages.
According to other posts you do need to add the *(*)*{*} in order to save html with classes in your pages. # DnnBro
Posted By Joe Craig on 16 Apr 2022 04:24 PM I just checked a site that doesn't remove html tags, Under Site Settings, Site Behavior, More, Open HTML Editor Manager I went to the Editor Config tab. There the first box, labelled, AllowedContent, contains "true" You might want to try that.
some progress was made. i was able to add a styling element to a
Posted By DnnBro on 17 Apr 2022 12:55 AM Always glad to help :-) When you have time please post your final solution so other forum members can learn from your experience, should they end up in the same situation. #DnnBro
To be more explicit:
1. Add value *(*)*{*} to Extra Allowed Content in Configure Editor
2. Add value true to Allowed Content in Configure Editor
Navigation: "Under Site Settings, Site Behavior, More, Open HTML Editor Manager I went to the Editor Config tab. There the first box, labelled, AllowedContent, contains "true""
If your html module does not behave correctly, you may need to configure it using the link below the module editor.
@Tony
DNNBro is correct, if you have superuser rights, you can add your own css. It is on portal level, so if there are multiple portals in the instance, make sure, you have the correct one.
If you are not a host user, you can ask the host to add an @import css rule at that spot and work in your own css file using the file manager or FTP.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.