WordPress.org

Forums

Standout Color Boxes and Buttons
[resolved] Gradient background color (2 posts)

  1. RCSTP
    Member
    Posted 1 year ago #

    Can I edit the CSS to make the background color gradient? Maybe using CSS from this website: http://www.colorzilla.com/gradient-editor/

    Like this CSS below:

    background: #1e5799; /* Old browsers */
    background: -moz-linear-gradient(top,  #1e5799 0%, #207cca 0%, #2989d8 27%, #a5c8e2 88%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(0%,#207cca), color-stop(27%,#2989d8), color-stop(88%,#a5c8e2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #1e5799 0%,#207cca 0%,#2989d8 27%,#a5c8e2 88%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #1e5799 0%,#207cca 0%,#2989d8 27%,#a5c8e2 88%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #1e5799 0%,#207cca 0%,#2989d8 27%,#a5c8e2 88%); /* IE10+ */
    background: linear-gradient(to bottom,  #1e5799 0%,#207cca 0%,#2989d8 27%,#a5c8e2 88%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#a5c8e2',GradientType=0 ); /* IE6-9 */

    https://wordpress.org/plugins/standout-color-boxes-and-buttons/

  2. jp2112
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, you just need to apply it to the correct class. However I recommend you put this into your local stylesheet instead of editing the plugin.

    Any changes you make to the plugin files will be overwritten if you update the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Standout Color Boxes and Buttons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic