Browse Source

Coutiore: Fix negative margins issue in footer menu

Allan Cole 6 years ago
parent
commit
a492cd5c5a
3 changed files with 12 additions and 6 deletions
  1. 4 2
      coutoire/sass/_extra-child-theme.scss
  2. 4 2
      coutoire/style-rtl.css
  3. 4 2
      coutoire/style.css

+ 4 - 2
coutoire/sass/_extra-child-theme.scss

@@ -65,12 +65,14 @@ a {
 }
 
 .main-navigation > div > ul > li:first-of-type,
-.social-navigation > div > ul > li:first-of-type {
+.social-navigation > div > ul > li:first-of-type,
+.footer-navigation .footer-menu > li:first-of-type {
 	margin-left: 0;
 }
 
 .main-navigation > div > ul > li:last-of-type,
-.social-navigation > div > ul > li:last-of-type {
+.social-navigation > div > ul > li:last-of-type,
+.footer-navigation .footer-menu > li:last-of-type {
 	margin-right: 0;
 }
 

+ 4 - 2
coutoire/style-rtl.css

@@ -3412,11 +3412,13 @@ a:hover, a:focus {
 	text-decoration: none;
 }
 
-.main-navigation > div > ul > li:first-of-type {
+.main-navigation > div > ul > li:first-of-type,
+.social-navigation > div > ul > li:first-of-type {
 	margin-right: 0;
 }
 
-.main-navigation > div > ul > li:last-of-type {
+.main-navigation > div > ul > li:last-of-type,
+.social-navigation > div > ul > li:last-of-type {
 	margin-left: 0;
 }
 

+ 4 - 2
coutoire/style.css

@@ -3429,12 +3429,14 @@ a:hover, a:focus {
 }
 
 .main-navigation > div > ul > li:first-of-type,
-.social-navigation > div > ul > li:first-of-type {
+.social-navigation > div > ul > li:first-of-type,
+.footer-navigation .footer-menu > li:first-of-type {
 	margin-left: 0;
 }
 
 .main-navigation > div > ul > li:last-of-type,
-.social-navigation > div > ul > li:last-of-type {
+.social-navigation > div > ul > li:last-of-type,
+.footer-navigation .footer-menu > li:last-of-type {
 	margin-right: 0;
 }