Skip to content

Instantly share code, notes, and snippets.

@muex
muex / Create a One Pager with TYPO3 and TypoScript
Created August 22, 2018 20:41 — forked from koehlersimon/Create a One Pager with TYPO3 and TypoScript
Just a little code snippet to help you building a one pager website with TYPO3 CMS
// The one pager navigation
// You can choose any field from the page record with "{field:fieldname}"
// But I would recommend the field "alias" since it makes sense the most for navigation
lib.onepageMenu = HMENU
lib.onepageMenu{
special = directory
special.value = 44
1 = TMENU
1{
@muex
muex / hovernav.css
Created May 6, 2016 20:42 — forked from SimonPadbury/hovernav.css
This is a simple supplement for Bootstrap 3 to transform the navbar so that the dropdown menu appears on hover instead of on click. No need to modify the Bootstrap 3 js or css at all – simply add this js and css below to your js and css files that are <head> linked *after* the Bootstrap 3 js and css files. Styles for both .navbar-default and .na…
/*
Navbar "hovernav" dropdown menu - this works only for screen sizes larger than phones.
The Bootstrap CSS is unchanged.
*/
@media (min-width: 768px) {
/* Use this if you wish to hide the caret
.navbar-nav .caret {
display: none;
}
*/