Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
home
/
getwphos
/
www
/
milceticarch
/
wp-content
/
themes
/
aalto
/
assets
/
custom-styles
/
File Content:
general-custom-styles-responsive.php
<?php if ( ! function_exists( 'aalto_edge_content_responsive_styles' ) ) { /** * Generates content responsive custom styles */ function aalto_edge_content_responsive_styles() { $content_style = array(); $padding_top_mobile = aalto_edge_options()->getOptionValue( 'content_top_padding_mobile' ); if ( $padding_top_mobile !== '' ) { $content_style['padding-top'] = aalto_edge_filter_px( $padding_top_mobile ) . 'px!important'; } $content_selector = array( '.edgtf-content .edgtf-content-inner > .edgtf-container > .edgtf-container-inner', '.edgtf-content .edgtf-content-inner > .edgtf-full-width > .edgtf-full-width-inner', ); echo aalto_edge_dynamic_css( $content_selector, $content_style ); } add_action( 'aalto_edge_style_dynamic_responsive_1024', 'aalto_edge_content_responsive_styles' ); } if ( ! function_exists( 'aalto_edge_h1_responsive_styles3' ) ) { function aalto_edge_h1_responsive_styles3() { $selector = array( 'h1' ); $styles = aalto_edge_get_responsive_typography_styles( 'h1_responsive', '_3' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_768_1024', 'aalto_edge_h1_responsive_styles3' ); } if ( ! function_exists( 'aalto_edge_h2_responsive_styles3' ) ) { function aalto_edge_h2_responsive_styles3() { $selector = array( 'h2' ); $styles = aalto_edge_get_responsive_typography_styles( 'h2_responsive', '_3' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_768_1024', 'aalto_edge_h2_responsive_styles3' ); } if ( ! function_exists( 'aalto_edge_h3_responsive_styles3' ) ) { function aalto_edge_h3_responsive_styles3() { $selector = array( 'h3' ); $styles = aalto_edge_get_responsive_typography_styles( 'h3_responsive', '_3' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_768_1024', 'aalto_edge_h3_responsive_styles3' ); } if ( ! function_exists( 'aalto_edge_h4_responsive_styles3' ) ) { function aalto_edge_h4_responsive_styles3() { $selector = array( 'h4' ); $styles = aalto_edge_get_responsive_typography_styles( 'h4_responsive', '_3' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_768_1024', 'aalto_edge_h4_responsive_styles3' ); } if ( ! function_exists( 'aalto_edge_h5_responsive_styles3' ) ) { function aalto_edge_h5_responsive_styles3() { $selector = array( 'h5' ); $styles = aalto_edge_get_responsive_typography_styles( 'h5_responsive', '_3' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_768_1024', 'aalto_edge_h5_responsive_styles3' ); } if ( ! function_exists( 'aalto_edge_h6_responsive_styles3' ) ) { function aalto_edge_h6_responsive_styles3() { $selector = array( 'h6' ); $styles = aalto_edge_get_responsive_typography_styles( 'h6_responsive', '_3' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_768_1024', 'aalto_edge_h6_responsive_styles3' ); } if ( ! function_exists( 'aalto_edge_h1_responsive_styles' ) ) { function aalto_edge_h1_responsive_styles() { $selector = array( 'h1' ); $styles = aalto_edge_get_responsive_typography_styles( 'h1_responsive' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680_768', 'aalto_edge_h1_responsive_styles' ); } if ( ! function_exists( 'aalto_edge_h2_responsive_styles' ) ) { function aalto_edge_h2_responsive_styles() { $selector = array( 'h2' ); $styles = aalto_edge_get_responsive_typography_styles( 'h2_responsive' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680_768', 'aalto_edge_h2_responsive_styles' ); } if ( ! function_exists( 'aalto_edge_h3_responsive_styles' ) ) { function aalto_edge_h3_responsive_styles() { $selector = array( 'h3' ); $styles = aalto_edge_get_responsive_typography_styles( 'h3_responsive' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680_768', 'aalto_edge_h3_responsive_styles' ); } if ( ! function_exists( 'aalto_edge_h4_responsive_styles' ) ) { function aalto_edge_h4_responsive_styles() { $selector = array( 'h4' ); $styles = aalto_edge_get_responsive_typography_styles( 'h4_responsive' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680_768', 'aalto_edge_h4_responsive_styles' ); } if ( ! function_exists( 'aalto_edge_h5_responsive_styles' ) ) { function aalto_edge_h5_responsive_styles() { $selector = array( 'h5' ); $styles = aalto_edge_get_responsive_typography_styles( 'h5_responsive' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680_768', 'aalto_edge_h5_responsive_styles' ); } if ( ! function_exists( 'aalto_edge_h6_responsive_styles' ) ) { function aalto_edge_h6_responsive_styles() { $selector = array( 'h6' ); $styles = aalto_edge_get_responsive_typography_styles( 'h6_responsive' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680_768', 'aalto_edge_h6_responsive_styles' ); } if ( ! function_exists( 'aalto_edge_text_responsive_styles' ) ) { function aalto_edge_text_responsive_styles() { $selector = array( 'body', 'p' ); $styles = aalto_edge_get_responsive_typography_styles( 'text', '_res1' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680_768', 'aalto_edge_text_responsive_styles' ); } if ( ! function_exists( 'aalto_edge_h1_responsive_styles2' ) ) { function aalto_edge_h1_responsive_styles2() { $selector = array( 'h1' ); $styles = aalto_edge_get_responsive_typography_styles( 'h1_responsive', '_2' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680', 'aalto_edge_h1_responsive_styles2' ); } if ( ! function_exists( 'aalto_edge_h2_responsive_styles2' ) ) { function aalto_edge_h2_responsive_styles2() { $selector = array( 'h2' ); $styles = aalto_edge_get_responsive_typography_styles( 'h2_responsive', '_2' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680', 'aalto_edge_h2_responsive_styles2' ); } if ( ! function_exists( 'aalto_edge_h3_responsive_styles2' ) ) { function aalto_edge_h3_responsive_styles2() { $selector = array( 'h3' ); $styles = aalto_edge_get_responsive_typography_styles( 'h3_responsive', '_2' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680', 'aalto_edge_h3_responsive_styles2' ); } if ( ! function_exists( 'aalto_edge_h4_responsive_styles2' ) ) { function aalto_edge_h4_responsive_styles2() { $selector = array( 'h4' ); $styles = aalto_edge_get_responsive_typography_styles( 'h4_responsive', '_2' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680', 'aalto_edge_h4_responsive_styles2' ); } if ( ! function_exists( 'aalto_edge_h5_responsive_styles2' ) ) { function aalto_edge_h5_responsive_styles2() { $selector = array( 'h5' ); $styles = aalto_edge_get_responsive_typography_styles( 'h5_responsive', '_2' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680', 'aalto_edge_h5_responsive_styles2' ); } if ( ! function_exists( 'aalto_edge_h6_responsive_styles2' ) ) { function aalto_edge_h6_responsive_styles2() { $selector = array( 'h6' ); $styles = aalto_edge_get_responsive_typography_styles( 'h6_responsive', '_2' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680', 'aalto_edge_h6_responsive_styles2' ); } if ( ! function_exists( 'aalto_edge_text_responsive_styles2' ) ) { function aalto_edge_text_responsive_styles2() { $selector = array( 'body', 'p' ); $styles = aalto_edge_get_responsive_typography_styles( 'text', '_res2' ); if ( ! empty( $styles ) ) { echo aalto_edge_dynamic_css( $selector, $styles ); } } add_action( 'aalto_edge_style_dynamic_responsive_680', 'aalto_edge_text_responsive_styles2' ); }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
general-custom-styles-responsive.php
9336 bytes
0644
general-custom-styles.php
33481 bytes
0644
N4ST4R_ID | Naxtarrr