Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Style Changes

Style Changes 16 years 7 months ago #1060

  • digitalpure
  • digitalpure's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 27
  • Thank you received: 0
I am trying to figure out where to change the color of the wording. I am using a BLACK background and you cannot read the wording...

I tried modifying the main.css file, but that did not help.

http://thelastwell.com/index.php?option=com_dtdonate if you want to see what it looks like now.

I also would like to modify the form, to make the fields longer etc. Anyway that I can modify the base code to do this.

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

Style Changes 16 years 7 months ago #1061

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Yes, you need to make changes in the main.css file. In your case, change every occurence of:

color:#333333; or color:#000000;

TO...

color:#ffffff;

For the form fields, look in dtdonate.php for lines that look like:
<input type=\"text\" class=\"inputbox\" name=\"address\" size=\"40\" value=\"<?php echo  $rowProfile->address?>\">

Many of the fields do not have a size setting so you will need to add size=\"xx\" to the input tags. For a type=\"textarea\" input (comment box), you would add or modify \"cols\" and \"rows\" instead of \"size\".

Hope this helps...

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

Style Changes 16 years 7 months ago #1062

  • digitalpure
  • digitalpure's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 27
  • Thank you received: 0
Ok, colors changed... I found you have to change the Authorize.net ones to make the changes work even though I am ONLY using paypal...

Now, I am getting a code display in my final step to submission... I have not modified the code here...

I am looking at dtdonate.php for this field around line 5555 as that appears to be the right spot, but not sure... any help would rock.

This is a awesome product.


EDIT::: image to wide....
Error is....Amount ($): * <text box> [DT_ENTER_AMOUNT]

EDIT #2:::
The code that is displaying is on line 5608-5610 and it appears to be a another <td> column inline with the amount box....

Can I jsut <!-- --> this section out an dbe ok, or is it a call that is needed.

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

Style Changes 16 years 7 months ago #1070

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Oops... there is a line missing from the language file for the 1.5 version. Please add this line to the english.dtdonate.php language file in:
/components/com_dtdonate/languages/

define(\"DT_ENTER_AMOUNT\",\"You may insert your donation amount here instead of using one of the above amounts.\");

You can of course modify this text to say whatever you want it to. Thanks.

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

Style Changes 16 years 7 months ago #1099

  • digitalpure
  • digitalpure's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 27
  • Thank you received: 0
Is there a specific area that it needs to be installed. I placed it on line 99 if that is ok.

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

Style Changes 16 years 7 months ago #1105

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Nope, just stick it in there somewhere :)

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

  • Page:
  • 1
Time to create page: 0.673 seconds