WordPress.org

Support

Support » Plugins and Hacks » Changing Download Button CSS

Changing Download Button CSS

  • First of all, this plugin is awesome. Great job Mike, and thank you!

    I am trying to change the button size and color to match my site, but I cannot find the CSS in order to change it. All I see is PHP.

    There are a few threads in support with a similar question, but none seem to have been answered. Can anybody provide some guidance on how to achieve this? Thank you!

    https://wordpress.org/plugins/download-monitor/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I found the CSS in assets “frontend.css”. However, when I changed the color codes, no change took effect. (I cleared all caches including browser.)

    Any suggestions?

    If your theme supports custom css inserts, you can adjust the button with CSS like the following:

    .download-button {
    background-image: none !important;
    background-color: lightgray;
    box-shadow: 0 0 0 !important;
    border: 1px solid slategray;
    }

    .download-button:hover {
    background-image: none !important;
    background-color: lightblue;
    color: black;
    text-decoration: none;
    }

    Thank you so much! Worked like a charm.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing Download Button CSS’ is closed to new replies.