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

Override für Sticky-Header

  • nicbag
  • nicbag's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0

Override für Sticky-Header was created by nicbag

Posted 1 year 1 month 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 1 year 1 month 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.

  • nicbag
  • nicbag's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0

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

Posted 1 year 1 month 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 1 year 1 month 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:1 year 1 month ago by joomlaplates
Last edit: 1 year 1 month ago by joomlaplates.

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

  • nicbag
  • nicbag's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0

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

Posted 1 year 1 month 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 1 year 1 month ago #32567
Hallo, ok danke für den Hinweiß.
Last Edit:1 year 1 month ago by joomlaplates
Last edit: 1 year 1 month 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/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License