TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 123
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 104
  • Total: 104

Article comment avatar display problem

Started by uniektekniek, December 20, 2010, 03:22:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

uniektekniek

Hey all, for some reason the avs in comments in articles on my site are huge.. as far as I've read this should be editable in tportal.template.php but my tportal.template.php doesnt seem to have the codes mentioned in any of the other threads about chaning the layout of comments.. any idea of where else i could look to sort this?

http://www.souldonsound.com/forum/index.php/page,Phatchance%20-%2010%20Questions%20with%20Skae.html






Link to my site: http://www.souldonsound.com/forum
SMF version: SMF 2.0 RC3
TP version: TinyPortal 1.0 beta 5.2
Default Forum Language: English
Theme name and version: Default
Browser Name and Version: firefox 3.6.13
Mods installed: too many to list.. not a mod problem.. i dont think
Related Error messages: N/A

IchBin

If you look at the CSS associated with those avatars with a tool like Firebug for Firefox or Web Developer for Chrome you can see there are a few classes associated with those elements. Something like this will constrict the image width.

.comment_author img.avatar
{
    width: 65px;
    height: 65px;
}

Just add that to your tp-style.css file. If it doesn't work, you can probably just do something similar but narrowing it down a little less.
.comment_author img
{
    width: 65px;
    height: 65px;
}

uniektekniek

first one worked a treat... thanks heaps!

uniektekniek

one last quick question.. is there another file apart from tportal.template that manages the layout for comments.. like if i was wanting to remove the "RE: subject" line etc..

IchBin

TPsubs.template.php file is where all the functions to create the different parts of the article are. In particular the function called "article_comments()" is what you are looking for. Inside that function is where the subject line is that you're looking for.

uniektekniek


This website is proudly hosted on Crocweb Cloud Website Hosting.