Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
home
/
puskom
/
elearning
/
//home/puskom/elearning/tp-body-width-layout.php
<?php $elearning_education_tp_theme_css = ""; $elearning_education_theme_lay = get_theme_mod( 'elearning_education_tp_body_layout_settings','Full'); if($elearning_education_theme_lay == 'Container'){ $elearning_education_tp_theme_css .='body{'; $elearning_education_tp_theme_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;'; $elearning_education_tp_theme_css .='}'; $elearning_education_tp_theme_css .='.page-template-front-page .menubar{'; $elearning_education_tp_theme_css .='position: static;'; $elearning_education_tp_theme_css .='}'; $elearning_education_tp_theme_css .='.scrolled{'; $elearning_education_tp_theme_css .='width: auto; left:0; right:0;'; $elearning_education_tp_theme_css .='}'; }else if($elearning_education_theme_lay == 'Container Fluid'){ $elearning_education_tp_theme_css .='body{'; $elearning_education_tp_theme_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;'; $elearning_education_tp_theme_css .='}'; $elearning_education_tp_theme_css .='.page-template-front-page .menubar{'; $elearning_education_tp_theme_css .='width: 99%'; $elearning_education_tp_theme_css .='}'; $elearning_education_tp_theme_css .='.scrolled{'; $elearning_education_tp_theme_css .='width: auto; left:0; right:0;'; $elearning_education_tp_theme_css .='}'; }else if($elearning_education_theme_lay == 'Full'){ $elearning_education_tp_theme_css .='body{'; $elearning_education_tp_theme_css .='max-width: 100%;'; $elearning_education_tp_theme_css .='}'; } $elearning_education_scroll_position = get_theme_mod( 'elearning_education_scroll_top_position','Right'); if($elearning_education_scroll_position == 'Right'){ $elearning_education_tp_theme_css .='#return-to-top{'; $elearning_education_tp_theme_css .='right: 20px;'; $elearning_education_tp_theme_css .='}'; }else if($elearning_education_scroll_position == 'Left'){ $elearning_education_tp_theme_css .='#return-to-top{'; $elearning_education_tp_theme_css .='left: 20px;'; $elearning_education_tp_theme_css .='}'; }else if($elearning_education_scroll_position == 'Center'){ $elearning_education_tp_theme_css .='#return-to-top{'; $elearning_education_tp_theme_css .='right: 50%;left: 50%;'; $elearning_education_tp_theme_css .='}'; } //Social icon Font size $elearning_education_social_icon_fontsize = get_theme_mod('elearning_education_social_icon_fontsize'); $elearning_education_tp_theme_css .='.media-links a i{'; $elearning_education_tp_theme_css .='font-size: '.esc_attr($elearning_education_social_icon_fontsize).'px;'; $elearning_education_tp_theme_css .='}'; // site title and tagline font size option $elearning_education_site_title_font_size = get_theme_mod('elearning_education_site_title_font_size', 30);{ $elearning_education_tp_theme_css .='.logo h1 a, .logo p a{'; $elearning_education_tp_theme_css .='font-size: '.esc_attr($elearning_education_site_title_font_size).'px;'; $elearning_education_tp_theme_css .='}'; } $elearning_education_site_tagline_font_size = get_theme_mod('elearning_education_site_tagline_font_size', 15);{ $elearning_education_tp_theme_css .='.logo p{'; $elearning_education_tp_theme_css .='font-size: '.esc_attr($elearning_education_site_tagline_font_size).'px;'; $elearning_education_tp_theme_css .='}'; } $elearning_education_footer_widget_image = get_theme_mod('elearning_education_footer_widget_image'); if($elearning_education_footer_widget_image != false){ $elearning_education_tp_theme_css .='#footer{'; $elearning_education_tp_theme_css .='background: url('.esc_attr($elearning_education_footer_widget_image).');'; $elearning_education_tp_theme_css .='}'; }