Image alt text displaying, when I do not want it to?
I thought this was a CSS issue, but after investigating I'm wondering if the issue is to do with something I have set wrong in Perch?
I have set images to have alt text in the following manner:
<img class="img-page-head" style="background-image: url(<perch:if exists="image"><perch:content id="image" type="image" label="Event Image" crop="false" /><perch:else/>/perch/resources/events-img.jpg</perch:if>)" alt="<perch:content id="alt" type="text" label="Alt text" />" />
Perch Runway: 3.0.11, PHP: 7.1.8, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $, with PDO Server OS: Darwin, apache2handler Installed apps: content (3.0.11), assets (3.0.11), categories (3.0.11), perch_blog (5.6.1), perch_forms (1.10) App runtimes: <?php $apps_list = [ 'perch_blog', 'perch_forms', ]; PERCH_LOGINPATH: /perch PERCH_PATH: /Users/Grant/Sites/the-globe/public/perch PERCH_CORE: /Users/Grant/Sites/the-globe/public/perch/core PERCH_RESFILEPATH: /Users/Grant/Sites/the-globe/public/perch/resources Image manipulation: GD PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M F1: 3b606135b33e6a102526838f4152a807 Resource folder writeable: Yes HTTP_HOST: dev.theglobelibrarystokesley.org DOCUMENT_ROOT: /Users/Grant/Sites/the-globe/public REQUEST_URI: /perch/core/settings/diagnostics/ SCRIPT_NAME: /perch/core/settings/diagnostics/index.php