Added email and phone support in navmenu. TODO: language picker
This commit is contained in:
parent
707a0a5ab6
commit
42e82afb0b
@ -457,30 +457,35 @@ input:checked + .slider:before {
|
||||
border-bottom:8px solid #006f18;
|
||||
}
|
||||
|
||||
#nav p { /* For email and phone for example */
|
||||
color:#FFF;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#nav ul { /*lista stílus igazítás*/
|
||||
padding:0;
|
||||
margin:0;
|
||||
list-style: none;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
#nav ul:After {
|
||||
content: "";
|
||||
display:block;
|
||||
clear:both;
|
||||
}
|
||||
}
|
||||
|
||||
#nav ul li {
|
||||
display:list-item;
|
||||
list-style: none;
|
||||
float:left;
|
||||
background-color:#11bf22;
|
||||
}
|
||||
}
|
||||
|
||||
#nav ul li i { /*betűméret - szélesség (ikonsor)*/
|
||||
font-size:30px;
|
||||
width:40px;
|
||||
}
|
||||
}
|
||||
|
||||
#nav ul li a { /*betűméret - menü szöveg*/
|
||||
display:block;
|
||||
@ -516,12 +521,12 @@ input:checked + .slider:before {
|
||||
|
||||
#nav ul ul li i { /*almenü ikon igazítása*/
|
||||
margin-right:12px;
|
||||
}
|
||||
}
|
||||
|
||||
#nav ul ul li a {
|
||||
padding:16px 20px;
|
||||
text-align:left;
|
||||
}
|
||||
}
|
||||
|
||||
/* 3. almenü követően */
|
||||
nav ul ul ul li {
|
||||
|
@ -20,6 +20,9 @@
|
||||
<li><a href="#"><i class="fas fa-envelope-square"></i><Br/>{{ section.contact_text }}</a>
|
||||
<ul>
|
||||
{% if section.facebook %}
|
||||
<li><a href="mailto:{{ section.email }}"><i class="fas fa-envelope-square"></i>Email</a></li>
|
||||
{% endif %}
|
||||
{% if section.facebook %}
|
||||
<li><a href="{{section.facebook}}"><i class="fab fa-facebook"></i>Facebook</a></li>
|
||||
{% endif %}
|
||||
{% if section.linkedin %}
|
||||
@ -33,6 +36,12 @@
|
||||
{% endif %}
|
||||
</ul>
|
||||
</li>
|
||||
{% if section.email or section.phone %}
|
||||
<li>
|
||||
<p>{{ section.email }}</p>
|
||||
<p>{{ section.phone }}</p>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</nav>
|
||||
</section>
|
||||
|
Loading…
x
Reference in New Issue
Block a user