PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Responsive Navigation
Beitrag
<blockquote data-quote="Helpstar24" data-source="post: 2553681"><p>AxelM hat Recht. Ich schreibe Dir heute noch den Code. Dann musst du diesen</p><p>in die CSS Datei mit einpflegen.</p><p></p><p>-> Design -> Editor -> Stylesheet</p><p></p><p>Besser wär's wenn du diesen Code ersetzt.</p><p></p><p>Edit:</p><p></p><p>Öffne wie schon erwähnt die Stylesheet Datei:</p><p>Ab Zeile 74</p><p></p><p>diesen Code bis Zeile 110 ersetzen, einfach Copy und Paste:</p><p>[HTML]</p><p>@media all and (max-width: 680px) {</p><p></p><p> /* Overall */</p><p> .container {margin: 10px auto; width: 90%; overflow: hidden;}</p><p> .header {position: relative; width: 90%; margin: 0 auto; padding: 40px 0 0 0;}</p><p> .section {clear: both; margin: 20px 0;}</p><p> .aside {clear: both; margin: 30px 0; background: #f8f8f8;}</p><p> .footer {clear: both; overflow: hidden; margin: 0 auto; width: 100%; color: #777;}</p><p></p><p> /* .header form */</p><p> .header-form {display: none;}</p><p></p><p> /* .header */</p><p> .header h1,</p><p> .header h5 {font-size: 24px; text-transform: uppercase; margin: 10px 0 0 0; text-align: center;}</p><p> .header-title {color: #575656;}</p><p> .header-desc {margin: 0; color: #777; text-align: center;}</p><p></p><p> /* .nav */</p><p> .mobile-nav {display: block; width: 100%; background: #fff;}</p><p> .tinynav {display: none; width: 100%; margin: 0 auto; background: #fff;}</p><p> .nav {position: relative; width: 96%; background: #575656; display: inline-block; padding: 2%; margin-top: 4px; clear: both; line-height: 1em; text-transform: uppercase;}</p><p></p><p> .nav li {width:100%; height:45px; float:left; display:block; background-color:gray;color:white!important; border-bottom:1px solid silver}</p><p> .nav li a{color:white; width:100%; height:45px; float:left; display:block; padding: 15px; }</p><p> .nav li a:hover{color:silver;}</p><p></p><p> /* .post-info-meta */</p><p> ul.post-info-meta {color: #888; padding: 0;}</p><p> ul.post-info-meta li {list-style: none; float: none;}</p><p> ul.post-info-meta li.post-info-comment {}</p><p></p><p> /* .footer */</p><p> p.footer-copy {background: #575656; padding: 20px; clear: both; font-size: 0.9em; overflow: hidden; margin: 0 auto;}</p><p> p.footer-copy .footer-credit {}</p><p></p><p>}</p><p>[/HTML]</p><p></p><p></p><p>Das schaut dann so aus. Einfach auf das Bild klicken.</p><p></p><p></p><p></p><p></p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>LG,Helpi</p></blockquote><p></p>
[QUOTE="Helpstar24, post: 2553681"] AxelM hat Recht. Ich schreibe Dir heute noch den Code. Dann musst du diesen in die CSS Datei mit einpflegen. -> Design -> Editor -> Stylesheet Besser wär's wenn du diesen Code ersetzt. Edit: Öffne wie schon erwähnt die Stylesheet Datei: Ab Zeile 74 diesen Code bis Zeile 110 ersetzen, einfach Copy und Paste: [HTML] @media all and (max-width: 680px) { /* Overall */ .container {margin: 10px auto; width: 90%; overflow: hidden;} .header {position: relative; width: 90%; margin: 0 auto; padding: 40px 0 0 0;} .section {clear: both; margin: 20px 0;} .aside {clear: both; margin: 30px 0; background: #f8f8f8;} .footer {clear: both; overflow: hidden; margin: 0 auto; width: 100%; color: #777;} /* .header form */ .header-form {display: none;} /* .header */ .header h1, .header h5 {font-size: 24px; text-transform: uppercase; margin: 10px 0 0 0; text-align: center;} .header-title {color: #575656;} .header-desc {margin: 0; color: #777; text-align: center;} /* .nav */ .mobile-nav {display: block; width: 100%; background: #fff;} .tinynav {display: none; width: 100%; margin: 0 auto; background: #fff;} .nav {position: relative; width: 96%; background: #575656; display: inline-block; padding: 2%; margin-top: 4px; clear: both; line-height: 1em; text-transform: uppercase;} .nav li {width:100%; height:45px; float:left; display:block; background-color:gray;color:white!important; border-bottom:1px solid silver} .nav li a{color:white; width:100%; height:45px; float:left; display:block; padding: 15px; } .nav li a:hover{color:silver;} /* .post-info-meta */ ul.post-info-meta {color: #888; padding: 0;} ul.post-info-meta li {list-style: none; float: none;} ul.post-info-meta li.post-info-comment {} /* .footer */ p.footer-copy {background: #575656; padding: 20px; clear: both; font-size: 0.9em; overflow: hidden; margin: 0 auto;} p.footer-copy .footer-credit {} } [/HTML] Das schaut dann so aus. Einfach auf das Bild klicken. :) LG,Helpi [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ▲ = 5, ▼ = 2 und ■ = 7, was ist ▲ × ▼ + ■?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Responsive Navigation
Oben