Page 1 of 1

Images/pictures border colour

Posted: Wed 29. Sep 2004, 22:14
by ramshazar
hi,

i successfully installed my phpwcms and have a lot of fun with it.

but one question:

how/where can i change the colour of the image border.

when i set a hook at "border" when inserting a image to an article the border is always black?! :(

many thanks in advance

ramshazar

Posted: Wed 29. Sep 2004, 22:34
by TAOG
well, my border is white and red on mouseover. to see here: http://www.gkl-berlin.de

i think it is the "a:link a:hover" css what phpwcms use.

Posted: Wed 29. Sep 2004, 22:51
by ramshazar
can't find the pictures you mean on your page?!

i chnaged the link settings without any effect. seems to someting different!

Posted: Thu 30. Sep 2004, 07:45
by TAOG
all images in the sections have a white border. only the "referenzen" article pictures doens't have border. ( a bug in wcms?) the picture part inside the article have the border again.

disabling image border

Posted: Thu 30. Sep 2004, 10:48
by sigaq
Not sure if this is what you want, but simple way to get rid of image borders is to add this to frontend.css:

Code: Select all

img {border-style: none;}
Hope it helps,
JP

Posted: Thu 30. Sep 2004, 12:07
by ramshazar
no sigaq I WANT a border.

i still get one, but it's black and i need it to change into white. can't find a entry in the frontend.css. so where else could this setting be stored?

Posted: Thu 30. Sep 2004, 13:12
by cyrano
hmm, perhaps you can set:

Code: Select all

img {border-style: 1px solid; color: #FFFFFF;}

Posted: Thu 30. Sep 2004, 15:21
by ramshazar
wehre do i need place this tag (in the frontend.css)?

i tried several positions but the border is still black! :(

Posted: Thu 30. Sep 2004, 19:15
by cyrano
yes in frontend.css as described above.

for e.g at the end of the frontend.css.

Posted: Sat 2. Oct 2004, 19:50
by Oliver Georgi
check the value in conf.template_default.inc.php:

Code: Select all

$template_default["article"]["image_imgclass"] = "image_img";
do not use

Code: Select all

img {}
in frontend.css - only when used in combination with parental class like

Code: Select all

.myclass img {}
Oliver