Advertisement
Guest User

Modified CSS code (to fix media queries & fix WC buttons)

a guest
Nov 27th, 2015
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.18 KB | None | 0 0
  1. @media (min-width:979px){
  2. .home .x-container.max {
  3.     max-width: 750px;
  4.  
  5. }
  6. .page-id-11 .festi-cart  {
  7.   display: none!important;
  8. }
  9. }
  10. @media (min-width:979px){
  11. .home .x-navbar .x-nav > li#menu-item-140 > a {
  12. font-weight: 600;
  13. }
  14. .woocommerce li.product .entry-featured, .woocommerce-page li.product .entry-featured img {
  15.   border:none;
  16. }
  17. .woocommerce li.product .entry-header, .woocommerce-page li.product .entry-header .entry-content {
  18.     font-size: 15px;
  19. }
  20. }
  21. @media (min-width:979px){
  22. .x-navbar .x-brand {
  23. margin-left: -10%;
  24. }
  25. }
  26. @media (min-width:979px){
  27. .home .x-logobar, .home .x-navbar {
  28.   background-color: transparent;
  29.   border:none;
  30. }
  31. .home .x-navbar.x-navbar-fixed-top {
  32.     position: absolute;
  33.     z-index: 10000;
  34. }
  35. .x-navbar .x-nav .sub-menu a {
  36.    font-size: 14px;
  37. }
  38. .ms-alert-box .ms-alert-error {
  39.     border-top-color: #FFF;
  40.     color: #000;
  41.     background-color: #E6E6E6;
  42. }
  43. .lost #loginform {font-size: 12px;}
  44. }
  45. @media (min-width:979px){
  46.  
  47. .page-id-91 .entry-title {display: none;}
  48. .x-navbar-inner .x-container.width {
  49. width: 100% !important;
  50. }
  51. .ms-login-form #user_login {
  52.   width: 40%;
  53. }  
  54. .ms-login-form #user_login {
  55.     background-image: url(http://store.marbergs.com/wp-content/uploads/2015/10/1446061843_male3-e1446043987185.png);
  56.     background-repeat: no-repeat;
  57.     background-position: 95% center;
  58. }  
  59. .ms-login-form #user_pass {
  60.     background-image: url(http://store.marbergs.com/wp-content/uploads/2015/10/1446061870_key-icon-e1446044063476.png);
  61.     background-repeat: no-repeat;
  62.     background-position: 95% center;
  63. }  
  64. .ms-login-form #user_pass {
  65.   width: 40%;
  66. }  
  67. .login-remember {
  68.   display: none;
  69. }
  70. .x-navbar.x-navbar-fixed-top {
  71.       background-color: rgba(255, 255, 255, 0.5)!important;
  72.       box-shadow: none;
  73. }  
  74. .home .x-navbar {
  75.   background-color:transparent!important;
  76.   box-shadow: none;
  77. }
  78. .x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a, .x-navbar .desktop .sub-menu li > a:hover, .x-navbar .desktop .sub-menu li.x-active > a, .x-navbar .desktop .sub-menu li.current-menu-item > a, .x-navbar .desktop .x-nav .x-megamenu > .sub-menu > li > a, .x-navbar .mobile .x-nav li > a:hover, .x-navbar .mobile .x-nav li.x-active > a, .x-navbar .mobile .x-nav li.current-menu-item > a {
  79.     box-shadow: none;
  80.     color: #A2A28C;
  81. }
  82.  
  83. .x-navbar .desktop .x-nav > li > a:hover > span, .x-navbar .desktop .x-nav > li.x-active > a > span, .x-navbar .desktop .x-nav > li.current-menu-item > a > span {
  84.     box-shadow: none;
  85. }
  86. .sub-menu li a:link {
  87.     color: #fff;
  88. }
  89.  
  90. .x-navbar .sub-menu a:hover {
  91.     background-color: #fafafa;
  92. }
  93. .x-navbar-fixed-top {
  94.   background-color: #FFF; /*default navbar background color*/
  95.   border: none;
  96. }
  97. }
  98. @media (min-width:979px){
  99. .home .masthead {
  100.   height:0;
  101. }
  102. }
  103. @media (min-width: 979px){
  104. .home .x-slider-container.below {
  105.     margin-top: 0px;
  106. }
  107. }
  108. @media (min-width:979px){
  109. .home .x-navbar .x-nav-wrap .x-nav > li > a {
  110. color: #ffffff !important;
  111. }
  112. }
  113. @media (min-width:979px){
  114. .home .x-navbar .x-nav-wrap .x-nav > li > a:hover {
  115. color: #E0E0E0 !important;
  116. }
  117. body .desktop .sub-menu {    
  118.      -webkit-border-radius: 0;
  119.      -moz-border-radius: 0;
  120.      border-radius: 0;
  121. }
  122. /* submenu background color */
  123. .masthead-inline .x-navbar .desktop .sub-menu {
  124.     background-color:#636363;
  125. }
  126. /* submenu text color */
  127. .x-navbar .desktop .sub-menu a {
  128.     color:white;
  129. }
  130.  
  131. .x-navbar .desktop .sub-menu a:hover {
  132.     color:white;    /* submenu text color on hover */
  133.     background:#787878; /* submenu item background color on hover */
  134. }
  135. body .x-navbar .sub-menu > li > a {
  136.   color: white !important;
  137. }
  138. a.festi-cart div.festi-cart-content {
  139.   margin-top:17px!important
  140. }
  141. .woocommerce li.product .entry-header .button, .woocommerce-page li.product .entry-header .button {
  142.   opacity: 0.4!important;
  143. }
  144. .woocommerce li.product .entry-header .button:hover, .woocommerce-page li.product .entry-header .button:hover {
  145.   opacity: 0.95!important;
  146. }
  147. .entry-title {
  148.   font-size: 214%;
  149. }
  150. body a#festi-cart.festi-cart.festi-cart-customize {
  151.     background-color: rgba( 255, 255, 255, 0 )!important;
  152. }
  153. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement