Okay
  Public Ticket #2973552
Extra Color Gradients 3, 4 & 5 possible?
Closed

Comments

  • ktraces started the conversation

    Is it possible to add more color gradients in the option panel -> accent colors by programming? I would need more gradients in the gradient text element. 

  •  1,877
    Judith replied

    Hi Ktraces,

    Thanks for choosing Salient.

    Please allow me to escalate this to the developer to respond further.

    Thanks.

  •  1,071
    ThemeNectar replied

    Hey ktraces, as of now there's no hook to enable further color pickers in the theme so it would be easiest to create a couple classes which you could use to add more colors to the gradient text element.

    Here's an example add the following snippet into the custom CSS box located in the Salient options panel > General Settings > CSS/Script related tab:

    .custom-color-1 .nectar-gradient-text * {
        background-image: linear-gradient(to right,#ff5433,#5694ff)!important;
    }
    .custom-color-2 .nectar-gradient-text * {
        background-image: linear-gradient(to right,#000,#5694ff)!important;
    }
    
    You can then add the class names "custom-color-1" and "custom-color-2" to a column which is holding the gradient text element to trigger the styling. Kind regards,