Kunena 7.0.4 Released

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

Question Centering image

More
9 years 6 months ago #181123 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
9 years 6 months ago - 9 years 6 months ago #181165 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: 9 years 6 months ago by Nemo10.
The following user(s) said Thank You: velieb

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

More
9 years 6 months ago #181168 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).
The following user(s) said Thank You: velieb

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

Time to create page: 0.240 seconds