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

TOPIC: Radio Button Position

Radio Button Position 10 years 7 months ago #23000

  • haldor
  • haldor's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I downloaded the latest version of DT Register (as of Mar 31 2014), set up my fields and created a form. One of the fields is a radio button and when it shows up on the form it is very low in it's cell. So much so that it is right on the border of the text box below it. I searched for a solution and found this thread: www.dthdevelopment.com/index.php?option=...&id=22916&Itemid=141

with a reference to the CSS field change:
.dt_checkbox_label {
padding: 0 10px 0 10px;
margin: 0 0 0 18px;
}
in /components/com_dtregister/assets/css/main.css

My main.css does not have any type of checkbox label field it it.

How do I adjust the padding and/or margin for the radio button?

Also, I am looking for a method to customize the look of the registration form. I have seen a lot of questions on this with very little feedback on how to accomplish form field positioning.

What is the best method to use that will not cause conflicts with future updates to DT Register?

Thank You

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

Radio Button Position 10 years 7 months ago #23001

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
The ".dt_checkbox_label" styling is definitely in your main.css file. You just are not locating it.

The vast majority of the form field styling comes from your template, not DT Register. This is intentional so it uses the same styling as any other forms on your site. You can use browser tools like Firebug to see what CSS is being applied to the form elements and which CSS files it is coming from. Most templates will have that in the template.css file.

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .

Radio Button Position 10 years 7 months ago #23004

  • haldor
  • haldor's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
OK, I found the styling in the css, however it only affects the label. How do I position the radio button itself higher in the cell?

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

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