To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #362 (closed enhancement: fixed)

Opened 21 months ago

Last modified 7 months ago

Create textwrap slideshow/richtext variants

Reported by: rickybanister Owned by: johnnyoffline
Priority: major Milestone: 1.6
Component: apostrophePlugin Version:
Keywords: Cc: geoffd, jake
Symfony version: 1.4

Description

We started to develop a solution for wrapping text around images. We need to scope this code to a variant class. When you switch a slideshow and the subsequent rich text slot to the textwrap variant, the text will flow around the slideshow or image. We still need to come up with a way to space out the paragraphs to give them bottom margin despite being display:inline.

Here's the code:

.a-area-body div
{

float: none !important;
display: inline !important;
width: auto !important;
clear: none !important;

}

.a-area-body .a-slideshow
{

clear: none;
width: 200px;

}

.a-area-body .a-slideshow *
{

width: 200px;

}

.a-area-body .a-slot.aRichText h1,
.a-area-body .a-slot.aRichText h2,
.a-area-body .a-slot.aRichText h3,
.a-area-body .a-slot.aRichText h4,
.a-area-body .a-slot.aRichText h5,
.a-area-body .a-slot.aRichText h6,
.a-area-body .a-slot.aRichText p,
.a-area-body .a-slot.aRichText ul,
.a-area-body .a-slot.aRichText ol
{

width: auto;
clear: none;
display: inline;
float: none;

}

text wrap

Attachments

textwrap.png Download (213.5 KB) - added by anonymous 21 months ago.
text wrap

Change History

Changed 21 months ago by anonymous

text wrap

Changed 17 months ago by rickybanister

  • milestone changed from 1.5 to 1.6

Changed 7 months ago by johnnyoffline

  • status changed from new to closed
  • resolution set to fixed

We have reasonably working slots now in the apostropheExtraSlotsPlugin that allow for text wrapping around a slideshow, image, video, etc.

 http://trac.apostrophenow.org/browser/plugins/apostropheExtraSlotsPlugin

Note: See TracTickets for help on using tickets.