<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Alfred's Serif Users' Forums — nav]]></title>
		<link>https://punster.me/serif/viewtopic.php?id=489</link>
		<atom:link href="https://punster.me/serif/extern.php?action=feed&amp;tid=489&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in nav.]]></description>
		<lastBuildDate>Sat, 07 Oct 2023 12:24:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: nav]]></title>
			<link>https://punster.me/serif/viewtopic.php?pid=3514#p3514</link>
			<description><![CDATA[<p>In the Head section of the HTML fragment you only need</p><div class="codebox"><pre><code>&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css&quot;&gt;
&lt;style&gt;
body {
  margin: 0;
  font-family: Helvetica, sans-serif;
  background-color: ;
}

a {
  color: #000;
}

/* header */

.header {
  background-color: ;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}

.header li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: left;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: &#039;&#039;;
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 440px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* 48em = 768px */

@media (min-width: 48em) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
}


&lt;/style&gt;</code></pre></div><p>In the body section of the Fragment you only need</p><div class="codebox"><pre><code>&lt;header class=&quot;header&quot;&gt;
  
  &lt;input class=&quot;menu-btn&quot; type=&quot;checkbox&quot; id=&quot;menu-btn&quot; /&gt;
  &lt;label class=&quot;menu-icon&quot; for=&quot;menu-btn&quot;&gt;&lt;span class=&quot;navicon&quot;&gt;&lt;/span&gt;&lt;/label&gt;
  &lt;ul class=&quot;menu&quot;&gt;
    &lt;li&gt;&lt;a href=&quot;https://coolvibes-reloaded.com/m.index.html&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://coolvibes-reloaded.com/m.unsigned.html&quot;&gt;Unsigned&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://coolvibes-reloaded.com/m.who-are.html&quot;&gt;Djs&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://coolvibes-reloaded.com/m.bookings.html&quot;&gt;Bookings&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://coolvibes-reloaded.com/m.birthdays.html&quot;&gt;Birthdays&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://coolvibes-reloaded.com/m.shop.html&quot;&gt;Shop&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/header&gt;</code></pre></div><p>Delete the other tags.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (Joe)]]></author>
			<pubDate>Sat, 07 Oct 2023 12:24:12 +0000</pubDate>
			<guid>https://punster.me/serif/viewtopic.php?pid=3514#p3514</guid>
		</item>
		<item>
			<title><![CDATA[nav]]></title>
			<link>https://punster.me/serif/viewtopic.php?pid=3468#p3468</link>
			<description><![CDATA[<p>can someone help me with a hamburger menu please </p><p>i have this code </p><br /><div class="codebox"><pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css&quot;&gt;
&lt;style&gt;
body {
  margin: 0;
  font-family: Helvetica, sans-serif;
  background-color: ;
}

a {
  color: #000;
}

/* header */

.header {
  background-color: ;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}

.header li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: left;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: &#039;&#039;;
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 440px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* 48em = 768px */

@media (min-width: 48em) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
}


&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;header class=&quot;header&quot;&gt;
  
  &lt;input class=&quot;menu-btn&quot; type=&quot;checkbox&quot; id=&quot;menu-btn&quot; /&gt;
  &lt;label class=&quot;menu-icon&quot; for=&quot;menu-btn&quot;&gt;&lt;span class=&quot;navicon&quot;&gt;&lt;/span&gt;&lt;/label&gt;
  &lt;ul class=&quot;menu&quot;&gt;
    &lt;li&gt;&lt;a href=&quot;https://coolvibes-reloaded.com/m.index.html&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://coolvibes-reloaded.com/m.unsigned.html&quot;&gt;Unsigned&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://coolvibes-reloaded.com/m.who-are.html&quot;&gt;Djs&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://coolvibes-reloaded.com/m.bookings.html&quot;&gt;Bookings&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://coolvibes-reloaded.com/m.birthdays.html&quot;&gt;Birthdays&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://coolvibes-reloaded.com/m.shop.html&quot;&gt;Shop&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/header&gt;

&lt;/body&gt;
&lt;/html&gt;</code></pre></div><p>but when i go and test it locally it looks like this<br />i have two i&#039;m testing<br /><a href="https://postimg.cc/RWsyVqrw"><span class="postimg"><img src="https://i.postimg.cc/RWsyVqrw/mobile2.png" alt="https://i.postimg.cc/RWsyVqrw/mobile2.png" /></span></a></p>]]></description>
			<author><![CDATA[null@example.com (strawbs89)]]></author>
			<pubDate>Wed, 20 Sep 2023 20:02:26 +0000</pubDate>
			<guid>https://punster.me/serif/viewtopic.php?pid=3468#p3468</guid>
		</item>
	</channel>
</rss>
