Adjusting width of "Online Donation" page

  • trustinghim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 2 months ago #7489 by trustinghim
Adjusting width of "Online Donation" page was created by trustinghim
Hello,

I'm excited about this extension, but am having trouble customizing a couple things:

1) How can I adjust the overall width of the "Online Donation" page? It is extending past the "content" portion of my template, so needs to be narrowed down.

2) How can I adjust the size of specific boxes (e.g. Comments)?

Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #7525 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Adjusting width of "Online Donation" page
Hi

It is something related to css of your site template. Could you send me the link to the page so that I can guide you ?

Thanks,

Tuan

Please Log in or Create an account to join the conversation.

  • trustinghim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 2 months ago #7526 by trustinghim
Replied by trustinghim on topic Re: Adjusting width of "Online Donation" page
Tuan, it's located at:

myavpc.com/index.php?Itemid=999999

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #7527 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Adjusting width of "Online Donation" page
Hi

In this case, you can simply make the comment box smaller. Open the file components/com_jdonation/views/donation/tmpl/default.php, looks at line 540 :
Code:
<textarea rows="7" cols="[b]50[/b]" name="comment" class="inputbox"><?php echo $this->comment;?></textarea>

Please note the code cols="50". Just change it to a smaller value, something likes cols="40" .

Let me know if it is OK for you .

Thanks,

Tuan

Please Log in or Create an account to join the conversation.

  • trustinghim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 2 months ago #7528 by trustinghim
Replied by trustinghim on topic Re: Adjusting width of "Online Donation" page
Tuan,

Thanks, but what about the text just under the headline? It's also sticking out past the content area into the right column.

Teresa

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #7529 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Adjusting width of "Online Donation" page
Hi Teresa

What browser you are using ? I checked it on IE8, Firefox, google chrome and It is all looking fine . Could you please also make a screenshot of the page ?

Thanks,

Tuan

Please Log in or Create an account to join the conversation.

  • trustinghim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 2 months ago - 13 years 2 months ago #7530 by trustinghim
Replied by trustinghim on topic Re: Adjusting width of "Online Donation" page
I'm using Firefox 3.6.7 and IE8.

This is the Firefox image.

One thing I have noticed is that the text width adjusts when I change the size of the browser, so sometimes it appears to all fit in the content area. However, in most views, it overlaps to some degree.
Attachments:
Last edit: 13 years 2 months ago by trustinghim.

Please Log in or Create an account to join the conversation.

  • trustinghim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 2 months ago #7531 by trustinghim
Replied by trustinghim on topic Re: Adjusting width of "Online Donation" page
This is the IE screenshot:

Attachments:

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #7567 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Adjusting width of "Online Donation" page
Hi

I am sorry. I was too busy at the time and forgot to reply you. Infact, It looks different on my laptop (I am using Windows 7, not sure that causes the difference) .

In this case, could you please submit a support ticket contains FTP account of your site so that I can check and modify the css for you to make it meets the width of the page ?

Thanks,

Tuan

Please Log in or Create an account to join the conversation.

  • trustinghim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
13 years 1 month ago #7865 by trustinghim
Replied by trustinghim on topic Re: Adjusting width of "Online Donation" page
Tuan,

Apologies for my delay in replying ... got distracted with other pressing work.

I looked at the CSS. It's not a problem with the size of the boxes (e.g. comments textbox). The problem is that the entire component should fit within the "content" area, but it appears that somewhere a width has been set and that width is too wide for the template I'm using.

Can you tell me where the component's width is set?

Thanks,
Teresa

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt