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
I want to centre content on my 'About' page. Clicking the alignment dialogue seems to do nothing. Am I missing something here?
Also, is there a way to make phone numbers clickable on a smartphone?
thanks
Offline
Hmm. Looks like the alignment control for Primary Content isn't working.
Matt will have to look into it.
For phone numbers, try searching Google on making phone numbers clickable. You'll probably find some html5 for it that you can insert into the page text.
Here's one that showed up right at the top: http://demosthenes.info/blog/536/Adding … -Microdata
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
on centering: you can always use html too:
<h2 style= "text-align:center;">About</h2>
<p style= "text-align:center;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus semper ipsum nibh. Proin vitae erat at enim semper placerat non in metus. Praesent et sodales orci. Maecenas tristique ultricies lorem non lacinia. Mauris sem elit, scelerisque vel laoreet at, placerat a nibh. In nec nunc vel neque sollicitudin euismod. Mauris vitae lorem dui.</p>
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I'll look into the text-align issue next time I'm working on Pages.
Offline
Thanks Rod. Your html workaround does centre text but my other formatting all goes wrong.. I'm sure it's my bad coding but I have no idea why.
Without the centring html: http://af.vu/pages3/about.php
with the centring html: http://af.vu/pages2/about.php
(I'm loosing email links and gaining underscores that are supposed to make bold text)
Also.. managed to make one phone number clickable but only by adding the same line of code twice, otherwise it doesn't show:
__Jim:__ <i style="color: #f93;" class="fa fa-envelope"></i> <jim@af.vu> <i style="color: #f93;" class="fa fa-phone"></i> <a href="tel:+447831507226>07831 507226</a>
<a href="tel:+447831507226”>07831 507226</a>
I appreciate this is about markdown and html and not really about the CE4 Pages but if my stupid errors are obvious, please point them out..
Offline
Markdown doesn't process inside block-level HTML tags. You will have to use the HTML tags instead.
Note that Markdown formatting syntax is not processed within block-level HTML tags. E.g., you can’t use Markdown-style *emphasis* inside an HTML block.
Source: http://daringfireball.net/projects/markdown/syntax#html
You might also want to try writing the content in a Markdown editor, as opposed to directly in Lightroom. That will let you see the changes as you write it, and before you publish. Matt has some recommendations in the docs.
Last edited by kmlucy (2014-09-19 03:24:01)
Kyle Lucy Photography
kylelucy.com
Offline
So it's a bad idea to try mixing Markdown and HTML.. That's a tough one. Thanks for the tips, I'll go spend some more time on this.
Offline
You can't put Markdown within html nor html within Markdown. But you can mix them up. For example, you could use Markdown for a header followed by paragraph tags containing your styling.
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