Please always enter the name of the template and the Joomla version and the live URL if available

Override für Sticky-Header

Override für Sticky-Header was created by nicbag

Posted 2 years 11 months ago #32537
Ich benutze das "One Page", Template + Joomla sind aktuelle, www.casaestetica.be .
Ich möchte dem Sticky-Header gerne uk-scrollspy-nav hinzufügen.
Ich habe im browser im Quellcode folgendes geändert:
vorher: <ul class="nav astroid-nav d-none d-lg-flex">
nachher: <ul class="nav astroid-nav d-none d-lg-flex" uk-scrollspy-nav="cls: active; closest: li; scroll: true; offset: 100;">
Dann noch 2 Einträge in der custom.css und es funktionierte.

Welchen override muss ich ändern, um meine gewünscht Änderung zu machen?
by nicbag

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

Replied by joomlaplates on topic Override für Sticky-Header

Posted 2 years 11 months ago #32543
Hallo, da es sich hierbei um das Menu handelt, würde ich ein Override vom mod_menu machen und dann anpassen

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

Replied by nicbag on topic Override für Sticky-Header

Posted 2 years 11 months ago #32552
Hallo, danke, der override "mod_menu" ist ja von Anfang an im template enthalten.
Leider weiss ich nicht, welche der Dateien ich nehmen soll, um meinen Code einzufügen.
by nicbag

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

Replied by joomlaplates on topic Override für Sticky-Header

Posted 2 years 11 months ago #32556
Hallo, ok habe gesehen das es anders gemacht werden muss.
1.) Ordner anlegen im Template > html\layouts\header
2.) Nun kopieren sie die Datei von
Joomla\libraries\astroid\framework\frontend\header\sticky.php
zu
html\layouts\frontend\header\sticky.php
[hr]
3.) Nun können sie die sticky anpassen und den Scrollspy einfügen
Last Edit:2 years 11 months ago by joomlaplates
Last edit: 2 years 11 months ago by joomlaplates.

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

Replied by nicbag on topic Override für Sticky-Header

Posted 2 years 11 months ago #32566
Hallo, Danke, ich habe es hinbekommen.
Ich musste jedoch die Datei sticky.php in folgendem Ordner ablegen: Template > html\frontend\header
by nicbag

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

Replied by joomlaplates on topic Override für Sticky-Header

Posted 2 years 11 months ago #32567
Hallo, ok danke für den Hinweiß.
Last Edit:2 years 11 months ago by joomlaplates
Last edit: 2 years 11 months ago by joomlaplates.

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

Professional Joomla Templates with rich documentation and support since 2008. 60+ templates for Joomla 5 & 6.

Joomla 4 Joomla 5 Joomla 6
Contact & Legal
  • support@joomlaplates.com
  • Support Team
  • Mon-Fri: 9:00-18:00 CET

© JoomlaPlates. All rights reserved. 2008 - 2026

JoomlaPlates is not affiliated with or endorsed by the Joomla! Project. Joomla! is a registered trademark of Open Source Matters, Inc.