You are viewing limited content. For full access, please sign in.

Question

Question

Set Form Radio Button Text Properties

asked on August 22, 2014

I am custom formatting a form and would like to change the size of some radio buttons as well as the text that goes along with them. Is there CSS I can use to help accomplish this? 

0 0

Replies

replied on August 22, 2014

As far as I know, nothing would work more than something like this:

http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/

 

I dont think it's a recommended thing though. A lot of CSS stuff like this would be more of a styling that may look different in various browsers, which can make the whole process less valuable as it takes longer to make all the proper exceptions

0 0
replied on January 30, 2019

That link gives me a 404 error.

0 0
replied on May 21, 2015 Show version history

I change the text next to the radio buttons with this:

/* Radio-button text */
.form-option-label {
  font-size: 12px !important;
}

You can change the scaling of the radio buttons with CSS, it looks better if you're just slightly scaling down, scaling up doesn't look so great.

input[type=radio] { 
  transform: scale(1, 1); 
}

1, 1 is normal sized.  You can change those values either upward or downward.

CSS transform won't work with IE8 or older browsers, I don't think.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.