Page 1 of 1

One page created with WB center-aligning text

Posted: Mon Feb 26, 2018 5:58 pm
by etcbbu
So, I have one page I have done in WB:

http://www.brelsfordpersonnel.com/positions.php

The question is related to the "Job Board" you see as the main element of that page. Notice when you click on one of those jobs, and it takes you to a page where it gives a further description of the job, there are text fields like

"LOCATION"

"TYPE"

"ID"

"POSTED"

which are CENTERED on the page. What are some options in WB that I can alter to stop that text from being centered like that?

The way this "Job Board" is an element on this page is made up of two-things in my WB project:

1) an HTML object, a code snippet that was by third-party company, and handled by their database

2) another HTML object that I define, in WB, as a "CSS in media query", which has a lot of the various CSS colors of links/backgrounds/text in the "Job Board" defined.

That is how this page works. I just want to see about left-justifying those

"LOCATION"

"TYPE"

"ID"

"POSTED"

fields over to the left, within this "Job Board" module. Which WB page options could I manipulate here on this positions.php page (like, in its "Properties or something), that might help define let-justifying these fields?

Re: One page created with WB center-aligning text

Posted: Fri Mar 02, 2018 2:14 am
by etcbbu
*bump*

Would it be helpful if I posted screenshots to demonstrate about what I am talking?

- the two HTML objects (code snippets)
- the way the text is center-justifying

?

Re: One page created with WB center-aligning text

Posted: Fri Mar 02, 2018 2:34 am
by BaconFries
Please try not to 'bump'. Screeshots wouldnt be helpful as you dont have any control from within the software over external scripts and how they position the layout of any text as it is a external script and all postioning is controlled from it which the software can't read as it is external!. This would require you to manually edit the extetnal code yourself or you should contact the developer of the script you are using for advice on how to modify the code to do what you wish. It could also simply be this is how it is meant to be displayed and is not meant to be left justified.

Re: One page created with WB center-aligning text

Posted: Fri Mar 02, 2018 3:11 am
by etcbbu
The external developer has told me that there is some CSS code on the WB-built page that is trumping the left-justification.

So I'm trying to figure out where in WB would be doing it.

Re: One page created with WB center-aligning text

Posted: Fri Mar 02, 2018 5:56 am
by etcbbu
I should've further explained--but part of what this script does is works off of what the main page's CSS settings are, meaning it's going off of what I have defined with WB.

I'm just wondering what alignment controls set in CSS in WB may be referenced by this external script.

Re: One page created with WB center-aligning text

Posted: Fri Mar 02, 2018 7:40 am
by Pablo
The alignment page is centered. As specified by you in the page properties.
If you do not specify a different alignment in your custom code then the element will inherit these properties.

Re: One page created with WB center-aligning text

Posted: Sat Mar 03, 2018 4:36 pm
by robertz
@etcbbu
The external developer has told me that there is some CSS code on the WB-built page that is trumping the left-justification.
Try this:

Go to Tools > Options > HTML
Uncheck:
Generate external css...
Generate single css...

Just do this for the positions.php page and publish (selected page only) to another test folder on your server to see the results.
This should eliminate any extra css code you do not need that might conflict with their external script.