Browse Source

- show main menu to all page

dariusz.andryskowski 7 years ago
parent
commit
013fd88eb1
4 changed files with 5 additions and 4 deletions
  1. 0 0
      theme/assets/css/styles.css
  2. 1 0
      theme/assets/less/styles.less
  3. 3 3
      theme/view/footer.php
  4. 1 1
      theme/view/home.php

File diff suppressed because it is too large
+ 0 - 0
theme/assets/css/styles.css


+ 1 - 0
theme/assets/less/styles.less

@@ -734,3 +734,4 @@ footer {
   }
 
 }
+#smad-menu-main{border-bottom: 1px solid #d7142d;}

+ 3 - 3
theme/view/footer.php

@@ -21,10 +21,10 @@
 </footer>
 
 <script type="text/javascript">
-	// TOP MENU (hamburger)
-	if (document.getElementById("smad-page-home")) {
+	// TOP MENU (hamburger) //todo: odkomentować jeśli chcemy aby menu było pokazywane/ukrywane
+	//if (document.getElementById("smad-page-home")) {
 		toggledisplay('smad-menu-main', 'none')
-	}
+	//}
   // show/hide menu
   function toggledisplay(elementID, style = 'none')  {
       (function(style) {

+ 1 - 1
theme/view/home.php

@@ -2,7 +2,7 @@
 <div id="smad-page-home" class="container-fluid">
     <div>
         <div>
-            <div id="smad-menu-form-section" class="border-top-grey">
+            <div id="smad-menu-form-section">
                 <div class="col-md-6 padding-lr-0 smad-border-col">
                     <div class="menu-items text-center">
                         <div class="menu-item">

Some files were not shown because too many files changed in this diff