Alter Header Style Two Menu Height
/* Alter Header Style 2 Menu Height */ .navbar-style-two .dropdown-menu > li > a { height: 70px; line-height: 70px; }
/* Alter Header Style 2 Menu Height */ .navbar-style-two .dropdown-menu > li > a { height: 70px; line-height: 70px; }
/** * Add Custom Font To TinyMCE Editor * Will not load the font family in the backend, to do this use add_editor_style * Will not load the font in the front-end to do this just use @import in your…
// Re-Order Social Sharing Sites function my_wpex_social_share_sites( $sites ) { // Define the sites in your own order $sites = array( 'twitter', 'facebook', 'google_plus', 'pinterest', 'linkedin' ); // Return sites return $sites; } add_filter( 'wpex_social_share_sites', 'my_wpex_social_share_sites' );
.sf-menu ul { left: auto; right: 0; } .navbar-style-one .dropdown-menu ul:after { left: auto; right: 13px; } .navbar-style-one .dropdown-menu ul:before { left: auto; right: 12px; }
// Add option to Portfolio items to disable media function my_new_portfolio_meta_options( $options ) { // Add new setting to portfolio tab $options['portfolio']['settings']['wpex_post_media'] = array( 'title' => __( 'Post Media', 'wpex' ), 'description' => __( 'Display media on single post?', 'wpex'…
/* Center Font Awesome Social Widget Icons */ body .fontawesome-social-widget ul { text-align: center; } body .fontawesome-social-widget ul li { float: none; display: inline-block; }
/* Alter tour tabs width */ body .wpb_tour .wpb_tabs_nav { width: 20% !important; } /* Alter tour content width */ body .wpb_tour .wpb_tour_tabs_wrapper .wpb_tab { width: 80% !important; padding-left: 25px !important; }
The following code snippet will move the HTML for the Total theme sidebar so it's added before the content. This way, on mobile the sidebar will display at the top. In fact if you use this snippet your sidebar won't…
// Remove page title from breadcrumbs function my_remove_title_from_breadcrumbs( $trail ) { // Remove title (trail_end) for single posts if ( is_singular() ) { unset( $trail['trail_end'] ); } // Return trail return $trail; } add_filter( 'wpex_breadcrumbs_trail', 'my_remove_title_from_breadcrumbs', 20 );
/** * Add portfolio category to slug by altering register_post_type args. * You can also do this in the editor dashboard instead * */ function my_add_portfolio_category_term_to_slug( $args ) { // Alter slug $args['rewrite']['slug'] = 'portfolio-item/%portfolio_category%'; // Remove with front $args['rewrite']['with_front']…