Bootstrap Classes with custom fields

  • ehrnst
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 4 months ago #39303 by ehrnst
Bootstrap Classes with custom fields was created by ehrnst
Hi,

I am having issues using the bootstrap classes. For example i have a checkbox list that i like to add some styling to. Iv'e tried almost all the "options" from this doc. getbootstrap.com/2.3.2/base-css.html

All the styling i get to work is the default size option in the custom fields, no class seems to work

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

More
11 years 4 months ago #39320 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Bootstrap Classes with custom fields
Hi

How did you add the style to the field ? You add bootstrap css class into the field ? Please explain exactly how you did so that I can think about it and find a solution for you !

Regards,

Tuan

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

  • ehrnst
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 4 months ago #39325 by ehrnst
Replied by ehrnst on topic Re: Bootstrap Classes with custom fields
Hello,

In event booking, custom fields have the "CSS Class" field, below "Rows", "Cols" and "Size"
I have tried several classes on different field types, but i can't get it to work.

in membership pro, i am able to style fields with the same option

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

More
11 years 4 months ago #39356 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Bootstrap Classes with custom fields
Ah, I believe I fixed this error recently. Could you please get this file, unzip it, get the file and upload to components/com_eventbooking/helper folder of your site and check it again ?

Tuan
Attachments:
The following user(s) said Thank You: ehrnst

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

More
10 years 8 months ago #48117 by bfrylinck
Replied by bfrylinck on topic Re: Bootstrap Classes with custom fields
I would like to make the background color of some input fields grey. I defined a class in the custom.css like this:
.greyMe {
background-color: #aaaaaa;
}

and then added greyMe as the CSS class field of the custom field but this is not working. What am I doing wrong? I did add the fields.php file as suggested.

I would also like to change the font color and size of the "message" type field so that it stands out more - how do I do this?

Thank you

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

More
10 years 8 months ago #48135 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Bootstrap Classes with custom fields
Hi

In the latest version, you don't have to upload the file fields.php, it is only needed for old version of Events Booking.

When you view source of the page, do you see the css class greyMe in the html code of the input field ? Maybe you can send us admin account of your site so that I can check it for you.

I would also like to change the font color and size of the "message" type field so that it stands out more


=> I don't really understand what's "stands out more". Could you please explain more details and send me the link to the page so that I can look at it and guide you ?

Regards,

Tuan

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

More
10 years 8 months ago #48141 by bfrylinck
Replied by bfrylinck on topic Re: Bootstrap Classes with custom fields
Hi Tuan, yes, when I view the source code the css class is in the html code of the input field

Re the message type field, I just want to change the color, also with css class

I'll send a support ticket with the login details. Here is the page - check the "From" field underneath "SECTION B - (INTERNAL ADMIN TO COMPLETE THE SECTIONS BELOW)"

mazars.bfreelancewebdesign.co.za/registe...ividual-registration

Thank you so much

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

Moderators: Tuan Pham Ngoc