Support Forum

thumbnails and text

LI lisalew
lisalew
Member

Is there a way to align the thumbnail so that text doesn’t squish to the right side of the image?  In the editor view, the text is being put below or above the image, but it actually displays in-line with the image when it is displayed in the forum.  Any idea where the css is that controls this?

2 Answers

New Answer

LH Lee H
Lee H
Member

lisalew,

In your themes styles, default.php around line 396

#spMainContainer .spTopicPostSection .spPostSection .spPostContentSection .spPostContent p {
  padding-bottom: 1em;
}

add a clear:both to force the text underneath the image. Like so:

#spMainContainer .spTopicPostSection .spPostSection .spPostContentSection .spPostContent p {
  clear: both;
  padding-bottom: 1em;
}

Of course if you make the edit on the default theme it will be lost on next upgrade, unless you’ve made a copy of the theme and made it your own custom version (just a reminder in case).

YS Yellow Swordfish
Yellow Swordfish
Member

It would be worth playing with the display options as well (Content Display) as the default css applied is ‘left’ but you can change that.