- Posts: 6743
- Thank you received: 716
Color definitions
-
milos
Support Staff - Moderator
Less
More
1 year 9 months ago #50213
by milos
Replied by milos on topic Color definitions
Hello,
I can't see the colors changed in the source code of your site.
Please provide superuser access to your site.
You can post this on the forum privately if you select a part of the text and click the "lock" (confidential) icon.
Regards,
Milos
I can't see the colors changed in the source code of your site.
Please provide superuser access to your site.
You can post this on the forum privately if you select a part of the text and click the "lock" (confidential) icon.
Regards,
Milos
Please Log in to join the conversation.
-
martin.gleiss
Inactive member - Topic Author
- New Member
Less
More
- Posts: 15
- Thank you received: 0
1 year 9 months ago #50214
by martin.gleiss
Replied by martin.gleiss on topic Color definitions
I know, that's why I thought it was a bug.
I hope that confidential tag works, otherwise it's probably not a good idea to go on with this installation.
This message contains confidential information
I hope that confidential tag works, otherwise it's probably not a good idea to go on with this installation.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6743
- Thank you received: 716
1 year 9 months ago #50215
by milos
Replied by milos on topic Color definitions
Hello,
Under template colors, values under "Palette 1" should be updated as well. I changed it now and your menu is green.
Regards,
Milos
Under template colors, values under "Palette 1" should be updated as well. I changed it now and your menu is green.
Regards,
Milos
Please Log in to join the conversation.
-
martin.gleiss
Inactive member - Topic Author
- New Member
Less
More
- Posts: 15
- Thank you received: 0
1 year 9 months ago #50216
by martin.gleiss
Replied by martin.gleiss on topic Color definitions
Ok, great. Thank you!
I don't get the purpose of the palettes although I went through your documentation. When I want to change a color, what do I do? Enter the codes in the Template Color 1 ... 5 fields, or in the palettes, or both? Does one entry change the other one? What's the philosophy behind it, please?
Thanks!
I don't get the purpose of the palettes although I went through your documentation. When I want to change a color, what do I do? Enter the codes in the Template Color 1 ... 5 fields, or in the palettes, or both? Does one entry change the other one? What's the philosophy behind it, please?
Thanks!
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6743
- Thank you received: 716
1 year 9 months ago #50217
by milos
Replied by milos on topic Color definitions
Hello,
So, first, you have Template Color 1-6 (six fields). The purpose of these is to set several colors that the website would use. Then, throughout the template settings, you can pick these colors easily in the picker. Next, when the color is changed in the Template Color 1-6 field, it would be changed in all template options that contain this color.
Second, the color palettes. If you want to test one website with several different color combinations (palettes), you enter the palettes in the Palette 1-6 fields (each must contain 6 comma-separated colors). Now, you can switch the palettes in the Select Color Palette or you can test it directly in the front end. To do this, put "?style=2" (without quotes) after the website link to enable Palette 2.
We understand these features can be complex and unnecessary for people who just want to develop a website and change a few colors. But they are helpful for those who are developing new websites from scratch using our Sparky Framework (template framework on which every template is based) and want to test them with different color variants.
If you don't want to use the palettes, delete Palette 1-6 fields. If they can't be deleted, this means they are defined in XML file. So, you can edit this file /templates/destinations/templateDetails.xml and change this line:
to this:
and then delete the palette from the template options.
Last but not least, for each color in the template parameters, you can enter any color which is not part of the palette or not set as a Template Color. So, simply imagine that Template Color 1-6 and Palette 1-6 don't exist. Just make sure that Palette 1-6 fields are empty.
Regards,
Milos
So, first, you have Template Color 1-6 (six fields). The purpose of these is to set several colors that the website would use. Then, throughout the template settings, you can pick these colors easily in the picker. Next, when the color is changed in the Template Color 1-6 field, it would be changed in all template options that contain this color.
Second, the color palettes. If you want to test one website with several different color combinations (palettes), you enter the palettes in the Palette 1-6 fields (each must contain 6 comma-separated colors). Now, you can switch the palettes in the Select Color Palette or you can test it directly in the front end. To do this, put "?style=2" (without quotes) after the website link to enable Palette 2.
We understand these features can be complex and unnecessary for people who just want to develop a website and change a few colors. But they are helpful for those who are developing new websites from scratch using our Sparky Framework (template framework on which every template is based) and want to test them with different color variants.
If you don't want to use the palettes, delete Palette 1-6 fields. If they can't be deleted, this means they are defined in XML file. So, you can edit this file /templates/destinations/templateDetails.xml and change this line:
Code:
<field name="palette1" type="text" label="TPL_SPARKY_FRAMEWORK_SELECT_STYLE1" description="" default="#fec007,#fe6f00,#f1a826,#ffffff,#ffffff,#ffffff"/>
to this:
Code:
<field name="palette1" type="text" label="TPL_SPARKY_FRAMEWORK_SELECT_STYLE1" description="" default=""/>
and then delete the palette from the template options.
Last but not least, for each color in the template parameters, you can enter any color which is not part of the palette or not set as a Template Color. So, simply imagine that Template Color 1-6 and Palette 1-6 don't exist. Just make sure that Palette 1-6 fields are empty.
Regards,
Milos
Please Log in to join the conversation.
-
martin.gleiss
Inactive member - Topic Author
- New Member
Less
More
- Posts: 15
- Thank you received: 0
1 year 9 months ago #50220
by martin.gleiss
Replied by martin.gleiss on topic Color definitions
Ok, thanks so far!
Have a nice day!
Have a nice day!
Please Log in to join the conversation.
Time to create page: 0.085 seconds