?
avatar adi8i
adi8i
29 Apr 2015

When you add an image in from article editor, and chose float center, the classs pull center will be added but will still be aligned left.
capture

Test it here: http://joomla-adi8i.c9.io/index.php/6-test-article-number-6

Or may be something wrong with my configuration, anyway if anyone could test would be great :)

avatar adi8i adi8i - open - 29 Apr 2015
avatar infograf768
infograf768 - comment - 29 Apr 2015

The tip explains you need a specific class.
screen shot 2015-04-29 at 07 57 06

html code is, for example:
<figure class="pull-center"><img title="a title" src="images/joomla_black.gif" alt="" /><figcaption>Center chosen in Image float</figcaption></figure>

In Protostar, the css are:

figure {
    display: table;
}
figure.pull-center,
img.pull-center {
    margin-left: auto;
    margin-right: auto;
}
figcaption {
    display: table-caption;
    caption-side: bottom;
}
avatar Bakual
Bakual - comment - 29 Apr 2015

In short: the template needs to support it, otherwise it will not work. Not a core issue.

avatar Bakual Bakual - change - 29 Apr 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-04-29 06:39:12
Closed_By Bakual
avatar Bakual Bakual - close - 29 Apr 2015
avatar Bakual Bakual - close - 29 Apr 2015
avatar zero-24 zero-24 - close - 29 Apr 2015
avatar adi8i
adi8i - comment - 29 Apr 2015

Ooook thanks for your answer :)

avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment