Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Kudos-Website
Commits
cbf29c96
Commit
cbf29c96
authored
Oct 12, 2020
by
Michael Iseard
Browse files
Fix mobile menu on home page
parent
3950665f
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/setup.php
View file @
cbf29c96
...
@@ -295,7 +295,7 @@ add_action( 'wp_head',
...
@@ -295,7 +295,7 @@ add_action( 'wp_head',
global
$template
;
global
$template
;
$template
=
basename
(
$template
);
$template
=
basename
(
$template
);
$post_type
=
get_post_type
();
$post_type
=
get_post_type
();
$color
=
'
transparent
'
;
$color
=
'
#fff
'
;
if
(
$template
===
'template-faq.blade.php'
||
$post_type
===
'faq'
)
{
if
(
$template
===
'template-faq.blade.php'
||
$post_type
===
'faq'
)
{
$color
=
'#2ec4b6'
;
// Green
$color
=
'#2ec4b6'
;
// Green
...
...
resources/assets/styles/layouts/_header.scss
View file @
cbf29c96
header
.banner
{
header
.banner
{
transition
:
background-color
0
.4s
ease
;
transition
:
background-color
0
.4s
ease
,
height
0
.2s
ease
;
background-color
:
transparent
;
background-color
:
transparent
;
z-index
:
4
;
z-index
:
4
;
opacity
:
0
.9
;
opacity
:
0
.9
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment