Page 1 of 1

Paragraph Style

Posted: Mon May 11, 2020 5:59 pm
by Smee
I have been working on this site and still cannot figure out why "sometimes" the paragraph formatting works, and at others it doesn't.

Example page: https://www.stevesbodyandframe.com/rights.html

Each heading is followed by text that should be indented by 50. In the WYSIWYG Web Builder program, all are formatted correctly and look great.

When I preview, however, you get what is on the above page. Sometimes the first paragraph in a section will not follow the formatting, sometimes it will. Not consistent either way.

So, I go into the browser and select "View Source" and notice that the software is misapplying the paragraph tags. Is this a bug? It would appear so, but I've been mistaken before.

I remove all formatting from the text in question, save the file, close the program, then reopen the file. Reformat text as needed then preview.

I still have the same problem with alignment as I did before removing the formatting and reapplying. What is happening is that the WYSIWYG Web Builder software is closing the paragraph tag before applying it to SOME of the text.

Image

Is it a bug, or is there a "trick" to formatting paragraphs???

Re: Paragraph Style

Posted: Mon May 11, 2020 6:06 pm
by Pablo
When using the paragraph mode, you cannot apply styles to text.
Paragraph mode was designed for responsive text only, if you use a heading on the text then this will break the responsive structure.
Unfortunately this is a limitation of the Windows text editor (rich-edit), but it was either this of no bullet/paragraph/list support at all, so I choose to include it anyway.

See also:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=34318

Re: Paragraph Style

Posted: Mon May 11, 2020 6:10 pm
by crispy68
To make it simple, after your heading, just insert a normal text object and give it 50px left padding. This will give you the same results you are seeking.

Re: Paragraph Style

Posted: Mon May 11, 2020 6:24 pm
by Smee
crispy68 wrote: Mon May 11, 2020 6:10 pm To make it simple, after your heading, just insert a normal text object and give it 50px left padding. This will give you the same results you are seeking.
Are you saying that each paragraph MUST be its own text frame?
Pablo wrote: Mon May 11, 2020 6:06 pm When using the paragraph mode, you cannot apply styles to text.
Paragraph mode was designed for responsive text only, if you use a heading on the text then this will break the responsive structure.
Unfortunately this is a limitation of the Windows text editor (rich-edit), but it was either this of no bullet/paragraph/list support at all, so I choose to include it anyway.

See also:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=34318
Text in question is not a heading.

Other paragraphs work as they are supposed to . . . if you format paragraph(s) the results should be consistent --- shouldn't they?

If you can't format paragraphs, why is the option there?

Re: Paragraph Style

Posted: Mon May 11, 2020 6:28 pm
by Pablo
If you can't format paragraphs, why is the option there?
The option is there for use with responsive fonts', as mentioned in the help and FAQ.
Styles should not be used in combination with 'responsive fonts', because these options conflict with each other. if you apply a style to characters then this wil reset the underlying 'response fonts' functionality, in that case the complete block will not have the same style anymore.

Re: Paragraph Style

Posted: Mon May 11, 2020 6:36 pm
by Smee
Folks, the software is closing the paragraph tag before the text is is supposed to be affecting.

It should work this way (as it does with most of the paragraphs):
<P paragraph formatting >During the period of your vehicle's original warranty, you have the right to insist on the use of only OEM parts.</P>
The way it is formatting "some" of the paragraphs is this way (completely wrong)
<P paragraph formatting > </P>During the period of your vehicle's original warranty, you have the right to insist on the use of only OEM parts.
That is what I was showing in the image. If you close the paragraph tag, then of course it will not affect the paragraph you want it to affect. If it can't work this way, then why does it work on most of the other paragraphs?

It's like the and tags in the forum (used above in code sections). If I close it BEFORE I enter the text, it won't format it.

EDIT:

Our posts crossed in posting. This was written before your last post Pablo.

Will find another way to achieve what is needed.

Re: Paragraph Style

Posted: Mon May 11, 2020 6:48 pm
by Smee
Found MY ERRORS.

Sorry for the questions.

Re: Paragraph Style

Posted: Mon May 11, 2020 6:58 pm
by crispy68
Are you saying that each paragraph MUST be its own text frame?
No, I didn't say it MUST be. However, making each one it's own text block is easier and generates less code. I simply said the text you are wanting to indent just add left padding to the text object to achieve the same results. This would also eliminate all the unnecessary, numerous <p> tags being generated in the code for every line and be a lot cleaner. Just my opinion.

Re: Paragraph Style

Posted: Mon May 11, 2020 6:59 pm
by alan_sh
Which were? [So we can benefit]

Alan