×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Right side of the comment cutting off.

Right side of the comment cutting off. 14 years 6 months ago #7252

  • Sunil Sinha
  • Sunil Sinha's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
The comment heading is cutting off on the right side (near Add New and Search button). Please see the attached image (comments.jpg - 11.4kb).

How to adjust it so it does not cut off?

Thanks for your help.

Not trying to patronize you but the comment module is simply great. I can't thank you enough.

Right side of the comment cutting off. 14 years 6 months ago #7253

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Sunil Sinha wrote:

Not trying to patronize you but the comment module is simply great. I can't thank you enough.


You are not patronizing - you are reporting a bug. This is good :)

This is a known problem with some Joomla templates. You will need to edit your CSS file for the JoomlaComment template and insert the following code at the top:
#Comments {
    width:95%;
}
Make sure you don't already have a #Comments section though, otherwise just add the new width declaration in the existing section.

95% is just an example - I got away with 99% on one of my templates, but you might need 80% or 70%.

I don't know why this happens, but I think it may have something to do with templates that draw JoomlaComment/Content before the column module positions. That isn't the most elegant solution - but it works for now :)

Right side of the comment cutting off. 14 years 6 months ago #7256

  • Sunil Sinha
  • Sunil Sinha's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Jonus:

Thanks for your reply.

I think I am missing something here. Here is what I did. I first set the 'Copy current standard template to cusotmized template directory' parameter to Yes in the Layout page of the Joomlacomment content setting.

Then I opened the standard.css in a text editor and added this paramater as you suggested. So now my css file looks like this...

/*styling the comment form */
#Comments {
width:99%;
}
#joomlacommentsearch fieldset,
#joomlacommentform fieldset {
margin: 0 0 0.5em 0;
padding: 0.5em;
border: solid 1px #CCCCCC;
background: #f8f8f8;
}
and so on..

After saving the file and refreshing the page in the browser, it does not make any difference. I played with the width parameter from 50 to 99% but still I did not see any change. I am sure I am doing something wrong.

I am attaching the standard.css (9kb) just in case you wished to take a look at it.

Using Xoomla 1.5.14 and XAMPP on a WinXP machine. Experience level=little better than complete novice. :dry:

Jonus, thanks for staying with me. I am learning as I go.

Right side of the comment cutting off. 14 years 6 months ago #7257

  • Sunil Sinha
  • Sunil Sinha's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Hmm... it looks like the css file did not attach to the above note. Trying again...

Right side of the comment cutting off. 14 years 6 months ago #7260

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
I think you will need to ZIP it before uploading. But don't worry about it, I made a mistake :blush:

Instead of #Comments, make it #comment (drop the S from the end). I just tested it on my site and that should work.

EDIT: Can I ask you the name of the Joomla site template you are using? I would like to look at as many templates as I can to try and fix these bugs in future :)

Right side of the comment cutting off. 14 years 6 months ago #7262

  • Sunil Sinha
  • Sunil Sinha's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Thanks Jonus, but that still did not work. Again I played with the number between 50 and 99 but that did not affect the comment at all. Again, I think I am doing something wrong. Sorry.

I am attaching the zipped file standardcss.zip (1.9k) this time.

I am using a template called News Line from youjoomla.com. I like the template but unfortunately their help is almost non-existent. Between you guys and them, it's a world of difference. I paid for the template and still don't know how to get help from them and here you are; you are offering this joomlacomment component for free and yet you are providing me help in such a timely and professional manner. I am definitely donating some money to compojoom for its excellent product and support. standardcss.zip

Thanks for your help again.

Right side of the comment cutting off. 14 years 6 months ago #7263

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
It should of worked, the CSS looks fine. Are you sure you have this custom CSS file chosen in the JoomlaComment layout settings too? Also make sure to clear your browser cache and Joomla cache.

I am using a template called News Line from youjoomla.com. I like the template but unfortunately their help is almost non-existent. Between you guys and them, it's a world of difference. I paid for the template and still don't know how to get help from them and here you are; you are offering this joomlacomment component for free and yet you are providing me help in such a timely and professional manner. I am definitely donating some money to compojoom for its excellent product and support.

Aha... all those guys do it for a job to get paid! The great thing about OpenSource software is that many of us create and help because it's a hobby or fun ;) Of course Daniel would be very happy with the donation - he deserves it!

Right side of the comment cutting off. 14 years 6 months ago #7266

  • Sunil Sinha
  • Sunil Sinha's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Jonus, once again you have saved the day. Although I made sure to clean the temp/cache files from the browser and Joomla, that was not the problem.

In the layout setup, in the "Your customized template", HTML and CSS parameters were not setup. I changed them to mymodern and standard and set up the width parameter in the CSS file to 95% and everything worked out perfectly.

Thank you Jonus. I know I am beginning to sound like a broken record but you guys are the best. I am very impressed.
  • Page:
  • 1
Time to create page: 0.171 seconds