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.
You are not logged in.
Pages: 1
In CE3 there was an option to center page content. That appears to be missing from CE4.
I cant find any sort of alignment options in Markdown either.
Can I center a Markdown page's content, or do I have to do it all in HTML now?
Offline
Markdown doesn't allow for alignment.
I don't see any alignment options so use styling with html to center alignment. For example
<h1 style="text-align:center;">Your Heading</h1>
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Since you can't have markdown inside HTML, I guess I have to just redo everything on the page in HTML.
Offline
You can have HTML inside your markdown code. This should work.
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
I just dumped my Markdown into a Markdown editor, copied the generated HTML and wrapped it in a <div align=center> ... </div>.
I can then just maintain the HTML and forget about Markdown.
Offline
align=center is deprecated and not supported in HTML5, you should be using css instead:
<div style="text-align:center;">.....</div>
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
The 7.0.5 update will include text-alignment control for each page's content and sidebar.
Offline
align=center is deprecated and not supported in HTML5, you should be using css instead:
<div style="text-align:center;">.....</div>
Thanks for the tip Rod.
I am an old school HTML guy. I know CSS, but I tend to use HTML for "quick & dirty" stuff like this. I will definitely change my code.
(at least I rarely use tables anymore :-) )
Offline
rarely??
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1