Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Added Custom folder and readme.md fixes #598 #604

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dnn.CommunityForums/themes/community-default/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/node_modules
/custom/theme.css
/custom/Theme.css
21 changes: 21 additions & 0 deletions Dnn.CommunityForums/themes/community-default/custom/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# A way to overule Forum Theme Styles

**New DNN Community Forums Module v 08.00.00**

To overrule a Forum Themes Styling, you can create a folder named "custom" and place a file "theme.css" in it.
The Forums module will load this custom/theme.css Styleheet if it exists.
This is a way to overrule some default Styling of a Forum Theme.

###### Warning on the Forum Module Default Themes

> When you upgrade the Module:
> - The "custom/theme.css" file will not be overwritten.
> - All other files of the default Forum Themes will be overwritten though.

So when you need to edit more than just "custom/theme.css";
- Make a copy of the Theme folder first and make your changes in there.

**This will avoid your changes getting overwritten on a Module upgrade.**

See also: https://github.com/DNNCommunity/Dnn.CommunityForums/wiki/Creating-Themes