Kunena 6.3.0 released

The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3

Question Centering image

More
7 years 5 months ago #1 by velieb
Centering image was created by velieb
Hi ,
I would like to find a way to center the inserted images in discussion box (horizontally). I tried css,
.kmsgimage img {
display: block;
margin: 0 auto;
}
but did not wok. Any suggestions?
Thanks.

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

More
7 years 5 months ago - 7 years 5 months ago #2 by Nemo10
Replied by Nemo10 on topic Centering image
I simply highlight the image string/s and click on the align centre" button above

But it has to be done each time you insert.

Oh for a neat solution...
Last edit: 7 years 5 months ago by Nemo10.
The following user(s) said Thank You: velieb

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

More
7 years 5 months ago #3 by WolfgangOWL
Replied by WolfgangOWL on topic Centering image
I tried it with a template override but could not find a satisfying solution. The image was centered ok but the text beneath the image was centered, too. The text above the image was ok. So I modified upload.main.js and applied the CENTER bbcode on the uploaded image.

You need to replace the upload.main.js file in /components/com_kunena/template/crypsis/assets/js with the attached file. Don't forget to make a backup of the original file beforehand!

A page refesh and cache override may be necassary with your browser (Ctrl + F5 width Firefox).
Attachments:
The following user(s) said Thank You: velieb

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

Time to create page: 0.531 seconds