0
Welcome Guest! Login
0 items Join Now

SOLVED Adding more secondary color options

  • SOLVED Adding more secondary color options

    Posted 12 years 2 months ago
    • How does one add more color options for the Gantry "Style" -> "Main Style" -> "secondary colors" drop down?
    • Last Edit: 12 years 1 month ago by EscapeStudios.
  • Re: SOLVED Adding more secondary color options

    Posted 12 years 2 months ago
    • Hi,

      Could you confirm your template name please as I don't see such option in the default Gantry template.

      Thanks,

      Olivier
    • Some useful links :

      Some tips for an efficient process :
      1. When possible, post URL of your website, it's always better to see the problem in REAL
      2. Only one problem per thread please
      3. When problem is solved, just edit your...
  • Re: SOLVED Adding more secondary color options

    Posted 12 years 2 months ago
    • Yes,

      In any template with Joomla 3.0, Modules -> Templates Manager -> Main Styles -> Secondary Accent.

      I am referring to both Cerulean and Metropolis.

      Thanks!
  • Re: SOLVED Adding more secondary color options

    Posted 12 years 2 months ago
    • Hi,

      To add an extra color options to the template configuration :

      Edit the templates/rt_cerulean/template-options.xml. The filed for the option you want to update is defined from Line #51 to #56.

      Copy any option line like
       
      <option value="orangecolor">ORANGE</option>
       
      and paste it to now have something like this :
       
      <option value="redcolor">RED</option>
      <option value="bluecolor">BLUE</option>
      <option value="greencolor">GREEN</option>
      <option value="orangecolor">ORANGE</option>
      <option value="mycolor">My color</option>
       

      change 'mycolor' with the color value you want (only letters, avoid special characters) and My color with the text you want in the template configuration page.

      Save. If you refresh your template configuration page, you should now see the new option in the list. You can select it and save.

      In the 'templates/rt_cerulean/images/accent2' folder, you have 1 folder per accent2 option value.

      So just copy an existing folder and rename the copy with the option value you've set previously ('mycolor' in this example).

      Update the images of your color folder and you should be good.

      Olivier
    • Some useful links :

      Some tips for an efficient process :
      1. When possible, post URL of your website, it's always better to see the problem in REAL
      2. Only one problem per thread please
      3. When problem is solved, just edit your...

Time to create page: 0.059 seconds