Left float images issue
Posted
#6876
(In Topic #1618)
Text only displays 1 line
So if I try to use the float left feature (haven't tried right but I assume it may be same results) the image only shows the first line of a paragraph of text beside it and the rest drops below the text. This looks crapy is there a reason for this? I even used the comcode builder for it so the comcode tage should have added the parameters correctly no?
Posted
Posted
Now I do remember I was playing in the past in the CSS files to get something else to work (I think it may be the blockquote you see) so it may be possible I did something to muck it and I will double check to see what I changed but I am pretty sure it was doing this before I did that.
Source Main News.jpg
Source News Summary.jpg
Main News Output.jpg
News Slider summary output.jpg
Posted
For the slider block, edit the BLOCK_MAIN_IMAGE_FADER_NEWS.tpl template and change…
{$TRUNCATE_LEFT,{$PREG_REPLACE,<img [^>]*>,,{BODY}},600,0,1,1,0.1}
to
{BODY}
The idea here is that if we have images in the summaries they probably will stop it showing neatly in the slider, so they are stripped by the template. In hindsight this is probably something people should do in CSS if they so wish to do so, as it's too much of an assumption.
Posted
0 guests and 0 members have recently viewed this.
