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

fix: remove not allowed elements to pass html validator

Übergeordneter f279cfa8
No related branches found
No related tags found
1 Merge Request!18fix: faq category entries are correctly positioned
......@@ -6,28 +6,14 @@
{* Template: default*}
{if $faqTemplate == 'default'}
{if $offset}
{*
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"
<section itemscope itemtype="https://schema.org/ItemList"
class="content-template quiqqer-faq clear-fix"
data-qui="package/quiqqer/faq/bin/Category"
data-qui-options-offset="{$offset}"
{if $offset}style="--_qui-faq-scrollOffset: var(--qui-faq-scrollOffset, {$offset}px);"{/if}
>
{if count($entries)}
<ul class="quiqqer-faq-list" id="faqList" name="faqList">
<ul class="quiqqer-faq-list" id="faqList">
{foreach $entries as $Faq}
<li>
<a href="{url site=$Site}#faq{$Faq->getId()}">
......@@ -41,7 +27,7 @@
<hr />
{foreach $entries as $Faq}
<article id="faq{$Faq->getId()}" class="clear-fix">
<article id="faq{$Faq->getId()}" class="quiqqer-faq__entry">
<header>
<h2>{$Faq->getAttribute('title')}</h2>
</header>
......
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