Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
cfb7ec6f
Commit
cfb7ec6f
authored
Sep 17, 2022
by
lmf
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.99.244.21:9999/root/joshine
parents
588c0313
db9218f0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
8 deletions
+35
-8
app/code/Magento/Theme/view/frontend/templates/html/topmenu.phtml
+8
-6
app/design/frontend/Joshine/breeze/web/css/_custom.less
+27
-2
No files found.
app/code/Magento/Theme/view/frontend/templates/html/topmenu.phtml
View file @
cfb7ec6f
...
@@ -13,10 +13,12 @@
...
@@ -13,10 +13,12 @@
$columnsLimit
=
$block
->
getColumnsLimit
()
?:
0
;
$columnsLimit
=
$block
->
getColumnsLimit
()
?:
0
;
$_menuHtml
=
$block
->
getHtml
(
'level-top'
,
'submenu'
,
$columnsLimit
)
$_menuHtml
=
$block
->
getHtml
(
'level-top'
,
'submenu'
,
$columnsLimit
)
?>
?>
<div
class=
"nav-sections"
>
<nav
class=
"navigation"
data-action=
"navigation"
>
<ul
data-mage-init=
'{"menu":{"responsive":true, "expanded":true, "position":{"my":"left top","at":"left bottom"}}}'
>
<?=
/* @noEscape */
$_menuHtml
?>
<?=
$block
->
getChildHtml
()
?>
</ul>
</nav>
</div>
<nav
class=
"navigation"
data-action=
"navigation"
>
<ul
data-mage-init=
'{"menu":{"responsive":true, "expanded":true, "position":{"my":"left top","at":"left bottom"}}}'
>
<?=
/* @noEscape */
$_menuHtml
?>
<?=
$block
->
getChildHtml
()
?>
</ul>
</nav>
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
cfb7ec6f
...
@@ -921,4 +921,30 @@ footer{
...
@@ -921,4 +921,30 @@ footer{
}
}
.page-bottom {
.page-bottom {
margin-top: 50px;
margin-top: 50px;
}
}
\ No newline at end of file
.navigation-wrapper{
padding-top: 10px;
padding-bottom: 10px;
background: #f2f2f2;
border-top: 1px solid #e1e1e1;
font-family: 'Outfit-Regular', sans-serif;
.nav-sections{
background: transparent;
}
.navigation li{
position: unset;
}
@media(min-width: 640px){
.navigation .active>a.level-top, .navigation .has-active>a.level-top{
background:none;
}
.navigation-wrapper .opened>a{
background:none;
}
.navigation-wrapper .submenu{
width: 100%;
margin-top: 16px;
}
}
}
Write
Preview
Markdown
is supported
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