Change the color of the categories

Phoca Gallery - image gallery extension
pabu1983
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 27 Mar 2016, 19:19

Change the color of the categories

Post by pabu1983 »

Hello,

I wanted to use a theme from phoca, but it doesn't work with version 4!? So I want to change the white border of the folders. Is that possible? How could I do this?

http://neu.interkunst.com/index.php/gallery <-- white to black and the color of the font then in white maybe?

Or are there any other themes that work for version 4?

thanks

kind regards
Pat
Last edited by pabu1983 on 29 Mar 2016, 14:55, edited 1 time in total.
christine
Phoca Hero
Phoca Hero
Posts: 2938
Joined: 28 Nov 2010, 17:20

Re: Change the color of the categories

Post by christine »

Hallo Pat,

There are no themes. Change some parameters, for example:
at the end of your template.css:
.pg-csv-name a {
color: #fff;
}
.pg-csv-box a:hover {
color: #000;
}
.pg-csv-box {
background-color: #000;
}
colors etc. to be set of your choice :-)

Kind regards, Christine
pabu1983
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 27 Mar 2016, 19:19

Re: Change the color of the categories

Post by pabu1983 »

Thanks Christine, but which template.css? I don't find "csv-box" in my template.css (of my Joomla Template). In Phoca Gallery Styles there are only phocagallery.css, rating.css bootstrap.min.css and default.css.

Weil ich nicht nochmal posten darf, versuch ichs mal mit bearbeiten ;)

Hallo Christine,

super in deutsch :) Perfekt! Vielen Dank für deine Hilfe! Aber es funktioniert immer noch nicht, habe alles so geändert wie du gesagt hast... Muss ich sonst noch irgendwo was ändern?

Gruß Pat
Last edited by pabu1983 on 28 Mar 2016, 17:42, edited 1 time in total.
christine
Phoca Hero
Phoca Hero
Posts: 2938
Joined: 28 Nov 2010, 17:20

Re: Change the color of the categories

Post by christine »

Hallo Pat,

die CSSen von Phocagallery, die passen schon. Füge obige Codes ans Ende Deiner template.css von Deinem Template:
http://neu.interkunst.com/templates/the ... mplate.css
Diverse Änderungen kann man dann immer noch machen.

Es ist so, wenn Du z.B. in der phocagallery.css usw. etwas änderst, kann es sein, dass bei einem Update diese wieder weg sind.
Deswegen die template.css. Manche haben z.B. auch eine custom.css usw.

Liebe Grüße, Christine
pabu1983
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 27 Mar 2016, 19:19

Re: Change the color of the categories

Post by pabu1983 »

Hi Christine,

super in deutsch :) Perfekt. Vielen vielen Dank für deine Hilfe bislang. Habe alles gemacht wie du gesagt hast. Leider alles nach wie vor... Muss ich sonst noch irgendwo was ändern?

Gruß Pat
christine
Phoca Hero
Phoca Hero
Posts: 2938
Joined: 28 Nov 2010, 17:20

Re: Change the color of the categories

Post by christine »

Hallo Pat,
pabu1983 wrote:Habe alles gemacht wie du gesagt hast. Leider alles nach wie vor...
Nö, haste wohl nicht :wink: wenn ich mir die template.css ansehe (derzeitiger Stand): http://neu.interkunst.com/templates/the ... mplate.css
sehe ich am Ende das da:
.social li a:hover {
opacity: 0.5;
filter: alpha(opacity=50); }
aber von meinen Codes nichts ....
Also: Codes vom Vorpost kopieren, reinsetzen, speichern & gucken.

OT: posts unterlaufen einer Spam-Kontrolle & manche bleiben dann halt hängen und müssen dann erst approved werden 8)

Liebe Grüße, Christine & ran an die fehlenden Ostereier.
pabu1983
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 27 Mar 2016, 19:19

Re: Change the color of the categories

Post by pabu1983 »

Hey Christine,

will dir ja wirklich nicht wiedersprechen. Aber sie ist geändert, evtl. ist das alte bei dir noch im Cache? Bei mir sieht es so aus (wenn ich mit deinen Link aufrufe):

.social li a:hover {
opacity: 0.5;
filter: alpha(opacity=50);
}


.pg-csv-name a {
color: #fff;
}
.pg-csv-box a:hover {
color: #000;
}
.pg-csv-box {
background-color: #000;
}

Gruß Pat
christine
Phoca Hero
Phoca Hero
Posts: 2938
Joined: 28 Nov 2010, 17:20

Re: Change the color of the categories

Post by christine »

Hallo Pat,

ja, dürfte gestern im Cache gewesen sein. Beim Aufruf war halt noch keine Änderung sichtbar.

a) passt das jetzt so? oder:

b) falls Dich der weiße HIntergrund (beim Hovern) stört, ersetze die ganzen Codes durch:
.pg-csv-name a {
color: #fff;
}
.pg-csv-box a:hover {
color: #e9a249;
}
#pg-msnr-container .pg-csv-box {
background-color:#000;
}
Die hover-Schrift-Farbe habe ich orangenen Ton genommen.

Liebe Grüße, Christine
pabu1983
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 27 Mar 2016, 19:19

Re: Change the color of the categories

Post by pabu1983 »

Hey Christine,

haha, da bin ich mir jetzt selber auf den Leim gegangen. Ich hatte die Seite wohl bei mir auch noch im Cache gestern. Als ich nämlich die Antwort schrieb, hatte sich nix geändert gehabt. Darum die Nachricht.

Jetzt sieht alles super aus und nach deiner weiteren Änderung (b) ist es noch besser! Vielen Dank für deine Hilfe! Kann geschlossen werden ;)

Gruß Pat
christine
Phoca Hero
Phoca Hero
Posts: 2938
Joined: 28 Nov 2010, 17:20

Re: Change the color of the categories

Post by christine »

Hallo Pat,

freut mich, dass es geklappt hat :|

Liebe Grüße, Christine
Post Reply