Guest User

Untitled

a guest
Feb 9th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None | 0 0
  1. <?php $rambo_pro_theme_options = theme_data_setup();
  2. $current_options = wp_parse_args( get_option( 'rambo_pro_theme_options', array() ), $rambo_pro_theme_options );
  3. if($current_options['enable_custom_typography']==true)
  4. {
  5. ?>
  6. <style>
  7. .blog_section,.blog_section p,.blog_single_post,.blog_single_post p,.blog_section2,.blog_section2 p,.aboutus_testimonial p,.team_bg,.team_bg p,
  8. .sidebar_widget a,.sidebar_widget div.textwidget,.sidebar_widget p,.footer_widget .textwidget,.footer_widget a,.footer_widget p,
  9. .featured_port_projects p,.home_service p,.latest_news_section p,.portfolio-detail-description p,.our_main_ser_text,.blog_section p, .featured_port_title p, .section-subtitle
  10. {
  11. font-size:<?php echo $current_options['general_typography_fontsize'].'px'; ?> !important;
  12. font-family:<?php echo $current_options['general_typography_fontfamily']; ?> !important;
  13. font-style:<?php echo $current_options['general_typography_fontstyle']; ?> ;
  14. line-height:<?php echo ($current_options['general_typography_fontsize']+5).'px'; ?> !important;
  15.  
  16. }
  17.  
  18. .navbar .nav > li > a{
  19. font-size:<?php echo $current_options['menu_title_fontsize'].'px'; ?> !important;
  20. font-family:<?php echo $current_options['menu_title_fontfamily']; ?> !important;
  21. font-style:<?php echo $current_options['menu_title_fontstyle']; ?> !important;
  22. }
  23.  
  24. .page_head{
  25. font-size:<?php echo $current_options['page_title_fontsize'].'px'; ?> !important;
  26. font-family:<?php echo $current_options['page_title_fontfamily']; ?> !important;
  27. font-style:<?php echo $current_options['page_title_fontstyle']; ?> !important;
  28. }
  29. .blog_single_post h2, .blog_section2 h2, .blog_section h2 {
  30. font-size:<?php echo $current_options['post_title_fontsize'].'px'; ?> !important;
  31. font-family:<?php echo $current_options['post_title_fontfamily']; ?> !important;
  32. font-style:<?php echo $current_options['post_title_fontstyle']; ?> !important;
  33. }
  34.  
  35. .home_service h2 {
  36. font-size:<?php echo $current_options['service_title_fontsize'].'px'; ?> !important;
  37. font-family:<?php echo $current_options['service_title_fontfamily']; ?> !important;
  38. font-style:<?php echo $current_options['service_title_fontstyle']; ?> !important;
  39. }
  40. .featured_port_title h1, .section-title{
  41. font-size:<?php echo $current_options['service_title_fontsize'].'px'; ?> !important;
  42. font-family:<?php echo $current_options['service_title_fontfamily']; ?> !important;
  43. font-style:<?php echo $current_options['service_title_fontstyle']; ?> !important;
  44. }
  45.  
  46. .featured_port_projects h3 {
  47. font-size:<?php echo $current_options['portfolio_title_fontsize'].'px'; ?> !important;
  48. font-family:<?php echo $current_options['portfolio_title_fontfamily']; ?> !important;
  49. font-style:<?php echo $current_options['portfolio_title_fontstyle']; ?> !important;
  50. }
  51. .porfolio_detail_title h3 {
  52. font-size:<?php echo $current_options['portfolio_title_fontsize'].'px'; ?> !important;
  53. font-family:<?php echo $current_options['portfolio_title_fontfamily']; ?> !important;
  54. font-style:<?php echo $current_options['portfolio_title_fontstyle']; ?> !important;
  55. }
  56. .portfolio_caption h3 {
  57. font-size:<?php echo $current_options['portfolio_title_fontsize'].'px'; ?> !important;
  58. font-family:<?php echo $current_options['portfolio_title_fontfamily']; ?> !important;
  59. font-style:<?php echo $current_options['portfolio_title_fontstyle']; ?> !important;
  60. }
  61. .widget_title h2 {
  62. font-size:<?php echo $current_options['widget_title_fontsize'].'px'; ?> !important;
  63. font-family:<?php echo $current_options['widget_title_fontfamily']; ?> !important;
  64. font-style:<?php echo $current_options['widget_title_fontstyle']; ?> !important;
  65. }
  66. .sidebar_widget_title h2 {
  67. font-size:<?php echo $current_options['widget_title_fontsize'].'px'; ?> !important;
  68. font-family:<?php echo $current_options['widget_title_fontfamily']; ?> !important;
  69. font-style:<?php echo $current_options['widget_title_fontstyle']; ?> !important;
  70. }
  71. .purchase_now_content h1 {
  72. font-size:<?php echo $current_options['calloutarea_title_fontsize'].'px'; ?> !important;
  73. font-family:<?php echo $current_options['calloutarea_title_fontfamily']; ?> !important;
  74. font-style:<?php echo $current_options['calloutarea_title_fontstyle']; ?> !important;
  75. }
  76. .purchase_now_content p{
  77. font-size:<?php echo $current_options['calloutarea_description_fontsize'].'px'; ?> !important;
  78. font-family:<?php echo $current_options['calloutarea_description_fontfamily']; ?> !important;
  79. font-style:<?php echo $current_options['calloutarea_description_fontstyle']; ?> !important;
  80. }
  81. .purchase_now_btn {
  82. font-size:<?php echo $current_options['calloutarea_purches_fontsize'].'px'; ?> !important;
  83. font-family:<?php echo $current_options['calloutarea_purches_fontfamily']; ?> !important;
  84. font-style:<?php echo $current_options['calloutarea_purches_fontstyle']; ?> !important;
  85. }
  86. </style>
  87. <?php } ?>
Add Comment
Please, Sign In to add comment