• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • 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