WordPress

Allgemein

Technik

Design

Konzept

WordPress Plugins

Interessantes

Vermarktung

Themen

Font / Schriften

Social Media

Youtube

eCommerce

Gemischtes

Kolumne

Webinar

Blog Archiv

Kurse / Webinare

Meine nächste Webinare / Kurse

DIVI 4 – make header sticky / fixed again

von | Okt 22, 2019 | Allgemein | 0 Kommentare

Schlagwörter: DIVI - Englisch

In the new version of Divi by Elegant Themes – there exists no Button or no Switch to activate the sticky header.

What is a sticky header?

Sticky header, also called fixed header, is a smart navigation tool that fixes the menu to the top of screen as the user scrolls down a page.

With Divi 4 you have to activate sticky header, with a simple css code. Add the following code in the ≪section≫ – ≪main element≫.

1
2
3
4
5
6
@media only screen and (min-width: 981px) {
position:fixed;
width:100%;
top:0;
z-index:999;
}

Simple – have fun.





0 Kommentare

Einen Kommentar abschicken

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert