End of Support for Joomla 3 - Forum closed

Template MUSICAN - Sticky Menu animieren ?

Template MUSICAN - Sticky Menu animieren ? was created by SZoerner

Posted 6 years 9 months ago #21049
Ich würde gerne im Template MUSICAN das Sticky-Menu animieren, so wie es in anderen Templates auch funktioniert (Menu verschwindet beim scrollen erst, wird dann wieder eingeblendet). Ist dies möglich, und wenn ja, wie kann ich das realisieren?

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Template MUSICAN - Sticky Menu animieren ?

Posted 6 years 9 months ago #21059
Hallo, dass geht wie folgt.
Öffnen sie die Datei > layouts/theme.php und ersetzen sie folgenden Syntax
<?php if ($this->get('fixed_navigation')) echo 'data-uk-sticky'; ?>
mit
<?php if ($this->get('fixed_navigation')) : ?>data-uk-sticky="{top:-300, animation: 'uk-animation-slide-top'}"<?php endif; ?>

Attachment Screenshot_4-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26-27.jpg not found

Attachments:

The following user(s) said Thank You: SZoerner

Please Log in or Create an account to join the conversation.

Replied by SZoerner on topic Template MUSICAN - Sticky Menu animieren ?

Posted 6 years 9 months ago #21064
Danke für die schnelle Antwort !! Habe die genannte Syntax ausgetauscht (siehe Bild). Leider nicht der gewünschte Erfolg. Mit der neuen Syntax scrollt das Menu mit, erscheint aber nicht animiert wieder, obwohl im Customizer unter Optionen/Layouts --> Navigation "Fixed Navigation" mit Haken versehen ist. Setzt ich das ganze wieder zurück auf die alte Syntax, ist das Menu wieder fixiert, aber eben nicht animiert. Habe ich evtl. noch irgend etwas falsch gemacht?

Live (Testseite): musican.stephan-zoerner.de

Attachments:

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Template MUSICAN - Sticky Menu animieren ?

Posted 6 years 9 months ago #21074
Hallo,
1.) Fügen sie mal wieder den Syntax ein
2.) Aktivieren sie das Sticky Menu
The following user(s) said Thank You: SZoerner

Please Log in or Create an account to join the conversation.

Replied by SZoerner on topic Template MUSICAN - Sticky Menu animieren ?

Posted 6 years 8 months ago #21085
Hallo,
ich habe die Syntax wieder drin, und auch "Sticky" aktiviert (siehe beigefügte Bilder), trotzdem bleibt das Menu nicht fest, sondern scollt mit.

Zusätzlich habe ich eine weitere Frage:
Ich habe per custom css ein Hintergrundbild definiert. Dieses wird auch angezeigt, und solange der Content auf der Seite recht lang ist, so dass die Seite gescrollt werden muss, passt das auch prima. Habe ich allerdings nur wenig Content auf der Seite, wird das Hintergrundbild nicht auf der ganzen Seite dargestellt (nur bis zum footer). Der Rest der Seite wird mit der Hintergrundfarbe "aufgefüllt". Kann man das irgendwie abstellen und das Hintergrundbild immer auf der ganzen Seite darstellen?
Vielen Dank im Voraus für die Hilfestellung !
Last Edit:6 years 8 months ago by SZoerner

Attachments:

Last edit: 6 years 8 months ago by SZoerner.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Template MUSICAN - Sticky Menu animieren ?

Posted 6 years 8 months ago #21102
Hallo, bitte senden sie mir eine Mail mit ihren Zugangsdaten an
support@joomlaplates.de
The following user(s) said Thank You: SZoerner

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License