Is the text always centered in a glossary?

Is the text always centered in a glossary?

av chris engelsma -
Galle vástádusa: 3
Making and linking glossary entries is easy enough. But is the text in the pop-up always going to be centered? Is there anyway to left justify it?
Gjennomsnittlig vurdering: -
Vástádussan geasa: chris engelsma

Re: Is the text always centered in a glossary?

av Joseph Rézeau -
Bilde av Core developers Bilde av Particularly helpful Moodlers Bilde av Plugin developers Bilde av Testers Bilde av Translators

I reported this problem 5 years ago in MDL-23535 point #1:

1.- There is no reason why the text of the definition should be displayed centered. It should normally be displayed left-aligned (or, I suppose, right-aligned for RTL languages).

For what it's worth you might like to add your vote.blunker

Vástádussan geasa: chris engelsma

Re: Is the text always centered in a glossary?

av Francis Kneebone -

Hi Murray, 

I had the same issue, and found shorter definitions look better centred anyway and longer definitions needed some alignment still.  Targeting the CSS for ALL glossary terms doesn't always work with every theme I've found but for each Glossary 'item' if you wrap your definition like this...

<div style="text-align: left";> Your Definition Here </div>


You can do it for the terms that really need it anyway.

This CSS will force it to align on pop-up.