Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Why do images appear only flush left in SilverStripe?


3 Posts   1297 Views


17 September 2008 at 9:33am (Last edited: 17 September 2008 9:37am), Community Member, 17 Posts

I've played with the demo on the silverstripe site and I've played with a couple of templates. They all seem to have this same problem. When inserting an image you are allowed to tell the image to align right with text wrap, but it doesn't work. Align center does not work either. The only thing that works is flush left. This is true in the text editor view and from the front end.

I've got to figure out how to get this to work properly. Any suggestions?


17 September 2008 at 12:15pm Forum Moderator, 5511 Posts

If you apply the 'Flush Right' to the image then view the source is there a 'right' class on the image? It could be 1 of 2 things - the CMS isnt saving the left/right class or there is no CSS styling to float it right on the front end


18 September 2008 at 1:13pm Community Member, 17 Posts

You know, I finally pulled the code from your blackcandy style sheet and got it to work just fine. There must be something off in the template that I was using. Thank you for your time!