Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
thumbnails and text
Avatar
lisalew
Member
Free Members
sp_UserOfflineSmall Offline
Oct 10, 2011 - 11:45 pm

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?

Avatar
Lee H
Coastal New England (USA)
Member
Free Members
sp_UserOfflineSmall Offline
Oct 11, 2011 - 8:01 am

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).

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 12, 2011 - 4:05 am

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.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626