• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Change download button color

mjdj1999

Chevereto Member
This would seem to be a fairly easy change but I cannot seem to get it done. I keep having to tell people where to locate the download button. I need to change the color to green and possibly some other changes but nothing I do works.

Can someone please tell me what file and line to modify?

I tried changing in /app/themes/Peafowl/style.css but it didn't seem to change on the site.
Lines edited 80 and 81. I have also tried other files but lost track of which ones.
 
You need to change "red" to "green" in app/themes/Peafowl/views/image.php
 
Yes, red is for the share button. I seen it. My problem is the download button which had no color to change.

<?php if(CHV\getSetting('theme_peafowl_download_button')) { ?>
<a href="<?php echo get_image()["url"]; ?>" download="<?php echo get_image()["filename"]; ?>" class="btn btn-download default" rel="tooltip" title="<?php echo strtoupper(get_image()["extension"]); ?> <?php echo get_image()["size_formatted"]; ?>"><span class="btn-icon icon-download"></span><span class="btn-text phone-hide"><?php echo get_image()["width"]; ?> x <?php echo get_image()["height"]; ?></span></a>
 
Back
Top