Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Why do images appear only flush left in SilverStripe?

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

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

Page: 1
Go to End
Author Topic: 1270 Views
  • sjbmaine
    Avatar
    Community Member
    17 Posts

    Why do images appear only flush left in SilverStripe? Link to this post

    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?

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: Why do images appear only flush left in SilverStripe? Link to this post

    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

  • sjbmaine
    Avatar
    Community Member
    17 Posts

    Re: Why do images appear only flush left in SilverStripe? Link to this post

    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!

    1270 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.