Wrap text under and image floated left on the yoo sun template

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
ArtsIndustry
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jan 29, 2018 5:03 pm

Wrap text under and image floated left on the yoo sun template

Postby ArtsIndustry » Tue Feb 20, 2018 3:45 pm

Hi,

I have a website built with the Yootheme Sun template which works great in most instances. However, when we set a full article image to float left, the text runs in a column to the right rather than wrapping underneath it. This means there's a massive waste of space on long articles.

I know this could be fixed on the article by adding the image into the article in the editor, rather than in the images and links tab, but this causes issue else where.

Does anyone know an easy solution, or an extension that would allow text wrapping under a full article image floated left?

Cheers,

gws
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3321
Joined: Tue Aug 23, 2005 1:56 pm
Location: Kent / Sussex / Surrey border UK
Contact:

Re: Wrap text under and image floated left on the yoo sun template

Postby gws » Wed Feb 21, 2018 8:49 am

Try adding style="clear: none;" to the image.

ArtsIndustry
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jan 29, 2018 5:03 pm

Re: Wrap text under and image floated left on the yoo sun template

Postby ArtsIndustry » Wed Feb 21, 2018 11:21 am

Thanks.

Apologies if I'm misunderstanding, but how do I add style code to the images added in the 'images and links' tab? The image info currently doesn't show up in the article's source code. Also, I ideally want this change to reflect in all new article uploads without the author having to make a code change each time.

Thanks again.

gws
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3321
Joined: Tue Aug 23, 2005 1:56 pm
Location: Kent / Sussex / Surrey border UK
Contact:

Re: Wrap text under and image floated left on the yoo sun template

Postby gws » Wed Feb 21, 2018 11:26 am

Which editor are you using?
EDIT apologies I misread your question, I thought you were using images in the article.

ArtsIndustry
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Jan 29, 2018 5:03 pm

Re: Wrap text under and image floated left on the yoo sun template

Postby ArtsIndustry » Wed Feb 21, 2018 11:57 am

No, unfortunately while using images in the article might fix the wrap issue when looking at the full article, it then means an image shows up in the preview on the home page.

I was hoping someone might know of an extension that would allow me to set a text wrap to apply to the full article image added via the image and links tab.


Return to “Templates for Joomla! 3.x”

Who is online

Users browsing this forum: No registered users and 7 guests