• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 09.03.16, 19:48
  • Opened by: Kate Support
  • Closed by: Marek
  • Closed on: 09.06.17, 23:43
  • Reason: Closed
  • Comment: Glad to help!

Ticket #9331 - al4.5 - Theme Settings fonts and colors issue

1) Some blocks or buttons doesn’t change to the main color:
http://prntscr.com/byskzz
and in the Theme Settings shows wrong color http://prntscr.com/bysdd2 ( #22c5cc it’s isn’t black color)

2) Some clients argue that we need to extend fonts change in the Theme Settings > Typography & Colors for front-office. A lot of fonts doesn’t change.
I’m agree with that and here is how to do that:

file /modules/pk_themesettings/pk_themesettings.php
line 60-67

"headings" => "h1, #white_bg .lmroman",
"subheadings" => "h6, #white_bg .lmromancaps",
"price" => ".price, .our_price_display",
"text" => "#page p, #page section .rte p, #page section .rte",
"links" => "a",
"bg_image" => "#white_bg",
"bg" => "#white_bg",
"buttons" => "input.button_mini,input.button_small,input.button,input.button_large,input.button_mini_disabled,input.button_small_disabled,input.button_disabled,input.button_large_disabled,input.exclusive_mini,input.exclusive_small,	input.exclusive,input.exclusive_large,input.exclusive_mini_disabled,input.exclusive_small_disabled,input.exclusive_disabled,input.exclusive_large_disabled,a.button_mini,a.button_small,a.button,a.button_large,a.exclusive_mini,a.exclusive_small,a.exclusive,a.exclusive_large,span.button_mini,span.button_small,span.button,span.button_large,span.exclusive_mini,span.exclusive_small,span.exclusive,span.exclusive_large,span.exclusive_large_disabled,.compare-form .button,button.button, #id_new_comment_form .button, .promo_section li .button, input.exclusive, input.exclusive_large,input.exclusive_mini_disabled,input.exclusive_small_disabled,input.exclusive_disabled,input.exclusive_large_disabled,a.button_mini,a.button_small,a.button,a.button_large,a.exclusive_mini,a.exclusive_small,a.exclusive,a.exclusive_large,span.button_mini,span.button_small,span.button,span.button_large,span.exclusive_mini,span.exclusive_small,span.exclusive,span.exclusive_large,span.exclusive_large_disabled,.compare-form .button, button.button, #id_new_comment_form .button",

change to

"headings" => "h1, #white_bg #pattern .lmroman, #white_bg #pattern .lmromandemi, #pattern .testimonial-title, #white_bg #pb-left-column h1, ul.tab-nav li h3 span",
"subheadings" => "#white_bg .lmromancaps, .tabcontent #subheading-example h6, h2, h3, h4, h5, h6, .tab-titles h3, #footer .block h4, #left_column .list-module h4.title_block, .block h4 a, .productscategory_h2",
"price" => ".price, .our_price_display, table#cart_summary tfoot td.price, #isotopeSort .pk-reduction, .pk-reduction",
"text" => "#pattern p, #pattern section .rte p, #pattern section .rte, body .rte, #header a, body #shopping_cart > a, #pk_customlinks li a, #header_user li a, #search_block_top #search_query_top, thead th, label, #usefull_link_block, .breadcrumb, .labels, .testimonial-message, .pkf-indent span, tbody, ul.bullet, .videobg_text, .sortPagiBar, input, button, textarea, select, optgroup, option, .ph_simpleblog .post-info p, .ph_simpleblog .post-content p, .blog-post-data > span, .simpleblog-single .post-additional-info > span, #product_reference .editable, ul.step li a em, ul.step li.step_current span em, ul.step li.step_todo span em, ul.step li.step_current span em, ul.step li a, ul.step li.step_current span, ul.step li.step_todo span, ul.step li.step_current span, .addresses ul.address li, body .flexmenu > ul > li > a span, body .flexmenu > ul > li a, body .flexmenu > ul > li, body .flexmenu > ul, body .flexmenu ul.main-section-links > li > a, body ul.main-section-links ul.main-section-sublinks > li > a, body .flexmenu .menu-product-name, .s_title_block a, a.f_title, .payment_module a, #white_bg .trajan, .productInfo .name, .warning, .pk_aboutus_text, #pk_features li span, #footer .block .block_content ul li, #footer .block .block_content ul li a, .facebook-box .fb_fans, .footer_text, #cookieInfo .indent, .cat_desc p, .sortPagiBar #productsSortForm label, .views span, .product_list > li h3 a, .block li a, #footer li a, body .rte, .box-cart-bottom #wishlist_button, .detail_step_by_step th, #order-detail-content th, table#cart_summary th, .cart_voucher p, #opc_delivery_methods, li.no-products, #header_user li, #authentication #create-account_form .form_content, #authentication #login_form .form_content, #authentication #create-account_form .form_content, #authentication #login_form .form_content",
"links" => "a",
"bg_image" => "#white_bg",
"bg" => "#white_bg",
"buttons" => "input.button_mini,input.button_small,input.button,input.button_large,input.button_mini_disabled,input.button_small_disabled,input.button_disabled,input.button_large_disabled,input.exclusive_mini,input.exclusive_small,	input.exclusive,input.exclusive_large,input.exclusive_mini_disabled,input.exclusive_small_disabled,input.exclusive_disabled,input.exclusive_large_disabled,a.button_mini,a.button_small,a.button,a.button_large,a.exclusive_mini,a.exclusive_small,a.exclusive,a.exclusive_large,span.button_mini,span.button_small,span.button,span.button_large,span.exclusive_mini,span.exclusive_small,span.exclusive,span.exclusive_large,span.exclusive_large_disabled,.compare-form .button,button.button, #id_new_comment_form .button, .promo_section li .button, input.exclusive, input.exclusive_large,input.exclusive_mini_disabled,input.exclusive_small_disabled,input.exclusive_disabled,input.exclusive_large_disabled,a.button_mini,a.button_small,a.button,a.button_large,a.exclusive_mini,a.exclusive_small,a.exclusive,a.exclusive_large,span.button_mini,span.button_small,span.button,span.button_large,span.exclusive_mini,span.exclusive_small,span.exclusive,span.exclusive_large,span.exclusive_large_disabled,.compare-form .button, button.button, #id_new_comment_form .button, .promo_section li .button",
			

Comments

Alex 24 Aug 2016, 16:18

And maybe create separate item for menu fonts