Remember me

input text Size

6 years 7 months ago #1

  • Eriberto's Avatar
  • Eriberto
Another newbie question, how do I reduce the text input width?
(Of any box. For example: age = 2 characters)
Thanks

6 years 7 months ago #2

  • Artem's Avatar
  • Artem
  • Posts: 11342
Hello,

No problem :)
Yes, it's possible, open input settings and set maxlength

here is a screen:



Many thanks,
Artem, Balbooa.com

6 years 7 months ago #3

  • Eriberto's Avatar
  • Eriberto
Sorry, I explained wrong, I meant the length of the video field, not the quantity of characters to insert...

6 years 7 months ago #4

  • Artem's Avatar
  • Artem
  • Posts: 11342
Yes, it's possible :)

1. Add class sufix for field ba-input-sm



2. Add CSS code into your template custom.css file
.ba-textInput.tool.ba-input-sm {
    width: 150px;
}

Play with value 150 to get the best view

Many thanks,
Artem, Balbooa.com

6 years 7 months ago #5

  • Eriberto's Avatar
  • Eriberto
Great thanks!
I tried the Protostar template and everything works in wonder. Thanks also for the advice of uninstalling the "plg_scriptmerge", so also the required field * works.
Now there is another problem (we do not miss anything ;-))
I tried to create an override.css for the Gantry Template 5. I followed the instructions here: docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet.
But it does not work ...

What do you think about it?
Write me that ftp access does not work ... Maybe you ask me logs and passes for joomla's backend (administrator) ...?

Thanks again
Eriberto

6 years 7 months ago #6

  • Artem's Avatar
  • Artem
  • Posts: 11342
Hello Eriberto,

If you asked how to add code to the Joomla Website Builder Gridbox I could help you :cheer: . But Gantry it's not our extension, I think the best answer on your question you can get from the Gantry support

Many thanks,
Artem, Balbooa.com
Powered by Kunena Forum