Images/pictures border colour

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
ramshazar
Posts: 19
Joined: Tue 22. Jun 2004, 10:19

Images/pictures border colour

Post 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
TAOG
Posts: 206
Joined: Fri 17. Sep 2004, 20:14
Location: Berlin/Germany
Contact:

Post 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.
ramshazar
Posts: 19
Joined: Tue 22. Jun 2004, 10:19

Post by ramshazar »

can't find the pictures you mean on your page?!

i chnaged the link settings without any effect. seems to someting different!
TAOG
Posts: 206
Joined: Fri 17. Sep 2004, 20:14
Location: Berlin/Germany
Contact:

Post 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.
sigaq
Posts: 8
Joined: Tue 21. Sep 2004, 08:47
Location: Salisbury, UK

disabling image border

Post 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
ramshazar
Posts: 19
Joined: Tue 22. Jun 2004, 10:19

Post 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?
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

hmm, perhaps you can set:

Code: Select all

img {border-style: 1px solid; color: #FFFFFF;}
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
ramshazar
Posts: 19
Joined: Tue 22. Jun 2004, 10:19

Post by ramshazar »

wehre do i need place this tag (in the frontend.css)?

i tried several positions but the border is still black! :(
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

yes in frontend.css as described above.

for e.g at the end of the frontend.css.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
User avatar
Oliver Georgi
Site Admin
Posts: 9940
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Post Reply