Text not centering

Issues related to forms.
Post Reply
davidsho
 
 
Posts: 30
Joined: Tue Aug 04, 2015 3:29 pm

Text not centering

Post by davidsho »

Project file here: https://www.dropbox.com/s/6e7lftenrzg5g ... m.wbs?dl=0

This form has a number of single cell layout grids with text boxes in them, including the first two, with text reading (A) "Registration" and (B) "To register..." and one further down that begins (C) "Please select..." The boxes are all Full Width and the text within them is centered. When I preview or publish however, (C) remains centered at all breakpoints as it should, (B) is centered at default width but goes left justified at other breakpoints, and (A) is always left justified. How do I get the (A) and (B) to behave?
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Text not centering

Post by Pablo »

There are multiple issues:

1. You have applied a style to the text's container. For example: PageHeadings <h1> This overrides the default style of the text.
The style does not have alignment so it will fall back to the default 'left'

2. The style is defined as heading style but you have applied it to the text's container. It should be applied directly to the text.
See "Using styles on Text": http://wysiwygwebbuilder.com/style_manager.html

3. When you are using styles in breakpoints, the breakpoints also should have breakpoints.
See "Responsive Styles in the Style Manager": http://wysiwygwebbuilder.com/responsive_text.html
davidsho
 
 
Posts: 30
Joined: Tue Aug 04, 2015 3:29 pm

Re: Text not centering

Post by davidsho »

Thank you as always. Removing the style from the text boxes solved the problem. I will be more careful.
Post Reply