Which css classes to use for custom fields

  • Nico Smets
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #133774 by Nico Smets
Which css classes to use for custom fields was created by Nico Smets
Hi,

which css classes can be used for custom fields (and how to enter them)?
I would like some text to appear sa H2 or H3

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

More
5 years 1 month ago #133779 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Which css classes to use for custom fields
Hello

You can add any custom css you want and then go to Membership Pro -> Configuration, look at Custom CSS tab, enter css code to style the input base on the entered css class

If you want to have text appear as h2 or h3, just create and use Heading custom field type

Tuan

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

  • Nico Smets
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #133794 by Nico Smets
Replied by Nico Smets on topic Which css classes to use for custom fields
Hi Tuan,

thank you for your quick reply.
Perhaps my question is not clear.

I'm already using the 'Heading' type for the custom field. The text is appearing as normal text, not as a heading. What do I need to put in the 'CSS-class' box to make it appear as H2 or H3 based on my sites CSS?

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

More
5 years 1 month ago #133796 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Which css classes to use for custom fields
That depends on css of your site template. You cannot add a css class to make it uses h2/h3 styles of your site template. In this case:
- Submit a support ticket sending us super admin account of the site
- Send us link to the page which has heading you want to change style
- Send us link to the page which has h2/h3 tag which you want to use the style for heading in Membership Pro

We will look at it, get css from your site template and apply it for your heading style to have it works well

Tuan

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

  • Nico Smets
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago - 5 years 1 month ago #133802 by Nico Smets
Replied by Nico Smets on topic Which css classes to use for custom fields
I created the following custom css class:

.titelveld {
color: #e73437;
}

But cannot find the right format to refer to it in the 'CSS-class' field of the custom field.
Last edit: 5 years 1 month ago by Nico Smets.

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

More
5 years 1 month ago #133811 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Which css classes to use for custom fields
Hi Nico

As mentioned, please send us the requested information (via support ticket).

We will check and help you with the necessary css

Tuan

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