Advertisement
Guest User

CSS CODE DRAIF

a guest
Aug 16th, 2018
90
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. @media (max-width: 980px) {
  115. .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 {
  116. position: fixed;
  117. }
  118. }
  119.  
  120. .et_mobile_menu {
  121. overflow: scroll !important;
  122. max-height: 83vh;
  123. }
  124.  
  125. /* Increase mobile menu bar height */
  126. .et_header_style_left .mobile_menu_bar {
  127. padding-bottom: 0px;
  128. }
  129.  
  130. /* Moved hamburger down */
  131. .mobile_menu_bar:before {
  132. top: -10px !important;
  133. }
  134.  
  135. @media (max-width:980px) {
  136. .center-text-mobile,
  137. .center-text-mobile .et_pb_text_inner,
  138. .center-text-mobile .et_pb_social_media_follow {
  139. text-align: center!important;
  140. }
  141. }
  142.  
  143. @media (max-width:980px) {
  144. .no-mobile-margin {
  145. margin-bottom: 0!important;
  146. }
  147. }}
  148.  
  149. @media only screen and (max-width: 768px) {
  150. #main-header, #main-header .nav li ul, .et-search-form, #main-header .et_mobile_menu {
  151. background-color: #fff;
  152. }
  153.  
  154.  
  155. .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 {
  156. color: #000000;
  157. }
  158.  
  159. .page-id-9 img#logo {
  160. content: url("https://draif.nl/wp-content/uploads/2018/08/Draif-1024x405.png");
  161. }
  162.  
  163. .page-id-4180 img#logo {
  164. content: url("https://draif.nl/wp-content/uploads/2018/08/Draif-1024x405.png");
  165. }
  166.  
  167. .page-id-4182 img#logo {
  168. content: url("https://draif.nl/wp-content/uploads/2018/08/Draif-1024x405.png");
  169. }
  170.  
  171. .page-id-4184 img#logo {
  172. content: url("https://draif.nl/wp-content/uploads/2018/08/Draif-1024x405.png");
  173. }
  174. }
  175.  
  176. .et_mobile_menu { border-top: 3px solid #1b509f}
  177.  
  178. span.mobile_menu_bar:before {
  179. color: #1b509f !important;
  180. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement