Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
coconva2118
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hanumant Pratap Singh
coconva2118
Commits
bc208503
Commit
bc208503
authored
5 years ago
by
Pradyuman Mishra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added header social icons
parent
69f1ef23
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
11 deletions
+37
-11
header.phtml
...ntend/Sm/shop4u/Magento_Theme/templates/html/header.phtml
+4
-11
_header_general.less
...gn/frontend/Sm/shop4u/web/css/header/_header_general.less
+33
-0
No files found.
app/design/frontend/Sm/shop4u/Magento_Theme/templates/html/header.phtml
View file @
bc208503
...
@@ -18,20 +18,13 @@ if ($compile_less) {
...
@@ -18,20 +18,13 @@ if ($compile_less) {
}
}
?>
?>
<div
class=
"header-container"
>
<div
class=
"header-container
clearfix
"
>
<div
class=
"header-top"
>
<div
class=
"header-top"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-lg-6 col-md-6 top-links"
>
<div
class=
"col-12 col-lg-8 col-md-8"
>
<?php
echo
$block
->
getLayout
()
->
createBlock
(
'Magento\Cms\Block\Block'
)
->
setBlockId
(
'hotlinks-header'
)
->
toHtml
();
?>
<?php
echo
$block
->
getLayout
()
->
createBlock
(
'Magento\Cms\Block\Block'
)
->
setBlockId
(
'customer-support-and-information'
)
->
toHtml
();
?>
</div>
<?php
echo
$block
->
getLayout
()
->
createBlock
(
'Magento\Cms\Block\Block'
)
->
setBlockId
(
'social-icon'
)
->
toHtml
();
?>
<div
class=
"col-lg-6 col-md-6"
>
<div
class=
"currency-language"
>
<?php
echo
$block
->
getChildHtml
(
'language-header'
);
?>
<?php
echo
$block
->
getChildHtml
(
'currency-header'
);
?>
<?php
echo
$block
->
getChildHtml
(
'catalog.compare.link'
);
?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
app/design/frontend/Sm/shop4u/web/css/header/_header_general.less
View file @
bc208503
...
@@ -251,3 +251,36 @@
...
@@ -251,3 +251,36 @@
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
}
}
}
.socialIcon{
margin-top: 8px;
}
.socialIcon a{
text-decoration: none;
cursor: pointer;
display: inline-block;
width: 20px;
height: 20px;
text-align: center;
border-radius: 50%;
}
.socialIcon a:nth-child(n+1){
background: #3b5998;
}
.socialIcon a:nth-child(n+2){
background: #fb3958;
}
.socialIcon a:nth-child(n+3){
background: #c4302b;
}
.socialIcon a:nth-child(n+4){
background: #c8232c;
}
.socialIcon i{
color: #fff;
}
.language-wrapper::before{
background: none !important;
}
.language-wrapper .dropdown li a {
padding-left: 2px;
}
This diff is collapsed.
Click to expand it.
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