Forum

Thread tagged as: Question, Problem, Blog

Styling only showing on first tagged item

Perch Runway: 3.0.8, PHP: 7.1.8, MySQL: 10.0.31-MariaDB, with PDO
Server OS: Linux, litespeed
Installed apps: content (3.0.8), assets (3.0.8), categories (3.0.8), perch_blog (5.6.1), perch_forms (1.9), perch_gallery (2.8.9), perch_kraken (1.1), chirp_seo (1.1), redfinch_logger (1.0.1), perch_mailchimp (3.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_forms', 'perch_gallery', 'perch_mailchimp', 'chirp_seo', 'redfinch_logger', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/robertsd/public_html/perch
PERCH_CORE: /home/robertsd/public_html/perch/core
PERCH_RESFILEPATH: /home/robertsd/public_html/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 256M, Max POST 32M, Memory: 256M, Total max file upload: 32M
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
Resource folder writeable: Yes
HTTP_HOST: robertsdesign.biz
DOCUMENT_ROOT: /home/robertsd/public_html
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

The first 'li' is missing after the first tagged item in the Perch tagged list below, which affects the styling of the list. Is the code wrong? Also, how could I add a further item to the list which is not part of the perch tag code. e.g <li class="comment"><span>comment:</span>via Twitter</a></li>

<perch:before>
<ul class="detail">
</perch:before>
<li class="tag"><span>tagged:</span></li>
<li></perch:before><a href="/blog/tag/<perch:blog id="tagSlug" />" rel="tag"><perch:blog id="tagTitle" /></a></li>
<perch:after>
</ul>
</perch:after>
<li class="tag"><span>tagged:</span></li>
<li><a href="/blog/tag/net-neutrality" rel="tag">Net Neutrality</a></li>
<a href="/blog/tag/isp" rel="tag">ISP</a></li>
<a href="/blog/tag/fcc" rel="tag">FCC</a></li>
David Roberts

David Roberts 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Your <li> is inside the <perch:before>

Duncan Revell

Duncan Revell 78 points
Registered Developer

You've also got two </perch:before> tags in that code snippet - remove the second one.

Thank you for your help.