Skip to content
Code-Schnipsel Gruppen Projekte
Commit fa771496 erstellt von Michael Danielczok's avatar Michael Danielczok
Dateien durchsuchen

fix: replace not allowed element to pass the html validator

Übergeordneter c61a594f
No related branches found
No related tags found
2 Merge Requests!25Update 'next-3.x' with latest changes from 'main',!23feat: show product images in basket setting
...@@ -6,28 +6,14 @@ ...@@ -6,28 +6,14 @@
{* Template: default*} {* Template: default*}
{if $faqTemplate == 'default'} {if $faqTemplate == 'default'}
{if $offset} <section itemscope itemtype="https://schema.org/ItemList"
{*
This CSS is used to scroll the page down a bit when accessed with a # in the url.
By doing this the menu no longer hides the linked content.
*}
<style type="text/css">
:target::before {
content: '';
display: block;
height: {$offset}px;
margin-top: -{$offset}px;
}
</style>
{/if}
<section itemscope itemtype="http://schema.org/ItemList"
class="content-template quiqqer-faq clear-fix cologne-quiqqer-faq" class="content-template quiqqer-faq clear-fix cologne-quiqqer-faq"
data-qui="package/quiqqer/faq/bin/Category" data-qui="package/quiqqer/faq/bin/Category"
data-qui-options-offset="{$offset}" data-qui-options-offset="{$offset}"
{if $offset}style="--_qui-faq-scrollOffset: var(--qui-faq-scrollOffset, {$offset}px);"{/if}
> >
{if count($entries)} {if count($entries)}
<ul class="quiqqer-faq-list" id="faqList" name="faqList"> <ul class="quiqqer-faq-list" id="faqList">
{foreach $entries as $Faq} {foreach $entries as $Faq}
<li> <li>
<a href="{url site=$Site}#faq{$Faq->getId()}"> <a href="{url site=$Site}#faq{$Faq->getId()}">
...@@ -40,7 +26,7 @@ ...@@ -40,7 +26,7 @@
{/if} {/if}
{foreach $entries as $Faq} {foreach $entries as $Faq}
<article id="faq{$Faq->getId()}" class="clear-fix"> <article id="faq{$Faq->getId()}" class="quiqqer-faq__entry">
<header> <header>
<h2><span class="fa fa-file-text"></span> {$Faq->getAttribute('title')}</h2> <h2><span class="fa fa-file-text"></span> {$Faq->getAttribute('title')}</h2>
</header> </header>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
{/if} {/if}
{* END language & currency switch *} {* END language & currency switch *}
<span class="cologne-header-control-user"> <div class="cologne-header-control-user">
{if $User->getId()} {if $User->getId()}
{$Avatar->create()} {$Avatar->create()}
{else} {else}
...@@ -34,6 +34,6 @@ ...@@ -34,6 +34,6 @@
<span class="cologne-header-control-user-loader"> <span class="cologne-header-control-user-loader">
<span class="fa fa-pulse fa-circle-o-notch"></span> <span class="fa fa-pulse fa-circle-o-notch"></span>
</span> </span>
</span> </div>
</div> </div>
</div> </div>
\ No newline at end of file
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren