1. jbooth59
  2. General
  3. Wednesday, December 05 2018, 01:46 AM
How am I able to make my profile description fields fit the full length of its characters and not be truncated. Please see attached.
Attachments (1)
admin Accepted Answer
Admin
Hi,
Easy Profile uses simple HTML description lists (DL,DD,DT tags), the style of this list is managed by your template.

To provide CSS code to fix it we need to see your site, can you please provide me your site link? to keep it private you can use the form below the reply in "Site Details" tab (we need only Site URL)
  1. more than a month ago
  2. General
  3. # 1
jbooth59 Accepted Answer
Please find my site url in the Site details.
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
sorry for late reply,
you can add following CSS code to fix this:
@media (min-width: 768px){
.dl-horizontal dt{text-overflow:initial;white-space:normal}
}
  1. more than a month ago
  2. General
  3. # 3
jbooth59 Accepted Answer
Is this to be added to the current in use templates css or someplace else. If it is to be applied to the template then I think there is some conflict as the template has this currently. Most specifically the max-width vs the min-width.

@media (max-width: 768px) {
.sppb-addon-image-content .sppb-col-sm-offset-6 {
margin: 0;
}
.sppb-addon-image-content .sppb-col-sm-6 {
width: 100%;
}
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
Hi,
you seems to using a template from Joomshaper.

Joomshaper templates allow you to add custom CSS in 2 ways:
1) custom.css file placed at /templates/your-template-folder/css/
2) before head tag from Extensions->Templates->your template->Custom Code

Most specifically the max-width vs the min-width.
Your CSS code not seems related to DL,DD,DT tags and directives text-overflow and white-space.
  1. more than a month ago
  2. General
  3. # 5
jbooth59 Accepted Answer
Thank you for the information as I believe I now have this working and was very useful to understand this.
  1. more than a month ago
  2. General
  3. # 6
jbooth59 Accepted Answer
I guess I do have one more question. If I change the white-space to nowrap and allow for the whole description field to be displayed what is the controller for the width of that description field? Otherwise it gets truncated.
  1. more than a month ago
  2. General
  3. # 7
admin Accepted Answer
Admin
Hi,
this is not something that you need to manage with white-space directive, you should override the width of the labels.

To find that directive to override with CSS then you can use Google Chrome Inspector*, this tool allow you to see all inherited style from any tag,

*you can open it with "Ctrl+Shift+I" (Windows / Linux) or "Cmd+Opt+I" (Mac).
  1. more than a month ago
  2. General
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.