Header Shop bug

This commit is contained in:
Kevin Adametz 2021-09-15 19:09:49 +02:00
parent 39d1e93416
commit 80e6540f73
6 changed files with 23 additions and 11 deletions

View file

@ -77,7 +77,6 @@
color: #535252 !important;
border-color: #989a9c;
}
</style>
</head>
@ -100,7 +99,7 @@
Wenn du dein Land änderst, wirst du von deiner aktuellen Sitzung abgemeldet und dein Warenkorb wird geleert.
</p>
{!! Form::open(['url' => '/change_website_lang']) !!}
<label>Land*</label>
<label>Lieferland*</label>
<select id="change_country_id" name="change_country_id" class="form-control pointer margin-bottom-20">
@foreach ($mylangs as $mycid => $mycountry)
<option value="{{ $mycid }}" @if($country->id === $mycountry->id) selected @endif>{{ $mycountry->getLocated() }}</option>

View file

@ -47,20 +47,33 @@
background-color: transparent;
border: #b0adb3 1px solid;
}
#topBar {
}
#topBar ul.top-links > li > a {
display: inline-block;
}
</style>
@if(isset($mylangs))
<style>
@media only screen and (max-width: 992px) {
/* Force 60px */
#header {
height:105px !important;
}
}
</style>
<div id="topBar">
<div class="container">
<ul class="top-links list-inline pull-right">
<li>
@if (isset($mylangs[\App\Services\Shop::getUserShopLang()]))
@php($country = $mylangs[\App\Services\Shop::getUserShopLang()])
<a id="sidepanel_btn" href="#" class="no-text-underline"><img class="flag-lang" src="/images/flags/{{ strtolower($country->code) }}.png" width="16" height="11" alt="lang" /> {{ $country->getLocated() }}</a>
<span>Lieferland:</span> <a id="sidepanel_btn" href="#" class="no-text-underline"><img class="flag-lang" src="/images/flags/{{ strtolower($country->code) }}.png" width="16" height="11" alt="lang" /> {{ $country->getLocated() }}</a>
@endif
</li>
{{-- <li class="text-welcome hidden-xs">Welcome to Smarty, <strong>John Doe</strong></li>
<li>
<a class="dropdown-toggle no-text-underline" data-toggle="dropdown" href="#"><i class="fa fa-user hidden-xs"></i> MY ACCOUNT</a>
@ -75,9 +88,6 @@
</ul>
</li>--}}
</ul>
</div>
</div>
@endif