Hello,
I like to chance the color of the download button. This one is now green, but like it yellow.
How to?
https://s14.postimg.org/79k6xbknl/Knipsel.png
Color
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Color
Hi, just change it in your template CSS or in Phoca Download CSS file, just see the styling e.g. per firebug in Firefox to know which part you should change.
If you have some link to live site, I can see it to write you the style part.
Jan
If you have some link to live site, I can see it to write you the style part.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Hero
- Posts: 2857
- Joined: 28 Nov 2010, 17:20
Re: Color
Hi,
add to the end of your template.css or custom.css - depends of template:
just an idea from Demo.
Kind regards, Christine
add to the end of your template.css or custom.css - depends of template:
Code: Select all
.btn-success, .btn-success:hover {
background-color:yellow;
background-image:none;
color:#000;
}
Kind regards, Christine
-
- Phoca Newbie
- Posts: 4
- Joined: 16 Nov 2016, 10:09
Re: Color
Jan wrote:Hi, just change it in your template CSS or in Phoca Download CSS file, just see the styling e.g. per firebug in Firefox to know which part you should change.
If you have some link to live site, I can see it to write you the style part.
Jan
Live site: Http://www.theovermeulen.nl/luc41116
- Page:http://www.theovermeulen.nl/luc41116/in ... -downloads
-
- Phoca Hero
- Posts: 2857
- Joined: 28 Nov 2010, 17:20
Re: Color
Hi SDR,
(zo ver) goed gedaan nu, maar:
You took my (above) code in bootstrap.css. (shown in line 5877). Followed by:
.btn-success:hover, .btn-success:focus {
background-color: #419641;
background-position-x: 0;
background-position-y: -15px;
}
etc. ....
This will overwrite the parameter e.g. for "hover".
As I wrote before, please write the code at the end of your template.css or custom.css. (previous post). Don't change something in bootstrap.css
groetjes, Christine
(zo ver) goed gedaan nu, maar:
You took my (above) code in bootstrap.css. (shown in line 5877). Followed by:
.btn-success:hover, .btn-success:focus {
background-color: #419641;
background-position-x: 0;
background-position-y: -15px;
}
etc. ....
This will overwrite the parameter e.g. for "hover".
As I wrote before, please write the code at the end of your template.css or custom.css. (previous post). Don't change something in bootstrap.css
groetjes, Christine
-
- Phoca Hero
- Posts: 2857
- Joined: 28 Nov 2010, 17:20
Re: Color
Hi SDR,
If you want to have the "hover" also in yellow, then take (as I wrote in previous post) my 1st code of 1st post
in custom.css
groetjes, Christine
If you want to have the "hover" also in yellow, then take (as I wrote in previous post) my 1st code of 1st post

Code: Select all
.btn-success, .btn-success:hover {
background-color:yellow;
background-image:none;
color:#000;
}
groetjes, Christine