Color Download Button

Phoca Download - download manager
bjoernschweiger
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 30 May 2022, 14:42

Color Download Button

Post by bjoernschweiger »

how can i change the color of the download button (green in #fdc400)

Joomal Version 4.1.4

Phoca Download Version 4.0.1

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Color Download Button

Post by christine »

Hi,

try this to your custom.css:

Code: Select all

.btn-success,.btn-success:hover {
background: #fdc400;
}
Kind regards
Christine

There is an update to: 4.0.2
bjoernschweiger
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 30 May 2022, 14:42

Re: Color Download Button

Post by bjoernschweiger »

Unfortunately this did not work
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Color Download Button

Post by christine »

Hi,

then try to add an !important;

Code: Select all

.btn-success,.btn-success:hover {
background: #fdc400 !important;
}
it works (temporary), see here the demo: https://www.phoca.cz/demo/phoca-downloa ... -documents

Kind regards
Christine
bjoernschweiger
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 30 May 2022, 14:42

Re: Color Download Button

Post by bjoernschweiger »

Works great, now there is only a small green border around
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Color Download Button

Post by christine »

Hi,
then add to above code:
border: none;

with given live URL, we could say more.

Kind regards
Christine
bjoernschweiger
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 30 May 2022, 14:42

Re: Color Download Button

Post by bjoernschweiger »

Unfortunately I can't because it's an internal page in our company. But it's ok I can live with the edge
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Color Download Button

Post by christine »

Then add also here an !important;

Code: Select all

.btn-success,.btn-success:hover {
background: #fdc400 !important;
border: none !important;
}
Kind regards
Christine
bjoernschweiger
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 30 May 2022, 14:42

Re: Color Download Button

Post by bjoernschweiger »

Perfect... thank you
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Color Download Button

Post by christine »

That's fine.
Kind regards
Christine
Post Reply