How to delete the 5px border next to comment??

Phoca Guestbook - creating guestbooks in Joomla! CMS
Chrisvtec
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Apr 2010, 11:37

How to delete the 5px border next to comment??

Post by Chrisvtec »

Dear All

I need help in removing the small border before the comment! I can find the location of the inline style with firebug but I cannot find the actual file to remove it from! It says element.style but cant find it anywhere!

Image

Please help!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to delete the 5px border next to comment??

Post by Jan »

Hi, you can set the background to white in parameters (but all the green will be changed to white)

or remove it in the code:
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
line cca 186:

FROM:

Code: Select all

$gbPosts .= '<div class="pgcontent" style="overflow: auto;border-left:5px solid '.$this->tmpl['background_color'].';">' . $values->content . $end_quote .$end_a. '</div>'; 
TO:

Code: Select all

$gbPosts .= '<div class="pgcontent" style="overflow: auto;border-left:0px solid '.$this->tmpl['background_color'].';">' . $values->content . $end_quote .$end_a. '</div>'; 
Jan
If you find Phoca extensions useful, please support the project
Post Reply