Advertisement
Guest User

custom_css.php

a guest
Mar 28th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 22.06 KB | None | 0 0
  1. <?php
  2. /*Custom CSS*/
  3.  
  4. //Font
  5. $gg_headings_font = _get_field('gg_headings_font', 'option', array('font' => 'Poppins' ));
  6. $gg_body_font = _get_field('gg_body_font', 'option',array('font' => 'Lora' ));
  7.  
  8. //Text color
  9. $gg_text_body_color = _get_field('gg_text_body_color', 'option','#737373');
  10. $gg_headings_color = _get_field('gg_headings_color', 'option','#000000');
  11. $gg_link_color = _get_field('gg_link_color', 'option','#121416');
  12.  
  13. //Primary color
  14. $gg_primary_color = _get_field('gg_primary_color', 'option','#000000');
  15. //Secondary color
  16. $gg_secondary_color = _get_field('gg_secondary_color', 'option','#fff200');
  17. ?>
  18.  
  19. <?php if ( $gg_headings_font['font'] != 'Poppins' ) : ?>
  20.     h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
  21.     .table>thead>tr>th,
  22.     body .wrap-forms label,
  23.     label,
  24.     .btn-black,
  25.     .btn-black-fill,
  26.     input[type="submit"],
  27.     button[type="submit"],
  28.     .button:not(.add_to_cart_button):not(.product_type_external),
  29.     .btn,
  30.     .product_widget .price_slider_wrapper .price_slider_amount button,
  31.     .more-link,
  32.     .top-bar .logo-wrapper h2,
  33.     .top-bar .logo-wrapper div,
  34.     .whiteModal .gg-header-minicart ul li .white-modal-cnt .white-modal-title,
  35.     .whiteModal .gg-header-minicart .white-modal-subtotal,
  36.     .gg-searchform-wrapper input,
  37.     .product-body > a > h3,
  38.     .posts2 .gg-module-title h2,
  39.     .products-carousel-title h2,
  40.     .craftit-new-items-wrapper .craftit-categories a,
  41.     .box-1 .box-1-left-column .box-item h4,
  42.     .box-1 .box-1-left-column h2,
  43.     .product_categories li a > span.overlay span.title,
  44.     .product_categories_light li a,
  45.     body .fw-package .fw-heading-row span,
  46.     body .fw-package .fw-pricing-row span,
  47.     body .fw-tabs-container .fw-tabs ul li a,
  48.     body .fw-testimonials-2 .fw-testimonials-author .author-name,
  49.     .craftit-posts-widget ul li .cnt .title a,
  50.     .posts1 .craftit-post1-categories a,
  51.     .posts2 .craftit-post1-categories a,
  52.     .post1-item .post1-image .overlay .title,
  53.     .craftit_countify .countify_before,
  54.     .craftit_countify .countify_after,
  55.     .craftit_countify .countify_number,
  56.     blockquote:after,
  57.     .comments-area .media-list .media .media-body h4 a,
  58.     .craftit-gallery-single-header .toRight a,
  59.     .craftit-order-header .craftit_filter span.title,
  60.     .product-image .overlay .wrapper a span,
  61.     .u-columns .forgot-remember .rememberme,
  62.     .woocommerce select.craftit_woo_result_count,
  63.     .woocommerce form.woocommerce-ordering select,
  64.     .woocommerce .products-per-page select,
  65.     .woocommerce .product .summary .variations td.label,
  66.     .woocommerce-tabs .tabs li a,
  67.     .woocommerce-tabs .tabs li:before,
  68.     .woocommerce .shop_table.cart .product-name a,
  69.     .woocommerce form.checkout ul.payment_methods li label,
  70.     .woocommerce .shop_attributes th,
  71.     .woocommerce .shop_table.cart th,
  72.     .woocommerce-MyAccount-navigation ul li a,
  73.     .woocommerce .cart-actions .coupon label,
  74.     .woocommerce .coupon-inpus #coupon_code,
  75.     #reviews #respond h3#reply-title,
  76.     .craftit-post1-header h2,
  77.     .posts2 .gg-module-title h2,
  78.     .products-carousel-title h2 {
  79.         font-family: <?php echo esc_html($gg_headings_font['font']); ?>;
  80.         letter-spacing: 0;
  81.         font-weight: normal;
  82.     }
  83.  
  84.     aside .widget_search input::-webkit-input-placeholder ,
  85.     .craftit_filter_widget .widget_product_search  input::-webkit-input-placeholder {
  86.         font-family: <?php echo esc_html($gg_headings_font['font']); ?>;
  87.     }
  88.     aside .widget_search input:-moz-placeholder,
  89.     .craftit_filter_widget .widget_product_search  input:-moz-placeholder{
  90.         font-family: <?php echo esc_html($gg_headings_font['font']); ?>;
  91.     }
  92.     aside .widget_search input:-ms-input-placeholder,
  93.     .craftit_filter_widget .widget_product_search  input:-ms-input-placeholder {
  94.         font-family: <?php echo esc_html($gg_headings_font['font']); ?>;
  95.     }
  96.     aside .widget_search input::-moz-placeholder,
  97.     .craftit_filter_widget .widget_product_search  input::-moz-placeholder{
  98.         font-family: <?php echo esc_html($gg_headings_font['font']); ?>;
  99.     }
  100.  
  101.     .header-1,
  102.     .page-meta-wrapper h1,
  103.     body .fw-team .fw-team-name h3,
  104.     body .fw-accordion .fw-accordion-title,
  105.     .craftit-icon-box .fw-iconbox-aside .fw-iconbox-title h3,
  106.     .form-builder-item .header.title h2,
  107.     .gg_posts_grid h2.entry-title,
  108.     aside.sidebar-nav h4,
  109.     .craftit-gallery-single-header h1,
  110.     #craftit_filter_widget h4.widget-title,
  111.     .not_found_wrapper h1,
  112.     .woocommerce .product .summary h1.product_title,
  113.     .woocommerce .product .upsells.products h2,
  114.     .woocommerce .product .related.products h2,
  115.     .woocommerce .cart-collaterals .cross-sells h2,
  116.     .woocommerce .cart-collaterals h2,
  117.     .gg_posts_grid article.has-post-thumbnail .entry-title,
  118.     .gg_posts_grid article.sticky .entry-title,
  119.     .posts2 .gg_posts_grid .entry-title {
  120.         letter-spacing: 0;
  121.         font-weight: normal;
  122.     }
  123.  
  124. <?php endif; ?>
  125.  
  126. <?php if ( $gg_body_font['font'] != 'Lora' ) : ?>
  127.     body,
  128.     .whiteModal .gg-header-minicart ul li .white-modal-cnt .white-modal-price,
  129.     .whiteModal .gg-header-minicart ul li .white-modal-cnt .white-modal-qty,
  130.     .whiteModal .gg-header-minicart .white-modal-remove a,
  131.     #main-menu .dropdown-menu li a,
  132.     .posts2 .gg-module-title h6,
  133.     .products-carousel-title h6,
  134.     .box-1 .box-1-left-column .box-item p,
  135.     .instagram .instagram-right,
  136.     .craftit_mailchimp .email input,
  137.     .craftit_mailchimp .email input:focus,
  138.     .craftit_mailchimp .email input:active,
  139.     .widget_archive li,
  140.     .widget_archive li a,
  141.     .posts2 .header .categories,
  142.     .post1-item .post1-image .overlay .categories,
  143.     .craftit_countify  .countify_label,
  144.     body.single-post #content .post-meta .updated,
  145.     blockquote p,
  146.     blockquote,
  147.     .comments-area .media-list .media .media-body p.meta a,
  148.     .comments-area .media-list .media .media-body .replay-button a,
  149.     .craftit-gallery-info .dl-horizontal dt,
  150.     .craftit-gallery-info .dl-horizontal dd,
  151.     #craftit_filter_widget .widget_product_categories ul.product-categories li,
  152.     .white-modal-item .widget_layered_nav ul li,
  153.     .widget_price_filter .price_slider_amount .price_label,
  154.     .u-columns .forgot-remember .lost-password,
  155.     #reviews #comments .comment .description p,
  156.     .wc_payment_methods .about_paypal,
  157.     .woocommerce .woocommerce-MyAccount-content > p:not(.woocommerce-FormRow),
  158.     .woocommerce .woocommerce-MyAccount-content > p:not(.form-row),
  159.     .cart_item .woocommerce-Price-amount,
  160.     .woocommerce .cart-collaterals .cart_totals table td,
  161.     .woocommerce .cart-collaterals .cart_totals table th,
  162.     .craftit-post1-header h6,
  163.     .posts2 .gg-module-title h6,
  164.     .products-carousel-title h6,
  165.     body.single #content .post-meta .updated {
  166.         font-family: <?php echo esc_html($gg_body_font['font']); ?>;
  167.         font-style: normal;
  168.     }
  169.  
  170.     .craftit_mailchimp .email input::-webkit-input-placeholder {
  171.         font-family: <?php echo esc_html($gg_body_font['font']); ?>;
  172.         font-style: normal;
  173.     }
  174.  
  175.     .craftit_mailchimp .email input:-moz-placeholder { /* Firefox 18- */
  176.         font-family: <?php echo esc_html($gg_body_font['font']); ?>;
  177.         font-style: normal;
  178.     }
  179.  
  180.     .craftit_mailchimp .email input::-moz-placeholder {  /* Firefox 19+ */
  181.         font-family: <?php echo esc_html($gg_body_font['font']); ?>;
  182.         font-style: normal;
  183.     }
  184.  
  185.     .craftit_mailchimp .email input:-ms-input-placeholder {  
  186.         font-family: <?php echo esc_html($gg_body_font['font']); ?>;
  187.         font-style: normal;
  188.     }
  189.  
  190.     .entry-caption,
  191.     .gallery-caption,
  192.     caption,
  193.     .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td,
  194.     .table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th,
  195.     select,
  196.     .page-links a,
  197.     .page-links > span:not(.page-links-title),
  198.     .top-bar,
  199.     .top-bar-flags a,
  200.     .whiteModal .gg-header-minicart .white-modal-remove a,
  201.     .whiteModal .alert,
  202.     #main-menu li a,
  203.     #main-menu .dropdown-menu li a,
  204.     body.gg-page-header-align-center .header-page-description,
  205.     .craftit-post1-header h6,
  206.     .posts2 .gg-module-title h6,
  207.     .products-carousel-title h6,
  208.     .products-carousel .blog-date a,
  209.     body .fw-team .fw-team-name span,
  210.     body .fw-accordion .fw-accordion-content,
  211.     .footer-widgets-holder .footer-right .social-icons-widget ul li a,
  212.     .footer-widgets-holder .footer-left-3columns .menu li a,
  213.     .footer-copyright,
  214.     .fw-special-subtitle,
  215.     .contact-us-module .address-module,
  216.     .contact-us-module .phones-emails-module,
  217.     body .fw-call-to-action > div p,
  218.     body .fw-package .fw-pricing-row small,
  219.     .craftit-icon-box .fw-iconbox-aside .fw-iconbox-text p,
  220.     .form-builder-item .header.title p,
  221.     .gg_posts_grid .post-meta,
  222.     .gg_posts_grid .entry-summary,
  223.     .craftit-posts-widget ul li .cnt .post-date,
  224.     .widget_archive li,
  225.     .widget_archive li a,
  226.     .posts2 .gg_posts_grid .entry-header time,
  227.     .posts2 .header .categories,
  228.     .post1-item .post1-image .overlay .categories,
  229.     .inline-categories ul li,
  230.     .single-post .post-date,
  231.     blockquote p,
  232.     .social-text,
  233.     .comments-area .logged-in-as,
  234.     .comments-area .media-list .media .media-body p.meta,
  235.     .craftit-gallery-info .dl-horizontal dt,
  236.     .craftit-gallery-info .dl-horizontal dd,
  237.     .craftit-gallery-info .gallery-description,
  238.     #craftit_filter_widget .widget_product_categories ul.product-categories li,
  239.     .white-modal-item .widget_layered_nav ul li,
  240.     div.pagination ul.pagination li a,
  241.     .widget_price_filter .price_slider_amount .price_label,
  242.     .u-columns .forgot-remember .lost-password,
  243.     #reviews #comments .comment .description p,
  244.     #reviews #comments .comment p.meta time,
  245.     #reviews .woocommerce-noreviews,
  246.     .woocommerce .cart .quantity input.qty,
  247.     .woocommerce .product .summary div[itemprop="description"],
  248.     .woocommerce .product .summary div[itemprop="offers"],
  249.     .woocommerce .product .woocommerce-variation-price,
  250.     .woocommerce-Tabs-panel--description p,
  251.     .woocommerce dl.variation,
  252.     .woocommerce .cart-collaterals .cart_totals table,
  253.     .woocommerce form.checkout #order_review .shop_table,
  254.     .woocommerce form.checkout ul.payment_methods li,
  255.     .woocommerce-message,
  256.     .woocommerce-error,
  257.     .woocommerce-info,
  258.     .woocommerce .product_meta,
  259.     .woocommerce .shop_attributes td,
  260.     .wc_payment_methods .about_paypal,
  261.     .woocommerce .woocommerce-MyAccount-content > p:not(.woocommerce-FormRow),
  262.     .woocommerce .woocommerce-MyAccount-content > p:not(.form-row),
  263.     .woocommerce-Addresses address,
  264.     .single-product p.stock,
  265.     .cart_item .woocommerce-Price-amount {
  266.         font-style: normal;
  267.     }
  268.  
  269. <?php endif; ?>
  270.  
  271.  
  272. <?php if ($gg_text_body_color != '#737373') { ?>
  273.     body,
  274.     caption,
  275.     .top-bar,
  276.     .top-bar a,
  277.     .top-bar-flags a,
  278.     .whiteModal .gg-header-minicart ul li .white-modal-cnt .white-modal-qty,
  279.     .whiteModal .gg-header-minicart .white-modal-remove a,
  280.     .top-bar .cart-shop-top span.gg-products-count,
  281.     .posts2 .gg-module-title h6,
  282.     .products-carousel-title h6,
  283.     .products-carousel .blog-date a,
  284.     body .fw-team .fw-team-name span,
  285.     .footer-widgets-holder .footer-right .social-icons-widget ul li a,
  286.     .footer-widgets-holder .footer-left-3columns .menu li a,
  287.     .footer-copyright,
  288.     .footer-copyright a,
  289.     .craftit_mailchimp .email p,
  290.     .craftit_mailchimp.light,
  291.     .craftit_mailchimp.light h2,
  292.     .craftit_mailchimp.light .email p,
  293.      .craftit-icon-box .fw-iconbox-aside .fw-iconbox-text p,
  294.      .gg_posts_grid .post-meta,
  295.      .widget_archive li,
  296.      .posts1 .craftit-post1-header .craftit-post1-categories a,
  297.     .posts2 .craftit-post1-header .craftit-post1-categories a,
  298.     .posts2 .header .categories,
  299.     .post1-item .post1-image .overlay .categories,
  300.     .comments-area .media-list .media .media-body p.meta a,
  301.     .comments-area .media-list .media .media-body .replay-button a,
  302.     .craftit-gallery-single-header .toRight a,
  303.     .craftit-gallery-info .gallery-description,
  304.     #craftit_filter_widget .widget_product_categories ul.product-categories li a,
  305.     .white-modal-item .widget_layered_nav ul li a,
  306.     .white-modal-item .widget_product_tag_cloud .tagcloud a,
  307.     .u-columns .forgot-remember .lost-password,
  308.     #reviews #comments .comment .description p,
  309.     #reviews #comments .comment p.meta time,
  310.     .woocommerce form.checkout #order_review .shop_table dl.variation dt,
  311.     .woocommerce .woocommerce-MyAccount-content > p:not(.woocommerce-FormRow),
  312.     .woocommerce .woocommerce-MyAccount-content > p:not(.form-row),
  313.     .woocommerce-MyAccount-navigation ul li a,
  314.     .cart_item .woocommerce-Price-amount,
  315.     caption {
  316.         color: <?php echo esc_html($gg_text_body_color); ?>;
  317.     }
  318. <?php } ?>
  319.  
  320.  
  321. <?php if ($gg_headings_color != '#000000') { ?>
  322.     h1,
  323.     h2,
  324.     h3,
  325.     h4,
  326.     h5,
  327.     h6,
  328.     .h1,
  329.     .h2,
  330.     .h3,
  331.     .h4,
  332.     .h5,
  333.     .h6,
  334.     .table>thead>tr>th,
  335.     .table>tbody>tr>th,
  336.     .table>tfoot>tr>th,
  337.     #main-menu li.open ul.dropdown-menu li.active a,
  338.     #main-menu li.open ul.dropdown-menu li a:hover,
  339.     .header-page-description,
  340.     .products-carousel-nav .next:hover,
  341.     .products-carousel-nav .prev:hover,
  342.     .footer-widgets-holder .footer-right .social-icons-widget ul li a .fa,
  343.     .product_categories li a:hover > span.overlay span.title,
  344.     body .fw-testimonials-2 .fw-testimonials-author .author-name,
  345.     .posts1 .craftit-post1-header .craftit-post1-categories a.active,
  346.     .posts2 .craftit-post1-header .craftit-post1-categories a.active,
  347.     .craftit_countify .countify_before,
  348.     .craftit_countify .countify_after,
  349.     .craftit_countify .countify_number,
  350.     .single-post .craftit-single-header .single_left_header_pagination a:hover,
  351.     .single-post .craftit-single-header .single_right_header_pagination a:hover,
  352.     #reviews #comments .comment p.meta strong,
  353.     #reviews #comments .comment .star-rating,
  354.     .woocommerce select.craftit_woo_result_count,
  355.     .woocommerce form.woocommerce-ordering select,
  356.     .woocommerce .products-per-page select,
  357.     .woocommerce-tabs .tabs li.active a,
  358.     .woocommerce dl.variation dt,
  359.     .woocommerce .cart-collaterals .cart_totals table tr th,
  360.     .woocommerce .cart-collaterals .cross-sells h2,
  361.     .woocommerce .shop_table.cart td.actions .cart-collaterals .cart_totals th,
  362.     .woocommerce .shop_table.cart td.actions .cart-collaterals .cart_totals td,
  363.     .woocommerce form.checkout #order_review .shop_table th,
  364.     .woocommerce form.checkout ul.payment_methods li label,
  365.     body.woocommerce-account .shop_table td,
  366.     body.woocommerce-order-received ul.order_details li strong,
  367.     .woocommerce-message,
  368.     .woocommerce-error,
  369.     .woocommerce-info,
  370.     .woocommerce-MyAccount-navigation ul li.is-active a,
  371.     .woocommerce-MyAccount-navigation ul li a:hover,
  372.     .woocommerce-MyAccount-orders a.button.view,
  373.     .social-with-navigation .product-navigation .fa-long-arrow-left:hover,
  374.     .social-with-navigation .product-navigation .fa-long-arrow-right:hover,
  375.     .gg_posts_grid  h2.entry-title a,
  376.     body .wrap-forms label,
  377.     label,
  378.     .form-control,
  379.     .product_categories_light li a,
  380.     .craftit_mailchimp.light .email input,
  381.     .craftit_mailchimp.light .email input:focus,
  382.     .craftit_mailchimp.light .email input:active,
  383.     .posts1 .craftit-post1-header .craftit-post1-categories,
  384.     .posts2 .craftit-post1-header .craftit-post1-categories,
  385.     .post1-item .post1-image .overlay .title,
  386.     .craftit_countify .countify_label,
  387.     .comments-area .media-list .media .media-body h4 a,
  388.     .craftit-gallery-info .dl-horizontal dt,
  389.     .craftit-gallery-info .dl-horizontal dd,
  390.     div.pagination ul.pagination li a:hover,
  391.     div.pagination ul.pagination li a:active,
  392.     div.pagination ul.pagination li a:focus,
  393.     div.pagination ul.pagination li.current a,
  394.     .u-columns .forgot-remember .rememberme,
  395.     .woocommerce .product .summary .variations td.label,
  396.     .woocommerce .shop_attributes th,
  397.     .woocommerce .cart-actions .coupon label,
  398.     .footer-widgets-holder .footer-right .social-icons-widget ul li a:hover,
  399.     .footer-widgets-holder .footer-left-3columns .menu   li a:hover {
  400.         color: <?php echo esc_html($gg_headings_color); ?>;
  401.     }
  402.  
  403.     .craftit_mailchimp.light .email input::-webkit-input-placeholder {
  404.         color: <?php echo esc_html($gg_headings_color); ?>;
  405.     }
  406.     .craftit_mailchimp.light .email input:-moz-placeholder { /* Firefox 18- */
  407.         color: <?php echo esc_html($gg_headings_color); ?>;
  408.     }
  409.  
  410.     .craftit_mailchimp.light .email input::-moz-placeholder {  /* Firefox 19+ */
  411.         color: <?php echo esc_html($gg_headings_color); ?>;
  412.     }
  413.  
  414.     .craftit_mailchimp.light .email input:-ms-input-placeholder {  
  415.         color: <?php echo esc_html($gg_headings_color); ?>;
  416.     }
  417.  
  418.     aside .widget_search input::-webkit-input-placeholder ,
  419.     .craftit_filter_widget .widget_product_search input::-webkit-input-placeholder {  
  420.         color: <?php echo esc_html($gg_headings_color); ?>;
  421.     }
  422.  
  423.     aside .widget_search input:-moz-placeholder,
  424.     .craftit_filter_widget .widget_product_search input:-moz-placeholder{
  425.         color: <?php echo esc_html($gg_headings_color); ?>;
  426.     }
  427.     aside .widget_search input:-ms-input-placeholder,
  428.     .craftit_filter_widget .widget_product_search input:-ms-input-placeholder {
  429.         color: <?php echo esc_html($gg_headings_color); ?>;
  430.     }
  431.     aside .widget_search input::-moz-placeholder,
  432.     .craftit_filter_widget .widget_product_search input::-moz-placeholder{
  433.         color: <?php echo esc_html($gg_headings_color); ?>;
  434.     }
  435.  
  436.  
  437. <?php } ?>
  438.  
  439. <?php if ($gg_link_color != '#121416') { ?>
  440.     a,
  441.     a:hover,
  442.     a:focus,
  443.     input[type="submit"],
  444.     button[type="submit"],
  445.     .button:not(.add_to_cart_button):not(.product_type_external),
  446.     .btn,
  447.     .product_widget .price_slider_wrapper .price_slider_amount button,
  448.     .more-link,
  449.     button.single_add_to_cart_button:hover,
  450.     .btn-primary:hover,
  451.     .btn-primary:active:hover,
  452.     .btn-primary.active:hover,
  453.     .open>.dropdown-toggle.btn-primary:hover,
  454.     .btn-primary:active:focus,
  455.     .btn-primary.active:focus,
  456.     .open>.dropdown-toggle.btn-primary:focus,
  457.     .btn-primary:active.focus,
  458.     .btn-primary.active.focus,
  459.     .open>.dropdown-toggle.btn-primary.focus,
  460.     .top-bar .logo-wrapper h2,
  461.     .top-bar .logo-wrapper div,
  462.     .top-bar .logo-wrapper h2 a,
  463.     .top-bar .logo-wrapper .site-title a,
  464.     .top-bar .cart-shop-top,
  465.     .whiteModal .gg-header-minicart ul li .white-modal-cnt .white-modal-title,
  466.     .whiteModal .gg-header-minicart .white-modal-remove a:hover,
  467.     .whiteModal .gg-header-minicart .white-modal-subtotal,
  468.     #main-menu  li a,
  469.     .product-body > a > h3,
  470.     body .fw-accordion .fw-accordion-title,
  471.     .fw-special-title,
  472.     .craftit_mailchimp .signup .btn,
  473.     .social-icons-shortcode h6,
  474.     body .fw-btn-1,
  475.     body .fw-iconbox-1 .fw-iconbox-image,
  476.     aside.sidebar-nav h4,
  477.     .craftit-posts-widget ul li .cnt .title a,
  478.     .widget_archive li a,
  479.     body.single-post #content .post-meta .updated,
  480.     .single-post .post-date,
  481.     .craftit-order-header .craftit_filter span.title,
  482.     #craftit_filter_widget h4.widget-title,
  483.     .product-image .overlay .wrapper a span,
  484.     .woocommerce .cart .quantity input.qty,
  485.     .woocommerce .product .summary div[itemprop="offers"],
  486.     .woocommerce .product .woocommerce-variation-price,
  487.     .woocommerce .shop_table.cart .product-name a,
  488.     .woocommerce .shop_table.cart th,
  489.     .woocommerce .woocommerce-MyAccount-content p a,
  490.     body.single #content .post-meta .updated {
  491.         color: <?php echo esc_html($gg_link_color); ?>;
  492.     }
  493.  
  494.  
  495. <?php } ?>
  496.  
  497. <?php
  498. /* Primary color */
  499. if ($gg_primary_color != '#000000') :
  500. ?> 
  501.    
  502.     button.single_add_to_cart_button,
  503.     .btn-primary,
  504.     .btn.btn-primary,
  505.     .btn:hover,
  506.     .product_categories li a,
  507.     .product_categories_light li a,
  508.     p.demo_store,
  509.     span.soldout,
  510.     .product-image-wrapper.inverse h3 span,
  511.     #main-menu .mega-menu .sub-menu,
  512.     #main-menu .dropdown-menu,
  513.     .top-bar-flags .dropdown-menu,
  514.     body.gg-header-style-dark .site-header,
  515.     body.gg-header-style-dark .navbar-fixed-top,
  516.     body.gg-header-style-dark #main-menu li a:hover,
  517.     #main-menu li.open a,
  518.     #main-menu li.active a,
  519.     #main-menu li a:hover,
  520.     body.gg-has-stiky-menu .navbar-fixed-top #main-menu li.open a,
  521.     body.gg-has-stiky-menu .navbar-fixed-top #main-menu li.active a,
  522.     body.gg-has-stiky-menu .navbar-fixed-top #main-menu li a:hover,
  523.     .craftit_mailchimp,
  524.     body .fw-btn-1:hover,
  525.     body .fw-btn-1:focus,
  526.     .product-image .overlay .wrapper a.added_to_cart:before,
  527.     .product-image .overlay .wrapper a.add_to_cart_button:before,
  528.     .btn-black:hover,
  529.     .btn-black-fill,
  530.     .woocommerce .cart .quantity input.minus:hover,
  531.     .woocommerce .cart .quantity input.plus:hover,
  532.     .spinner > div{
  533.         background: <?php echo esc_html($gg_primary_color); ?>;
  534.     }
  535.  
  536.     .btn-black,
  537.     .btn-black-fill:hover,
  538.     .craftit_mailchimp.light .signup .btn {
  539.         color: <?php echo esc_html($gg_primary_color); ?>;
  540.     }
  541.  
  542.     .btn-black,
  543.     .btn-black-fill,
  544.     .btn-outline,
  545.     .craftit_mailchimp.light .signup .btn,
  546.     .product_widget .price_slider_wrapper .price_slider_amount button,
  547.     .navbar-default .navbar-toggle {
  548.         border-color: <?php echo esc_html($gg_primary_color); ?>;
  549.     }
  550.  
  551.     .ajax_module_wrapper .product_ajax_loader,
  552.     .ajax_module_wrapper .ajaxLoadMore span {
  553.         border-top-color: <?php echo esc_html($gg_primary_color); ?>;
  554.         border-right-color: <?php echo esc_html($gg_primary_color); ?>;
  555.         border-bottom-color: <?php echo esc_html($gg_primary_color); ?>;
  556.     }
  557.  
  558.     .product_categories li a:hover > span.overlay span.img .svg,
  559.     .product_categories li a:hover > span.overlay span.img svg path,
  560.     .top-bar a.top-search-button svg > g > g,
  561.     .top-bar a.cart-shop-top svg > g > g,
  562.     .product-image .overlay .wrapper a.view .svg > g > g,
  563.     .product-image .overlay .wrapper a.add_to_cart_button .svg > g > g,
  564.     .product-image .overlay .wrapper a.added_to_cart .svg > g > g {
  565.         fill: <?php echo esc_html($gg_primary_color); ?> !important;
  566.     }
  567.  
  568.     .product-image .overlay .wrapper a.view .svg > circle {
  569.         stroke: <?php echo esc_html($gg_primary_color); ?> !important;
  570.     }
  571.    
  572. <?php endif; ?>
  573.  
  574. <?php
  575. /* Secondary color */
  576. if ($gg_secondary_color != '#fff200') :
  577. ?> 
  578.    
  579.     input[type="submit"],
  580.     button[type="submit"],
  581.     .button:not(.add_to_cart_button):not(.product_type_external),
  582.     .btn,
  583.     .product_widget .price_slider_wrapper .price_slider_amount button,
  584.     .more-link,
  585.     button.single_add_to_cart_button:hover,
  586.     .btn-primary:hover,
  587.     .btn-primary:active:hover,
  588.     .btn-primary.active:hover,
  589.     .open>.dropdown-toggle.btn-primary:hover,
  590.     .btn-primary:active:focus,
  591.     .btn-primary.active:focus,
  592.     .open>.dropdown-toggle.btn-primary:focus,
  593.     .btn-primary:active.focus,
  594.     .btn-primary.active.focus,
  595.     .open>.dropdown-toggle.btn-primary.focus,
  596.     mark, .mark,
  597.     #main-menu li a,
  598.     #main-menu li.open ul.dropdown-menu li.active a,
  599.     #main-menu li.open ul.dropdown-menu li a:hover,
  600.     body .fw-btn-1,
  601.     .widget_price_filter .ui-slider:before {
  602.         background: <?php echo esc_html($gg_secondary_color); ?>;
  603.     }
  604.  
  605.     .btn-outline:hover,
  606.     .product_widget .price_slider_wrapper .price_slider_amount button:hover {
  607.         border-color: <?php echo esc_html($gg_secondary_color); ?>;
  608.     }
  609.  
  610.     .ajax_module_wrapper .ajaxLoadMore span {
  611.         border-left-color: <?php echo esc_html($gg_secondary_color); ?>;
  612.     }
  613.  
  614.     blockquote:after {
  615.         color: <?php echo esc_html($gg_secondary_color); ?>;
  616.     }
  617.    
  618. <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement