• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: CSS: how to add new classname

CSS: how to add new classname 13 years 1 month ago #16653

Hello

I'm trying to figure out how to use css to customize a simple form. A simple form that takes days to make it seems.

i only have an email input field and an image submit button.

I want to change, for instance the height of that inputfield.

How do u control these elements in CSS? Rsjoomla talks about "classnames" but nowhere they say which classnames controls what part.

How and where do i add a classname to control an inputfield? Rsform don't want to give clear information about this. It's a secret;)

Offcourse i know the working of CSS. I can change the size and weight of the caption here with .formCaption { but that's about it;)

Hope someone can help me here.

Best Regards,

Alex
The administrator has disabled public write access.

Re: CSS: how to add new classname 13 years 1 month ago #16656

  • royce
  • royce's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 52
  • Thank you received: 5
I ended up modifying the template for the form - RSFP should place a css class around each element but they don't.

Here is an example of what I did:
<div class="formField rsform-block rsform-block-invoice-upload">
	<span style="font-weight: bold; font-size: 1.1em;">{Invoice Upload:caption}</span><br /><span style="width: 100%; line-height: .2em;">&nbsp;</span><br />
	<div style="line-height: 1.5em; margin-left: 10px;">{Invoice Upload:body}</div><br />
	{Invoice Upload:validation}
	{Invoice Upload:description}<br />
</div>
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!