Input boxes too small to see text

  • Sue McQueen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago #98331 by Sue McQueen
Input boxes too small to see text was created by Sue McQueen
Hi Tuan
How can I change the size of the input boxes, please - see screenshot with person's details blanked out - the customer can't see the text they are adding.
The site will be 'live' on Friday so a bit urgent...! ;)


Sue

"I can see clearly now the brain has gone..."
Attachments:

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

More
6 years 11 months ago #98335 by James Riley
Replied by James Riley on topic Input boxes too small to see text
This is a CSS issue that keeps popping up with some templates.
Please try applying the fix that I've posted here:
www.joomdonation.com/forum/events-bookin...kout-page.html#97818

If this CSS doesn't work, then I'll need to take a look at a live example (post a link if your site is live), or you'll need to have the Dev team fix it via a support ticket request.

@Tuan -- In addition to the sites your template developer has fixed, I think I've posted fixes to this issue at least 6 times for different users. Let's get your developer to fix it in the core release :)

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
The following user(s) said Thank You: Sue McQueen

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

More
6 years 11 months ago #98342 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Input boxes too small to see text
Thanks James. Could you please help making a pull request with this css fix so that we can get it merged into core package? I trust your css skill :)

Tuan

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

  • Sue McQueen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago - 6 years 11 months ago #98370 by Sue McQueen
Replied by Sue McQueen on topic Input boxes too small to see text
I can't replicate the error; its others who have told me so I can't tell yet if the css has worked or not - feel free to look
steelcity2017.co.uk/booking/conference-booking
Is there a way to make the input box for the "Number of People" in the Group setting smaller , please? The large box makes people think they have to add names EVEN THOUGH it says "number of..."!

Thanks

"I can see clearly now the brain has gone..."
Last edit: 6 years 11 months ago by Sue McQueen.

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

More
6 years 11 months ago - 6 years 11 months ago #98377 by James Riley
Replied by James Riley on topic Input boxes too small to see text
Thanks for posting the link!

Yes -- the CSS you applied has fixed the issue. I use FireFox, which is prone to this CSS issue (as is Safari on the Mac and iOS platforms), and by toggling the "fix" off and on in the CSS inspector, I can see the problem appear and disappear on your site due to the applied CSS.

As for the "Number of Registrants" box, it looks like your template's CSS rules are overriding bootstrap's default behavior for all input elements and causing this "input-mini" input element to be pushed to 100% width instead of the 60px width that Bootstrap defines the "input-mini" class.


I also noticed that some of your text fields are appearing higher than others, this time caused by the Gantry 5 framework that your template uses, pushing the height to a min 28px instead of the default 20px.


LET'S FIX IT!!!!!!!!!!!!!!
Replace my previous block of CSS with the following:
Code:
.eb-container textarea, .eb-container input[type="text"], .eb-container input[type="datetime"], .eb-container input[type="datetime-local"], .eb-container input[type="date"], .eb-container input[type="month"], .eb-container input[type="time"], .eb-container input[type="week"], .eb-container input[type="number"], .eb-container input[type="email"], .eb-container input[type="url"], .eb-container input[type="search"], .eb-container input[type="tel"], .eb-container input[type="color"], .eb-container .uneditable-input { box-sizing: content-box !important; min-height: unset; } .input-mini {width:60px !important;}

Seeing as your template is causing the "input-mini" classed text boxes to expand to 100%, you might want to apply the
Code:
input-mini {width:60px !important;}
CSS rule to your TEMPLATE's custom CSS (if your template provides an option for custom CSS). If you don't know where the option is, or if there isn't an option for it, then just include it in Event Booking's Custom CSS and your registration forms will at least look right :)

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Attachments:
Last edit: 6 years 11 months ago by James Riley.
The following user(s) said Thank You: Sue McQueen

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

More
6 years 11 months ago #98378 by James Riley
Replied by James Riley on topic Input boxes too small to see text

Tuan Pham Ngoc wrote: Thanks James. Could you please help making a pull request with this css fix so that we can get it merged into core package? I trust your css skill :)
Tuan

Creating a pull request via Git now.

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
The following user(s) said Thank You: Tuan Pham Ngoc

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

  • Sue McQueen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago #98388 by Sue McQueen
Replied by Sue McQueen on topic Input boxes too small to see text
Thank you, thank you, thank you!
You have answered all the questions I have, before I even asked them!
I've added the input mini to the custom.css - not sure if thats working though....I'll need to explore further.

BUT...THANK YOU!!!

"I can see clearly now the brain has gone..."

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

Moderators: Tuan Pham Ngoc