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
a1befcc4
Commit
a1befcc4
authored
Sep 20, 2022
by
lmf
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.99.244.21:9999/root/joshine
parents
2dc07bf3
61cb0b84
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
6 deletions
+27
-6
app/code/Magento/Theme/Block/Html/Topmenu.php
+10
-6
app/design/frontend/Joshine/breeze/web/css/_custom.less
+17
-0
No files found.
app/code/Magento/Theme/Block/Html/Topmenu.php
View file @
a1befcc4
...
...
@@ -197,12 +197,7 @@ class Topmenu extends Template implements IdentityInterface
$name
=
$child
->
getData
(
'name'
);
$name
=
strtoupper
(
$name
);
if
(
$name
==
'TOPS'
)
{
$html
.=
'<div class="level'
.
$childLevel
.
' '
.
$childrenWrapClass
.
'">'
;
// $html .= $this->_getHtml($child, $childrenWrapClass, $limit, $colStops);
$html
.=
'1222'
;
$html
.=
'</div>'
;
}
elseif
(
$name
==
'BODYSUITS'
)
{
if
(
$name
==
'BODYSUITS'
||
$name
==
'SUPERDEAL'
)
{
$html
.=
'<div class="level'
.
$childLevel
.
' '
.
$childrenWrapClass
.
'">'
;
$html
.=
'<div class="row">'
;
$html
.=
'<ul class="subchildmenu col-sm-12 mega-columns columns4">'
;
...
...
@@ -227,6 +222,15 @@ class Topmenu extends Template implements IdentityInterface
$html
.=
'</div>'
;
$html
.=
'</div>'
;
$html
.=
'</div>'
;
}
elseif
(
$name
==
'SERVICES'
)
{
$html
.=
'<div class="level'
.
$childLevel
.
' '
.
$childrenWrapClass
.
' col-sm-11">'
;
$html
.=
'<div class="row">'
;
$html
.=
'<ul class="subchildmenu col-sm-9">'
;
$html
.=
$this
->
_getHtml
(
$child
,
$childrenWrapClass
,
$limit
,
$colStops
);
$html
.=
'</ul>'
;
$html
.=
'</div>'
;
$html
.=
'</div>'
;
}
else
{
$html
.=
'<ul class="level'
.
$childLevel
.
'">'
;
$html
.=
$this
->
_getHtml
(
$child
,
$childrenWrapClass
,
$limit
,
$colStops
);
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
a1befcc4
...
...
@@ -1013,6 +1013,23 @@ footer{
color: #666666;
font-family: 'Outfit-Regular', sans-serif;
}
.navigation .subchildmenu.col-sm-9 li{
position: relative;
border: none;
}
.navigation li.level0 .submenu .subchildmenu.col-sm-9 li.level1{
position: relative;
border: none;
}
.navigation li.level0.last{
position: relative;
}
.submenu.col-sm-11{
width: 13rem;
margin-top: 16px;
padding: 10px 0;
}
}
}
...
...
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