Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $rambo_pro_theme_options = theme_data_setup();
- $current_options = wp_parse_args( get_option( 'rambo_pro_theme_options', array() ), $rambo_pro_theme_options );
- if($current_options['enable_custom_typography']==true)
- {
- ?>
- <style>
- .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,
- .sidebar_widget a,.sidebar_widget div.textwidget,.sidebar_widget p,.footer_widget .textwidget,.footer_widget a,.footer_widget p,
- .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
- {
- font-size:<?php echo $current_options['general_typography_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['general_typography_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['general_typography_fontstyle']; ?> ;
- line-height:<?php echo ($current_options['general_typography_fontsize']+5).'px'; ?> !important;
- }
- .navbar .nav > li > a{
- font-size:<?php echo $current_options['menu_title_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['menu_title_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['menu_title_fontstyle']; ?> !important;
- }
- .page_head{
- font-size:<?php echo $current_options['page_title_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['page_title_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['page_title_fontstyle']; ?> !important;
- }
- .blog_single_post h2, .blog_section2 h2, .blog_section h2 {
- font-size:<?php echo $current_options['post_title_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['post_title_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['post_title_fontstyle']; ?> !important;
- }
- .home_service h2 {
- font-size:<?php echo $current_options['service_title_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['service_title_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['service_title_fontstyle']; ?> !important;
- }
- .featured_port_title h1, .section-title{
- font-size:<?php echo $current_options['service_title_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['service_title_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['service_title_fontstyle']; ?> !important;
- }
- .featured_port_projects h3 {
- font-size:<?php echo $current_options['portfolio_title_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['portfolio_title_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['portfolio_title_fontstyle']; ?> !important;
- }
- .porfolio_detail_title h3 {
- font-size:<?php echo $current_options['portfolio_title_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['portfolio_title_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['portfolio_title_fontstyle']; ?> !important;
- }
- .portfolio_caption h3 {
- font-size:<?php echo $current_options['portfolio_title_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['portfolio_title_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['portfolio_title_fontstyle']; ?> !important;
- }
- .widget_title h2 {
- font-size:<?php echo $current_options['widget_title_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['widget_title_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['widget_title_fontstyle']; ?> !important;
- }
- .sidebar_widget_title h2 {
- font-size:<?php echo $current_options['widget_title_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['widget_title_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['widget_title_fontstyle']; ?> !important;
- }
- .purchase_now_content h1 {
- font-size:<?php echo $current_options['calloutarea_title_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['calloutarea_title_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['calloutarea_title_fontstyle']; ?> !important;
- }
- .purchase_now_content p{
- font-size:<?php echo $current_options['calloutarea_description_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['calloutarea_description_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['calloutarea_description_fontstyle']; ?> !important;
- }
- .purchase_now_btn {
- font-size:<?php echo $current_options['calloutarea_purches_fontsize'].'px'; ?> !important;
- font-family:<?php echo $current_options['calloutarea_purches_fontfamily']; ?> !important;
- font-style:<?php echo $current_options['calloutarea_purches_fontstyle']; ?> !important;
- }
- </style>
- <?php } ?>
Add Comment
Please, Sign In to add comment