Changing Authorize.net Form font size

Permalink
Is there any way I can change the font size and spaces in between boxes to make the Authorize.net block look better? I tried using Design to change the font size, but it did not work. I want our clients to be able to donate without scrolling top to bottom throughout the process.

The following link shows how the form looks:https://www.liveunitedhudson.org/Main/index.php/donate1/

 
planist1 replied on at Permalink Reply 1 Attachment
planist1
See attached. Looks like you have an empty label tag as well as line 469 of your main.css file where it sets your bottom margin. Currently set to 20px. I would try reducing this to a lower number.
UWHC replied on at Permalink Reply
Is it possible to change that in Customization under Themes by adding CSS?
planist1 replied on at Permalink Reply
planist1
The margin...maybe. Not sure if the block css will override it though.

The empty label tag, I don't think so, but I could be wrong. Only because there is nothing distinguishing its class from the other label tags in that fieldset. Either way I think you would have to modify the the block's view.php.
UWHC replied on at Permalink Reply
How would I be able to do that?
planist1 replied on at Permalink Reply
planist1
To modify the view of the block, go to rootinstallfolder/packages/packagename/view.php. For specifics, I would post your question in the support forum of that package here:http://www.concrete5.org/marketplace/addons/authorize-net-payment-a...
UWHC replied on at Permalink Reply
How would I get into those files and change them?
planist1 replied on at Permalink Reply
planist1
FTP or a online file editor I am guessing. Do you have access to the files on the website?
UWHC replied on at Permalink Reply
No I do not.
planist1 replied on at Permalink Reply
planist1
Did you try clicking of the block, clicking Design and then adding some css properties in there?
UWHC replied on at Permalink Reply
I would do that if I knew what properties to type down.
UWHC replied on at Permalink Reply
Do you have an idea if what I could try?
planist1 replied on at Permalink Reply
planist1
Maybe put this in the Design - > CSS - > Additional CSS field (of course modifying it for aesthetics)

#WebInstinctAuthorizenetFormWebInstinctAuthorizenetFormContainer1482 {
    font-size: 16px;
}
#WebInstinctAuthorizenetFormContainer1482  input[type='text'], #WebInstinctAuthorizenetFormContainer1482  input[type='password'], #WebInstinctAuthorizenetFormContainer1482  input[type='email'], #WebInstinctAuthorizenetFormContainer1482  input[type='tel'], #WebInstinctAuthorizenetFormContainer1482  textarea, #WebInstinctAuthorizenetFormContainer1482  select {
margin: 5px 5px 5px 5px;
padding: 5px 5px 5px 5px;
}
#WebInstinctAuthorizenetFormContainer1482 label {
    font-size: 18px;
}
#WebInstinctAuthorizenetFormContainer1482 legend {
    font-size: 18px;
}
UWHC replied on at Permalink Reply
That did not seem to work.
planist1 replied on at Permalink Reply
planist1
I see the form id changes, so perhaps try:


.WebInstinctAuthorizenetFormContainer {
    font-size: 16px;
}
.WebInstinctAuthorizenetFormContainer  input[type='text'], .WebInstinctAuthorizenetFormContainer  input[type='password'], .WebInstinctAuthorizenetFormContainer  input[type='email'], .WebInstinctAuthorizenetFormContainer  input[type='tel'], .WebInstinctAuthorizenetFormContainer  textarea, .WebInstinctAuthorizenetFormContainer  select {
margin: 5px 5px 5px 5px;
padding: 5px 5px 5px 5px;
}
.WebInstinctAuthorizenetFormContainer label {
    font-size: 18px;
}
.WebInstinctAuthorizenetFormContainer legend {
    font-size: 18px;
}
UWHC replied on at Permalink Reply
Still nothing.
planist1 replied on at Permalink Reply
planist1
And you are editing the design of the form? Clicking on the form (like you would do to edit the form) and click design, then clicking the css tab and putting the code there?
UWHC replied on at Permalink Reply
Yes, under additional CSS.
planist1 replied on at Permalink Reply
planist1
Are you clearing your cache after you make the change?
UWHC replied on at Permalink Reply
Yes, still no change.
planist1 replied on at Permalink Reply
planist1
hmmm...

