<?php



/**



 * WNagish Express custom CSS depricated!



 *



 * @package WNEPRO



 */







$wne_hide_on_mobile         = wah_get_param( 'wne_hide_on_mobile' );



$wne_custom_css             = wah_get_param( 'wne_custom_css' );



$wne_customize_close_button = wah_get_param( 'wne_customize_close_button' );







if( $wne_hide_on_mobile || $wne_custom_css ): ?><style><?php endif; ?>



    <?php if( $wne_hide_on_mobile ) : ?>



        @media only screen and (max-width: 480px) {div#wp_nagish_express_container {display: none;}}



    <?php endif;



    if( $wne_custom_css ) {



        echo $wne_custom_css;



    } ?>



<?php if( $wne_hide_on_mobile || $wne_custom_css ): ?></style><?php endif; ?>











<?php if( wah_get_param('wah_custom_title_selector_on') && $wah_custom_title_selector = wah_get_param('wah_custom_title_selector') ) : ?>



    <style id="wnexpress_custom_selectors_style_tag">



        <?php $wah_custom_title_selector = explode( ",", $wah_custom_title_selector );



        foreach( $wah_custom_title_selector as $selector ) : ?>



            body.wah_highlight_titles <?php echo $selector; ?> { background-color: yellow !important; }



        <?php endforeach; ?>



    </style>



<?php endif; ?>







<?php if( $wne_customize_close_button && wah_get_param('wne_close_btn_bg') && wah_get_param('wne_close_btn_color') ) : ?>



<style>



    button.close_container { background: <?php echo wah_get_param('wne_close_btn_bg'); ?> !important; color: <?php echo wah_get_param('wne_close_btn_color'); ?> !important;}



</style>



<?php endif; ?>



