- Team Beitrag
Foxly Footer
Möchten Sie unseren Footer nutzen, stellen wir hier eine Schritt-für-Schritt-Anleitung zur Verfügung.
CSS
Fügen Sie Ihrem CSS unter ACP > Anpassung > Stilunabhängiges CSS und SCSS folgenden CSS hinzu und speichern es im Anschluss:
CSS
/* Footer-Boxen */
.boxesFooter {
padding: 20px 30px;
.boxContainer {
@include screen-lg {
margin: 0 -20px;
}
@include screen-md-down {
margin: 0 -10px;
}
@include screen-md-up {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.box {
padding: 0 30px;
display: flex;
flex-direction: column;
height: 100%;
margin-top: -10px; /* Negative obere Marge hinzugefügt */
}
.boxMenu {
display: block;
margin: 0;
> li {
padding: 0;
}
}
.boxTitle + .boxContent {
margin-top: 10px;
align-self: stretch;
}
.boxTitle {
text-transform: uppercase;
text-decoration: underline;
}
.boxContent {
display: flex;
flex-direction: column;
align-items: stretch;
height: 100%;
}
}
.boxImage {
float: none;
width: auto;
}
.boxWithImage .boxContent {
margin-left: 0;
margin-top: 20px;
}
.styleChanger {
display: none;
}
}
.footerfoxlyBox {
align-self: center;
text-align: left;
}
.footerfoxlyBox .footerSocialIcons li a {
color: white;
}
.footerfoxlyBox .footerSocialIcons {
margin-top: 20px;
column-gap: 10px;
display: grid;
grid-template-columns: repeat(4, max-content);
}
.footerfoxlyBox .footerSocialIcon {
align-items: center;
justify-content: center;
border: 1px solid rgba(255, 255, 255, 0.5);
border-radius: 50%;
display: flex;
height: 46px;
text-align: center;
width: 46px;
}
.footerfoxlyBox .footerSocialIcons li:not(:last-child) {
margin-right: 10px;
}
.footerfoxlyBox .footerSocialIcons li {
display: inline-flex;
}
.footerfoxlyBox .footerSocialIcons a.footerSocialIconGithub:hover {
border-color: #171515;
background-color: #171515;
}
.footerfoxlyBox .footerSocialIcons a.footerSocialIconMail:hover {
border-color: #e74c3c;
background-color: #e74c3c;
}
.footerfoxlyBox .footerSocialIcons a.footerSocialIconYouTube:hover {
border-color: #FF0000;
background-color: #FF0000;
}
.footerfoxlyBox .footerSocialIcons .smallbrand img {
max-width: 180px;
}
.boxesFooter a {
padding-bottom: 2px;
color: white;
}
.boxesFooter a:hover {
color: var(--wcfFooterLinkActive);
text-decoration: none;
padding-bottom: 2px;
border-bottom: 1px solid rgba(250, 117, 46, 1);
}
.footerFoxlyBox .footerSocialIcons {
column-gap: 10px;
display: grid;
grid-template-columns: repeat(4, max-content);
justify-content: center;
margin-top: 20px;
}
.footerFoxlyBox {
align-self: center;
text-align: center;
}
.footerFoxlyBox .footerSocialIcons {
column-gap: 10px;
display: grid;
grid-template-columns: repeat(4, max-content);
justify-content: center;
margin-top: 20px;
}
.footerFoxlyBox .footerSocialIcon:hover {
color: #fff !important;
text-decoration: none !important;
}
/* Footer-Boxen Ende*/
Alles anzeigen
Boxen hinzufügen
Sie benötigen hierfür vier Boxen, welche unter ACP > Inhalt > Boxen hinzugefügt werden müssen. Wichtig hierbei ist es, dass Sie jeder Box folgende CSS-Klasse mitgeben und als Position Seitenende wählen:
Hier noch ein Beispiel, wie der Inhalt aussehen könnte:
Code
<p><a href="https://demo.foxly.de/datenschutzerklaerung/"> Datenschutzerklärung</a></p>
<p><a href="https://demo.foxly.de/legal-notice/"> Impressum & Disclaimer</a></p>
Social Box
Die vierte Box bei uns, ist unsere Social-Box hier sieht der Inhalt etwas anders aus und Sie müssten es für sich selbst anpassen.
Die vierte Box muss als Template erstellt werden!
Smarty
<div class="footerFoxlyBox">
<div class="smallbrand">
<div id="pageHeaderLogo" class="pageHeaderLogo">
{if MODULE_WCF_AD && $__disableAds|empty}{@$__wcf->getAdHandler()->getAds('com.woltlab.wcf.logo')}{/if}
<a href="{if PAGE_LOGO_LINK_TO_APP_DEFAULT}{link application=$__wcf->getActiveApplication()->getAbbreviation()}{/link}{else}{link}{/link}{/if}" aria-label="{PAGE_TITLE|phrase}">
<img src="{$__wcf->getStyleHandler()->getStyle()->getPageLogo()}" alt="" class="pageHeaderLogoLarge"{*
*}{if $__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoHeight')} height="{@$__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoHeight')}"{/if}{*
*}{if $__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoWidth')} width="{@$__wcf->getStyleHandler()->getStyle()->getVariable('pageLogoWidth')}"{/if}{*
*} loading="eager">
<img src="{$__wcf->getStyleHandler()->getStyle()->getPageLogoMobile()}" alt="" class="pageHeaderLogoSmall"{*
*}{if $__wcf->getStyleHandler()->getStyle()->getPageLogoSmallHeight()} height="{@$__wcf->getStyleHandler()->getStyle()->getPageLogoSmallHeight()}"{/if}{*
*}{if $__wcf->getStyleHandler()->getStyle()->getPageLogoSmallWidth()} width="{@$__wcf->getStyleHandler()->getStyle()->getPageLogoSmallWidth()}"{/if}{*
*} loading="eager">
{event name='headerLogo'}
</a>
</div>
</div>
<div class="boxContent">
<ul class="footerSocialIcons">
<li>
<a href="https://foxly.de/contact/" class="footerSocialIcon footerSocialIconMail" title="Nehmen Sie Kontakt auf">{icon size=24 type='solid' name='envelope'}</a>
</li>
<li>
<a href="https://github.com/foxly-it" class="footerSocialIcon footerSocialIconGithub" title="Foxly auf Github">{icon size=24 name='github' type='brand'}</a>
</li>
<li>
<a href="https://www.youtube.com/@foxlyit" class="footerSocialIcon footerSocialIconYouTube" title="Foxly auf YouTube">{icon size=24 name='youtube' type='brand'}</a>
</li>
</ul>
</div>
</div>
Alles anzeigen