Adjusting width of "Online Donation" page

  • trustinghim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 11 months ago #9221 by trustinghim
Replied by trustinghim on topic Re: Adjusting width of "Online Donation" page
For others who might be looking for this solution:

This probably isn't the "right" way to do it, but it works. :)

To adjust the form to the page width:

In Configuration > Messages > Donation Page Message, add html code before the text:
<div style="width: 480px;">
(Use the width desired and don't forget to include </div> after the text.)

Then hack:

components >com_jdonation > site > assets > css > style.css

Add this:
/*** ADDED TO CONTROL TABLE WIDTH **/
table.jd_donor_table {
table-layout: auto;
width: 100%;
}

To adjust the width of the comment box:

components > jdonation > views > donation > tmpl > default.php

Line 540:
<textarea rows="7" cols="50" name="comment" class="inputbox"><?php echo $this->comment;?></textarea>
(Adjust the "cols" to the width you want.)

God bless,
Teresa

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

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