WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. RCSTP
    Member
    Posted 5 months 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 5 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic