Shadows 1.0 text not centering
Collapse
X
-
yes, probably the most fundamental "work shift" of the 21st century for us. basically, mines just open all the time.
-
LOL, yes Inspector is my friend along with the dev tools.Originally posted by Bruce - PhosphorMedia View Posttry using inspector on the containing div and play with "justify-content" one of those settings might give you the appearance you are looking for.
Leave a comment:
-
try using inspector on the containing div and play with "justify-content" one of those settings might give you the appearance you are looking for.
Leave a comment:
-
I tried applying it to the <p> it still didn't work...Originally posted by Bruce - PhosphorMedia View PostDoes u-text-center work with "flex box"? Usually your centering items with a flex grid, you need to use a flex-content directive like these https://css-tricks.com/almanac/prope...stify-content/
If you want the text inside the containers to be centered, you need to apply the center to the inner container <p>
Leave a comment:
-
Does u-text-center work with "flex box"? Usually your centering items with a flex grid, you need to use a flex-content directive like these https://css-tricks.com/almanac/prope...stify-content/
If you want the text inside the containers to be centered, you need to apply the center to the inner container <p>
Leave a comment:
-
Originally posted by Matt Zimmermann View PostHi Leslie,
There should be no reason that isn't working. I have run a couple of tests and that code seems good. Do you have any custom styling for that section that could be overriding the utility class?
I would need to find a default theme-styles.css file and compare it - I'm seeing a lot of "center" for various t-site-header items.
Leave a comment:
-
Hi Leslie,
There should be no reason that isn't working. I have run a couple of tests and that code seems good. Do you have any custom styling for that section that could be overriding the utility class?
Leave a comment:
-
Shadows 1.0 text not centering
I'm using the bold code to try and center the text in this div. I'm including what it is contained within.
It is not centering but aligning left. What am I missing?Code:<section class="o-wrapper t-site-header__masthead"> ... <div class="o-layout o-layout--align-bottom"> ... <div class="o-layout o-layout--align-center u-width-12 u-width-8--l "> .... [B]<div class="o-layout__item u-hidden u-flex--l u-width-3 u-width-3--l u-text-center "><p> My Test </p></div>[/B] ... </div> ... </div> ... </section>
Tags: None
Leave a comment: