Explore the community Forums Lectora Lectora Suggestions Ability to Set Margin in Entry Box Reply To: Ability to Set Margin in Entry Box

#383689 Score: 1
Profile photo of Joe Wieloch
Joe Wieloch
Moderator
beginner
intermediate
friend finder
contributor
LUC16 Attendee
verified member
wise owl
LUC17 Attendee
advanced
picture perfect
73 pts
@wheels

I know we have this written up somewhere… it’s really becoming essential to making nice looking training.  I’ll see if I can get the product team to put a priority on it!

Until then here is a workaround …

If you are on Lectora 17.1.1 or Lectora Online you can do the following to format all your entry fields for your published course.  Add a Title level On Show Action that Runs Javascript with this:

triv$(‘input,select’).css(‘border’,’0px’).css(‘padding-left’,’10px’).css(‘border-radius’,’10px’);

That gives you input fields without borders, padding on the left, and rounded edges. You can experiment with the css settings to make it look how you would like.  (See attached screenshot)

If your title is a responsive title you will also have to add another action to do the same when a device rotation happens.

This post has received 1 vote up.
  • This reply was modified 2 years, 8 months ago by Profile photo of Joe Wieloch Joe Wieloch.
  • This reply was modified 2 years, 8 months ago by Profile photo of Joe Wieloch Joe Wieloch.
  • This reply was modified 2 years, 8 months ago by Profile photo of Joe Wieloch Joe Wieloch.