try

#content .WebInstinctAuthorizenetFormContainer {
    font-size: 16px;
}
#content .WebInstinctAuthorizenetFormContainer  input[type='text'], #content .WebInstinctAuthorizenetFormContainer  input[type='password'], #content .WebInstinctAuthorizenetFormContainer  input[type='email'], #content .WebInstinctAuthorizenetFormContainer  input[type='tel'], #content .WebInstinctAuthorizenetFormContainer  textarea, #content .WebInstinctAuthorizenetFormContainer  select {
margin: 5px 5px 5px 5px;
padding: 5px 5px 5px 5px;
}
#content .WebInstinctAuthorizenetFormContainer label {
    font-size: 18px;
}
#content .WebInstinctAuthorizenetFormContainer legend {
    font-size: 18px;
}
UWHC replied on at Permalink Reply
That did not work either.
planist1 replied on at Permalink Reply 1 Attachment
planist1
Alright, let's try this: take a look at the attached screen shot.

The code to put in the CSS ID file is
content .fieldset
and the code to put in the Additional CSS field is
font-size: 30px;} #container .fieldset input[type='text'], #container .fieldset input[type='password'], #container .fieldset input[type='email'], #container .fieldset input[type='tel'], #container .fieldset textarea, #container .fieldset select {margin: 2px 2px; padding:2px 2px;


I did this on a sample form and it looked like it took the code correctly. If it does work, then you can try to change the parameters above to suit your needs.
UWHC replied on at Permalink Reply
Still, no changes.
planist1 replied on at Permalink Reply
planist1
Let's try adding the !important at the end, like this:

The code to put in the CSS ID file is
content .fieldset
and the code to put in the Additional CSS field is
font-size: 30px !important;} #container .fieldset input[type='text'], #container .fieldset input[type='password'], #container .fieldset input[type='email'], #container .fieldset input[type='tel'], #container .fieldset textarea, #container .fieldset select {margin: 2px 2px !important; padding:2px 2px !important;
UWHC replied on at Permalink Reply
The font changed, but only for 2 sections.

The United Way of Hudson County
This form is in test mode. Your card will not be charged.

Those were the only things that changed fonts. Everything else is the same.
planist1 replied on at Permalink Reply
planist1
I don't see any of the !important items in the css. Did you clear the site cache?
UWHC replied on at Permalink Reply
Yes. I cleared the cache.
planist1 replied on at Permalink Best Answer Reply
planist1
Try:

The code to put in the CSS ID file is
content .fieldset

and the code to put in the Additional CSS field is
}
#container fieldset legend{font-size:14px !imporant; margin:2px 2px 2px 2px !important; padding:2px 2px 2px 2px !important;}
#container fieldset label{font-size:14px !imporant; margin:2px 2px 2px 2px !important; padding:2px 2px 2px 2px !important;}
#container fieldset span{font-size:14px !imporant; margin:2px 2px 2px 2px !important; padding:2px 2px 2px 2px !important;}
#container fieldset input[type="text"] {font-size:14px !imporant; margin:2px 2px 2px 2px !important; padding:2px 2px 2px 2px !important;}
#container fieldset input[type="password"] {font-size:14px !imporant; margin:2px 2px 2px 2px !important; padding:2px 2px 2px 2px !important;} 
#container fieldset input[type="email"]{font-size:14px !imporant; margin:2px 2px 2px 2px !important; padding:2px 2px 2px 2px !important;}
#container fieldset input[type="tel"]{font-size:14px !imporant; margin:2px 2px 2px 2px !important; padding:2px 2px 2px 2px !important;}
#container fieldset textarea{font-size:14px !imporant; margin:2px 2px 2px 2px !important; padding:2px 2px 2px 2px !important;}
#container fieldset select{font-size:14px !imporant; margin:2px 2px 2px 2px !important; padding:2px 2px 2px 2px !important;}
#container fieldset button{font-size:14px !imporant; margin:2px 2px 2px 2px !important; padding:2px 2px 2px 2px !important;
UWHC replied on at Permalink Reply
It worked. Thank you very much!
planist1 replied on at Permalink Reply
planist1
Excellent. Make sure to mark the best answer so other looking will find it. :)