Problem with border around images

GK User
Sun Apr 04, 2010 12:37 pm
Hello,
I have installed version 1.01 of the template, but I habe still some problems withe borders/frames around some images in articles!

As an example http://sws4u.de/msc2/about-us/referrals

As you can see, there is a borderimage at the top and bottom of an image and the images are not aligned as want them to be in the center.
User avatar
Senior Boarder

teitbite
Tue Apr 06, 2010 1:47 pm
Hi

Site is password protected. Can You please send me access?
User avatar
Moderator

GK User
Tue Apr 06, 2010 1:59 pm
Hello send you a mail with logindata.

Also made a screenshot to explane what I meen.

Image

Some interesting and strange thing... In News Blog View FIRST Picture is correct, all other wrong! :blink:
User avatar
Senior Boarder

teitbite
Wed Apr 07, 2010 11:51 am
Hi

Please edit gk_stuff.css file and find class:

Code: Select all
div.gk_img_border_bottom  {
background:url("../images/header_bottom.png") no-repeat scroll 2% bottom transparent;
overflow:hidden;
padding:0 0 8px;
}


than add there line:

Code: Select all
text-align:center;


Than go to details.css and remove line:

Code: Select all
float:left;


form

Code: Select all
.jr_itemDetail div.contentInfo img.jr_avatar {
border:0 none;
height:auto;
margin:0 10px 0 0;
width:48px;
float:left;
}
User avatar
Moderator

GK User
Wed Apr 07, 2010 2:53 pm
I cant find a details.css?! Oo
Where is it???

edit:
Ah ok you meen the details.css from jReview component.
I did the changes without any effect. removed the changes.
But the problem is not only at a jReview! It apears on the content pages, too! Every article have the problem.
User avatar
Senior Boarder

teitbite
Thu Apr 08, 2010 9:14 pm
Hi

Ok. So please try to modyfie the class in gk_stuff.css to something like this:

Code: Select all
div.gk_img_border_top  {
background:url("../images/header_top.png") no-repeat scroll 96% top transparent;
float:left;
margin:5px 18px 5px 0;
overflow:hidden;
padding:8px 0 0;
}
User avatar
Moderator

GK User
Thu Apr 08, 2010 9:25 pm
For me it works now!
Thx for your time and the support on it!
User avatar
Senior Boarder

GK User
Tue Apr 20, 2010 2:15 am
This worked for me, too. Why was this not coded in the template?
User avatar
Senior Boarder


cron