Read before updating: How to Update Kunena Templates - More detail

[resolved] New color css

S Topic Author
Senior Member Senior Member
  • Posts: 52
  • Thanks: 0

[resolved] New color css

10 years 4 months ago - 10 years 4 months ago
#2979
Hello, I modified a color model css and I renamed, loaded into the folder color, but do not see it when I access the admin. I have to add a few lines in another file to display it?
Thank you
Last edit: 10 years 4 months ago by superdiogene.

Please Log in or Create an account to join the conversation.

S Topic Author
Senior Member Senior Member
  • Posts: 52
  • Thanks: 0

Re: New color css

10 years 4 months ago
#2981
Excuse me but I was hasty in posting this request.
However since it was published I tell you how I solved.
After you edit and rename any file in the folder: nts_kmaterial \ css \ colors I opened config.xml this remote in my case / public_html / components / com_kunena / template / nts_kmaterial and I modified the highlighted part in the saved image and sent to the server in the same location.
So I resolved.
I hope it's useful.

Attachments:

Please Log in or Create an account to join the conversation.

Huyen Nguyen's Avatar
Moderator Moderator
  • Posts: 558
  • Thanks: 140

Re: New color css

10 years 4 months ago
#2982
Hi,

There are two ways to add new color. Follow below steps.

1. Add new color and add the configure in the back-end of template.
- Clone a color file in the colors folder. Change name color file and change color code.
- Open the config.xml file and find below xml code.
Code:
<field name="theme_color" type="list" default="default" label="COM_KUNENA_TEMPLATE_PROFILE_COLOR" description="COM_KUNENA_TEMPLATE_COLOR_DESC"> <option value="default">default</option> <option value="blue">Blue</option> <option value="teal">Teal</option> <option value="cyan">Cyan</option> <option value="green">Green</option> <option value="purple">Purple</option> <option value="orange">Orange</option> </field>

- Add new line for your color.
Code:
<option value="color_file_name">[color_name]</option>
- Go to back-end of NTS KMaterial template, choose your color and save your configure.
- Refresh your forum to view change.

2. Create custom file.
- Clone a color file and change name to nts-kmaterial-custom.css.
- Replace all color code in that file to your color code.
- Copy the nts-kmaterial-custom.css file to the css folder of active joomla template.
- Refresh your forum.

You can follow two ways above to custom color of template, so I suggest you do second way.
Huyen Nguyen
Nice Theme Store's Support Department.
Support email: 9themestore[at]gmail.com
** Please post your site url here if it has been lived **

Please Log in or Create an account to join the conversation.

Time to create page: 0.218 seconds