How can I add font size to an existing php code?

Hi,

I know nothing about PHP, but have a PHP form on my website and would like to modify it so that I can have a larger font and if possible new font type. Here existing code.

<?php _e( ' Hint: The password should be at least seven characters long.', APP_TD ); ?>

Please could some kind person help supply the code?

Regards
Drachsi

You need to do that with CSS, not PHP

Thanks for the reply, but I have no idea what you mean, or what to do.
Regards
Drachsi

tag your text

https://developer.mozilla.org/en/docs/Web/HTML/Element/span

Use CSS to format

https://developer.mozilla.org/en/docs/Web/CSS/font-size#Ems

Thanks for your help and support Chorn.

Update the php file with the following.

<?php _e( ' Hint: The password should be at least seven characters long.'BIG, APP_TD ); ?>

Then add this to the css file

span.instructions {
color: #ffddff;
font-size: 20px;

Is this what you mean?
Regards
Drachsi

Does it work? At least i don’t see any tag, maybe because of the forum, you should use the “preformatted text” feature of this editor here.

Sorry, not certain what you mean. I created it with a text editor

“preformatted text” feature of the editor in this forum - there are no tags visible in your code.

Hi, Just thought I would let you know it works, thanks for the support and links to info.
Regards
Drachsi

Sponsor our Newsletter | Privacy Policy | Terms of Service