Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-01-14 11:17:08

charles101
Member
Registered: 2016-10-15
Posts: 22

Wrap text around photo

I want to create an About page that has text which wraps around a photo which is positioned against the left or right margin. What is the best way to achieve this in Backlight 2 and maintain the responsive qualities of the interface? What if I wanted 2 photos, one against the left margin and the other lower against the right margin?

Thanks and sorry if this question has been asked before.

Offline

#2 2019-01-14 12:07:32

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Wrap text around photo


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2019-01-16 07:59:59

charles101
Member
Registered: 2016-10-15
Posts: 22

Re: Wrap text around photo

As always much thanks Rod. I will give it a go shortly.

Offline

#4 2019-01-16 10:17:35

charles101
Member
Registered: 2016-10-15
Posts: 22

Re: Wrap text around photo

Rod,

Works like a charm. Is there a way to have one portion of text wrap around the photo but a second section of text appear below the photo regardless of the width of the browser?

Thanks.

Offline

#5 2019-01-16 14:00:22

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Wrap text around photo

Use the “clear” property on the text that you want to always fall below the picture:

<p style="clear:left;">Your text......</p>

If you’ve floated the image to the left use clear:left;
Floated right, use clear: right;


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2019-01-17 07:41:28

charles101
Member
Registered: 2016-10-15
Posts: 22

Re: Wrap text around photo

Rod,

Thanks but the "clear" property does not seem to be doing it's magic. Here is a link to the site if you have enough patience and would like to take a look. My goal is to have the contact form on the "about" page fall underneath the picture regardless of the browser width.

www.blackeyeimages.com

Offline

#7 2019-01-17 08:08:11

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Wrap text around photo

The problem looks to be in the quote marks in the inline styling. They're slanted, they should be straight. Did you happen to write the code in a word processor and then copy/paste into the copy area in Backlight?
Write your text either in a plain text editor or in the Backlight copy box.

I've edited my example above and put it in a code box.

I've also updated the post linked to above to include clearing.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2019-01-17 08:52:18

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Wrap text around photo

BTW, I really like your site design


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#9 2019-01-17 09:22:53

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Wrap text around photo

charles101 wrote:

Rod,

Thanks but the "clear" property does not seem to be doing it's magic. Here is a link to the site if you have enough patience and would like to take a look. My goal is to have the contact form on the "about" page fall underneath the picture regardless of the browser width.

www.blackeyeimages.com

It looks like your texteditor did beautify your double quotes... You need to use regular double quotes.

“clear:left;”

vs

"clear:left;" /* correct version*/

Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#10 2019-01-18 08:00:44

charles101
Member
Registered: 2016-10-15
Posts: 22

Re: Wrap text around photo

Thank you so much for the help and great eyes. I had to get out the reading spectacles just to see where I goofed.  smile

Offline

#11 2019-01-18 08:08:58

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Wrap text around photo

It's a really easy one to miss.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB