Arrow

Changing the font size and size of the image box | Peter's Custom Anti-Spam for WordPress | Forum

Back to the custom anti-spam plugin page
 
Current User: Guest
Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Changing the font size and size of the image box

Reply to Post Add a New Topic
UserPost

4:30 pm
July 22, 2007


Peter

Admin

posts 732

hmw asked:

Excellent – thank you so much for taking the time to create this plugin! I was just wondering how I can change the font size and/or the size of the image box?

The size of the image box is changed at the top of the plugin file (to edit the plugin file, go to Plugins > Plugin Editor > Peter's Custom Anti-Spam):

// Set the anti-spam image width and height.
// You may need to increase these sizes for longer words and/or bigger fonts.
$cas_imgwidth = 160;
$cas_imgheight = 50;

The size of the font is a bit more buried in the code:

$cas_fontsize = 28; // Default font size for the anti-spam image

Reply to Post

Reply to Topic:
Changing the font size and size of the image box

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
9 + 6