Advertisement
Guest User

Untitled

a guest
Aug 16th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.25 KB | None | 0 0
  1. #footer-bottom {
  2. display:none;
  3. }
  4.  
  5. @media only screen and (min-width: 768px) {
  6. #top-menu a {
  7. color: #ffffff;
  8. }
  9.  
  10. #top-menu a:hover, #top-menu a:focus {
  11. color: #ffffff;
  12. }
  13.  
  14. .et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li>a
  15. .et_header_style_split #et-top-navigation nav>ul>li>a {
  16. padding-bottom: 25px;
  17. padding-right: 15px;
  18. }
  19.  
  20. .et_fullwidth_nav #main-header .container {
  21. width: 100%;
  22. max-width: 100%;
  23. }
  24.  
  25. #logo {
  26. margin-left: 40px;
  27. }
  28. }
  29.  
  30. /* CODE VAN MONICA ET */
  31.  
  32. @media only screen and (min-width: 768px) {
  33. .logo_container {width: unset !important;padding-left: 40px !important;}
  34. img#logo {margin-left: 0 !important;}
  35. .logo_container a:after {
  36. content: '';
  37. position: absolute;
  38. left: 0;
  39. right: 0;
  40. top: 0;
  41. bottom: 0;
  42. background-image: url(https://draif.nl/wp-content/uploads/2018/08/Draif-1024x405.png);
  43. background-repeat: no-repeat;
  44. background-size: cover !important;
  45. opacity: 0;
  46. }
  47. .logo_container a {
  48. display: inline-block;
  49. position: relative;
  50. height: 48px !important;
  51. }
  52. .logo_container a #logo {
  53. max-height: 100% !important;
  54. }
  55. .et-fixed-header .logo_container a:after {
  56. opacity: 1 !important;
  57. }
  58. .et-fixed-header .logo_container #logo {
  59. opacity: 0 !important;
  60. }
  61. }
  62. /* EINDE CODE VAN MONICA ET */
  63.  
  64.  
  65. /*********************************
  66. change logo for fixed header (quick and easy way)
  67. **********************************/
  68.  
  69. .page-id-4188 img#logo{
  70. opacity:0 !important;
  71. }
  72. .page-id-4188 .logo_container a:after{
  73. opacity: 1 !important;
  74. }
  75.  
  76. .page-id-4190 img#logo{
  77. opacity:0 !important;
  78. }
  79. .page-id-4190 .logo_container a:after{
  80. opacity: 1 !important;
  81. }
  82.  
  83. .page-id-4186 img#logo{
  84. opacity:0 !important;
  85. }
  86. .page-id-4186 .logo_container a:after{
  87. opacity: 1 !important;
  88. }
  89.  
  90. /** App Style header and Drop Down Menu **/
  91.  
  92. @media (max-width: 980px) {
  93. .container.et_menu_container {
  94. width: calc( 100% - 60px);
  95. }
  96. }
  97.  
  98. .et_mobile_menu {
  99. margin-left: -30px;
  100. padding: 5%;
  101. width: calc( 100% + 60px);
  102. }
  103.  
  104. .mobile_nav.opened .mobile_menu_bar:before {
  105. content: "\4d";
  106. }
  107.  
  108. /*** MAKE SITE WIDER ON SMALLER SCREENS ***/
  109. @media only screen and (max-width: 980px) {
  110. .et_pb_row {
  111. width: 90%; /*** you might need !important ***/
  112. }
  113. }
  114.  
  115. @media (max-width: 980px) {
  116. .et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
  117. position: fixed;
  118. }
  119. }
  120.  
  121. .et_mobile_menu {
  122. overflow: scroll !important;
  123. max-height: 83vh;
  124. }
  125.  
  126. /* Increase mobile menu bar height */
  127. .et_header_style_left .mobile_menu_bar {
  128. padding-bottom: 0px;
  129. }
  130.  
  131. /* Moved hamburger down */
  132. .mobile_menu_bar:before {
  133. top: -10px !important;
  134. }
  135.  
  136. @media (max-width:980px) {
  137. .center-text-mobile,
  138. .center-text-mobile .et_pb_text_inner,
  139. .center-text-mobile .et_pb_social_media_follow {
  140. text-align: center!important;
  141. }
  142. }
  143.  
  144. @media (max-width:980px) {
  145. .no-mobile-margin {
  146. margin-bottom: 0!important;
  147. }
  148. }
  149.  
  150. @media only screen and (max-width: 768px) {
  151. #main-header, #main-header .nav li ul, .et-search-form, #main-header .et_mobile_menu {
  152. background-color: #fff;
  153. }
  154.  
  155.  
  156. .et_header_style_centered .mobile_nav .select_page, .et_header_style_split .mobile_nav .select_page, .et_nav_text_color_light #top-menu>li>a, .et_nav_text_color_dark #top-menu>li>a, #top-menu a, .et_mobile_menu li a, .et_nav_text_color_light .et_mobile_menu li a, .et_nav_text_color_dark .et_mobile_menu li a, #et_search_icon:before, .et_search_form_container input, span.et_close_search_field:after, #et-top-navigation .et-cart-info {
  157. color: #000000;
  158. }
  159.  
  160. .page-id-9 img#logo {
  161. content: url("https://draif.nl/wp-content/uploads/2018/08/Draif-1024x405.png");
  162. }
  163.  
  164. .page-id-4180 img#logo {
  165. content: url("https://draif.nl/wp-content/uploads/2018/08/Draif-1024x405.png");
  166. }
  167.  
  168. .page-id-4182 img#logo {
  169. content: url("https://draif.nl/wp-content/uploads/2018/08/Draif-1024x405.png");
  170. }
  171.  
  172. .page-id-4184 img#logo {
  173. content: url("https://draif.nl/wp-content/uploads/2018/08/Draif-1024x405.png");
  174. }
  175. }
  176.  
  177. .et_mobile_menu { border-top: 3px solid #1b509f}
  178.  
  179. span.mobile_menu_bar:before {
  180. color: #1b509f !important;
  181. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement