Forum Replies Created
-
Author
-
RaduModerator
Hello,
Just add this code to your Theme Options -> General Settings -> Quick CSS
COPY CODE#register-page input:focus {border-color:yellow !important}
Replace yellow with your desired color.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 26, 2015 at 12:54 in reply to: Mobile Menu – Social Icons do not align with Main Menu #43433RaduModeratorAdd this css code to your child theme css or in Theme Options -> General Settings -> Quick CSS
COPY CODE@media (max-width: 920px) { #top-social { float: left !important; } .no-padd { float: right !important; } }
Let me know if it works.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHello,
Add this css code to Theme Options -> General Settings -> Quick CSS section
COPY CODE.navbar-nav .dropdown-menu li a:hover { color:#3CB5B5 !important; }
If you want change with your preffered color.
We will consider your suggestion
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorAdd this code to your sweetdate-child theme functions.php
COPY CODE// Remove admin from the member directory function bpdev_exclude_users($qs=false,$object=false){ $excluded_user='1'; // Id's to remove, separated by comma if($object != 'members' && $object != 'friends')// hide admin to members & friends return $qs; $args=wp_parse_args($qs); if(!empty($args['user_id'])) return $qs; if(!empty($args['exclude'])) $args['exclude'] = $args['exclude'].','.$excluded_user; else $args['exclude'] = $excluded_user; $qs = build_query($args); return $qs; } add_action('bp_ajax_querystring','bpdev_exclude_users',20,2); // once admin is removed, we must recount the members ! function bpfr_hide_get_total_filter($count){ return $count-1; } add_filter('bp_get_total_member_count','bpfr_hide_get_total_filter');
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorJust add this class to your preffered button btn-default.
Then put in Quick CSS section this code :
COPY CODE.btn-default:hover {background-color:#FFFFFF !important;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorPlease replace this :
COPY CODE<div class="claim">La prima Social Experience nel mondo dell’Aperitivo!</div>
with
COPY CODE<div class="claim container">La prima Social Experience nel mondo dell’Aperitivo!</div>
the CSS
COPY CODEclaim { font-size: 18px; color: #b10002; height: 22px; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorInsert this code
COPY CODEbutton.single_add_to_cart_button { background-color: #09a405!important; color: #FFFFFF !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorTry this ,add code to Quick CSS from Theme Options ->General Settings
COPY CODEbutton.single_add_to_cart_button { background-color:#FA6C6C !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHello,
1. For this you need to add this code to Theme Options -> General Settings – Quick CSS
COPY CODEdiv.post-image > a > span > i { display:none; }
2. For all posts must be aligned to meet certain criteria such as:
Name of the posts to be on a line or two (see screenshot)
The number of paragraphs to be the same for all stations (see screenshot)
Use excerpt field to control number of characters
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.RaduModeratorHello,
Paste this code in your kleo-child theme functions.php
COPY CODE/*************************************************** :: MAINTENANCE MODE ***************************************************/ if (!function_exists('kleo_maintenance_mode')) { function kleo_maintenance_mode() { $logo_path = apply_filters('kleo_logo', sq_option_url('logo')); $logo_img = '<img src="'. $logo_path .'" alt="maintenance" />'; if (sq_option('maintenance_mode', 0) == 1) { if ( !is_user_logged_in() ) { wp_die( $logo_img . '<div style="text-align:center">' . sq_option('maintenance_msg', '') . '</div>', get_bloginfo( 'name' ) ); } } } add_action('get_header', 'kleo_maintenance_mode'); }
Logged in users can bypass the maintenance mode.
Let me know if is ok.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHello
To make that, navigate to : Theme Options -> General Settings -> Quick CSS and add this code :
COPY CODE.form-search, .form-header, div.alert-box, div.pagination span.current { background-color:#111 !important; } .form-footer { color: #777777; padding: 20px 20px 10px; border-left: 10px solid rgba(31, 168, 209, 0.3); border-bottom: 10px solid rgba(31, 168, 209, 0.3); border-right: 10px solid rgba(31, 168, 209, 0.3); background: #111 !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHello,
Paste this code to Theme Options -> General Settings -> Quick CSS
COPY CODEsection.container-wrap.main-color div.section-container.container { max-width:1440px }
Or add you preferred width. (1440 is max)
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 12, 2015 at 16:15 in reply to: How to make mobile header fixed and transparent just like desktop header in demo #41760RaduModeratorHello,
Add this code to Theme Optrions -> General Options -> Quick CSS
COPY CODE@media (max-width: 991px) { .kleo-main-header.header-normal { height:45px !important;} navbar-fixed.navbar-transparent #header { position: fixed !important;} strong.logo { line-height: 45px !important;} .kleo-mobile-icons { display: inline-block; float: right; margin-top: -23px; } .kleo-mobile-switch { margin-top: -20px !important; } .kleo-main-header.header-normal { position: fixed !important; background-color: rgba(0,0,0,0); } .kleo-navbar-fixed.navbar-transparent .kleo-main-header { background-color: rgba(0,0,0,0.9); } .navbar { height:0 !important; min-height:0 !important; } #main-container.container-full {margin-top:45px !important; } .navbar-header { min-height:45px !important; height:45px !important;padding: 0 15px !important} .kleo-mobile-switch,.kleo-mobile-icons { max-height: 35px !important;} .kleo-main-header.header-normal .navbar-collapse { padding-right: 0; background-color: rgba(0,0,0,0.9); padding: 0 !important; margin-right: auto; margin-left: auto; width: 100%; } #header .sticky-wrapper .container {padding: 0 !important;} }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHello,
To fix this, just paste this code to Theme Options -> General Settings -> Quick CSS
COPY CODE.logo, .logo a {height: auto;}
Let me know if it works for you.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorDelete the css abve fom Quick CSS, and paste this
COPY CODE#login { width: auto; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorGo to Theme Options -> Styling Options -> scroll down at bottom at Quick CSS section and paste this code
COPY CODE.reveal-modal .button.facebook { height: 37px !important; font-size: 14px !important; padding: 10px 7px 11px !important; display: table !important; margin: 0 auto !important; width: 100% !important; margin-top: 10px !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHello,
Add this code to you kleo child functions.php
COPY CODEfunction kleo_social_share() { return ''; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHello,
Put this code in your kleo-child functions.php
COPY CODEif ( ! function_exists( 'archive_sidebar' ) ) { // Register Sidebar function archive_sidebar() { $args = array( 'id' => 'archive-sidebar', 'name' => __( 'Archive sidebar', 'kleo_framework' ), ); register_sidebar( $args ); } // Hook into the 'widgets_init' action add_action( 'widgets_init', 'archive_sidebar' ); } function add_before_my_siderbar() { ?> <?php if (is_archive()) { ?> <div class="sidebar sidebar-main col-sm-3 sidebar-right"> <div class="inner-content widgets-container"> <?php dynamic_sidebar('archive-sidebar'); ?> </div><!--end inner-content--> </div><!--end sidebar--> <?php } ?> <?php } add_action( 'get_sidebar', 'add_before_my_siderbar' );
Let me know if it works.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHello,
Go to wp-content\plugins\simple-author-box\core\sabox_author_box.php open in editor , select all and paste this code
COPY CODE<?php // If this file is called directly, busted! if( !defined( 'ABSPATH' ) ) { exit; } /*---------------------------------------------------------------------------------------------------------- Adding the author box to the end of your single post -----------------------------------------------------------------------------------------------------------*/ if( !function_exists( 'wpsabox_author_box' ) ) { function wpsabox_author_box( $saboxmeta = null ) { if ( is_single() or is_author() or is_archive() ) { global $post; global $options; $author_id = $post->post_author; if( isset( $options['sab_colored'] ) ) { $sabox_color = 'sabox-colored'; } else { $sabox_color = ''; } if( isset( $options['sab_web_position'] ) ) { $sab_web_align = 'sab-web-position'; } else { $sab_web_align = ''; } if( isset( $options['sab_web_target'] ) ) { $sab_web_target = '_blank'; } else { $sab_web_target = '_self'; } if( isset( $options['sab_web_rel'] ) ) { $sab_web_rel = 'rel="nofollow"'; } else { $sab_web_rel = ''; } if( get_the_author_meta( 'description' ) != '' || !isset( $options['sab_no_description'] ) ) { // hide the author box if no description is provided $saboxmeta .= '<div class="saboxplugin-wrap">'; // start saboxplugin-wrap div // author box gravatar $saboxmeta .= '<div class="saboxplugin-gravatar">'; $saboxmeta .= get_avatar( get_the_author_meta( 'user_email', $author_id ), '100' ); $saboxmeta .= '</div>'; $original = get_author_posts_url( $author_id ); $userprofile = str_replace("author/","", $original); // author box name $saboxmeta .= '<div class="saboxplugin-authorname">'; $saboxmeta .= '<a href="' .$userprofile . '">' . get_the_author_meta( 'display_name', $author_id ) . '</a>'; $saboxmeta .= '</div>'; // author box description $saboxmeta .= '<div class="saboxplugin-desc">'; $saboxmeta .= '<div class="vcard author"><span class="fn">'; $saboxmeta .= get_the_author_meta( 'description', $author_id ); $saboxmeta .= '</span></div>'; $saboxmeta .= '</div>'; if ( is_single() ) { if( get_the_author_meta( 'user_url' ) != '' and isset( $options['sab_web'] ) ) { // author website on single $saboxmeta .= '<div class="saboxplugin-web '. $sab_web_align .'">'; $saboxmeta .= '<a href="' . get_the_author_meta( 'user_url', $author_id ) . '" target="' . $sab_web_target . '">' . get_the_author_meta( 'user_url', $author_id ) . '</a>'; $saboxmeta .= '</div>'; } } if ( is_author() or is_archive() ) { if( get_the_author_meta( 'user_url' ) != '' ) { // force show author website on author.php or archive.php $saboxmeta .= '<div class="saboxplugin-web '. $sab_web_align .'">'; $saboxmeta .= '<a href="' . get_the_author_meta( 'user_url', $author_id ) . '" target="' . $sab_web_target . '">' . get_the_author_meta( 'user_url', $author_id ) . '</a>'; $saboxmeta .= '</div>'; } } // author box clearfix $saboxmeta .= '<div class="clearfix"></div>'; // author box social icons if( !isset( $options['sab_hide_socials'] ) ) { // hide social icons div option $saboxmeta .= '<div class="saboxplugin-socials ' . $sabox_color . '">'; foreach ( Sabox_Social_Icons::$sabox_social_icons_array as $sabox_social_id => $sabox_social_name ) { $sabox_author_fields = get_the_author_meta( $sabox_social_id ); if ( !empty( $sabox_author_fields ) ) { $saboxmeta .= Sabox_Social_Icons::get_sabox_social_icon( $sabox_author_fields, $sabox_social_id ); } } $saboxmeta .= '</div>'; } // end of social icons $saboxmeta .= '</div>'; // end of saboxplugin-wrap div } } return $saboxmeta; } } function saboxplugin_position() { global $options; if( !isset( $options['sab_autoinsert'] ) ) { add_filter ( 'the_content', 'wpsabox_author_box', 0 ); } } echo saboxplugin_position();
let me know if it works
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 6, 2015 at 15:51 in reply to: How to disable labels ("free", "new", etc.) on product listing page #41103RaduModeratorAdd this to Theme Options -> General Settings -> Quick css
COPY CODE.woocommerce span.percentage-badge { display: none; } .woocommerce ul.products li.product .free-badge { display:none; } .woocommerce span.free-badge, .woocommerce-page span.free-badge { display:none; }
Let me know if it works.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorPut this code in Theme Options -> General Settings -> Quick CSS
COPY CODE.small-listing article { border-bottom: 1px solid #efefef; text-align: left; }
Let me know if it works.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorAdd this code to Theme Options -> General Settings -> Quick CSS
COPY CODE.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="password"] {color:#000 !important;} .wpcf7 textarea {color:#000 !important;}
Let me know if it works.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHello,
Create a file named content.php in your kleo-child folder
and paste this
COPY CODE<?php /** * The default template for displaying content * * Used for both single and index/archive/search. * * @package WordPress * @subpackage Kleo * @since Kleo 1.0 */ ?> <?php $postclass = ''; if( is_single() && get_cfield('centered_text') == 1) { $postclass = 'text-center'; } ?> <!-- Begin Article --> <article id="post-<?php the_ID(); ?>" <?php post_class(array($postclass)); ?>> <?php if (! is_single() ) : ?> <h2 class="article-title entry-title"> <a>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'kleo_framework' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a> </h2> <?php endif; //! is_single() ?> <?php if ( kleo_postmedia_enabled() && kleo_get_post_thumbnail() != '' ) : ?> <div class="article-media"> <?php echo kleo_get_post_thumbnail( null, 'kleo-full-width' );?> </div><!--end article-media--> <?php endif; ?> <div class="article-content"> <?php if ( ! is_single() ) : // Only display Excerpts for Search ?> <?php echo kleo_excerpt( 50 ); ?> <?php if ( get_the_excerpt() ): ?> <p><a>"><?php _e("Continue reading", 'kleo_framework');?></a></p> <?php endif; ?> <?php else : ?> <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'kleo_framework' ) ); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'kleo_framework' ), 'after' => '</div>' ) ); ?> <?php endif; ?> <?php if( kleo_postmeta_enabled() ): ?> <div class="article-meta"> <span class="post-meta"> <?php kleo_entry_meta();?> </span> <?php edit_post_link( __( 'Edit', 'kleo_framework' ), '<span class="edit-link">', '</span>' ); ?> </div><!--end article-meta--> <?php endif;?> </div><!--end article-content--> </article><!--end article--> <style> .single .container .with-meta .article-content, .posts-listing.standard-listing.with-meta .article-content { margin-left: 0; padding: 0 0 40px; } article .article-meta { float: none; text-align: center; margin: 0 auto !important;} </style>
This applies only to standard formats of posts.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHello,
Add this code to Theme Options -> General Settings -> Quick CSS
COPY CODEul.responsive-tabs { margin: 0 auto !important; display: table; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHello,
Paste this in your Kleo-Child theme functions.php
COPY CODEif ( ! function_exists( 'kleo_entry_meta' ) ) : /** * Prints HTML with meta information for current post: categories, tags, permalink, author, and date. * Create your own kleo_entry_meta() to override in a child theme. * @since 1.0 */ function kleo_entry_meta($echo=true, $att=array()) { $meta_list = array(); // Translators: used between list items, there is a space after the comma. $categories_list = get_the_category_list( __( ', ', 'kleo_framework' ) ); // Translators: used between list items, there is a space after the comma. $tag_list = get_the_tag_list( '', __( ', ', 'kleo_framework' ) ); $date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark">' . '<time class="entry-date" datetime="%3$s">%4$s</time>' . '<time class="modify-date hide hidden updated" datetime="%5$s">%6$s</time>' . '</a>', esc_url( get_permalink() ), esc_attr( get_the_title() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_html( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) ); $author = sprintf( '<a href="%1$s" title="%2$s" rel="author">%3$s</a>', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'kleo_framework' ), get_the_author() ) ), get_the_author() ); $meta_list[] = '<small class="meta-author author vcard">'.$author.'</small>'; $meta_list[] = '<small>'.$date.'</small>'; $cat_tag = array(); if ( $categories_list ) { $cat_tag[] = $categories_list; } if ($tag_list) { $cat_tag[] = $tag_list; } if (!empty($cat_tag)) { $meta_list[] = '<small class="meta-category">'.implode(", ",$cat_tag).'</small>'; } //comments if (!isset($att['comments']) || (isset($att['comments']) && $att['comments'] !== false)) { $meta_list[] = '<small class="meta-comment-count"><a href="'. get_permalink().'#comments">'.get_comments_number().' <i class="icon-chat-1 hover-tip" data-original-title="'.sprintf( _n( 'This article has one comment', 'This article has %1$s comments', get_comments_number(), 'kleo_framework' ),number_format_i18n( get_comments_number() ) ).'" data-toggle="tooltip" data-placement="top"></i></a></small>'; } if ($echo) { echo implode(" ", $meta_list); } else { return implode(" ", $meta_list); } } endif;
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorTry to ad to your button a class named center see screenshot below
Then go to Theme Options -> General Settings -> Quick CSS and paste this :
COPY CODEa.center { margin: 0 auto !important; vertical-align: middle; display: table; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorHello,
You can disable effect by removing class “animated animate-when-almost-visible el-appear” from wp-content/themes/kleo/page-parts/post-content-masonry.php line 12
or replace this
COPY CODE<div class="post-content animated animate-when-almost-visible el-appear">
with this
COPY CODE<div class="post-content">
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorAdd this to wp-config.php
COPY CODE// Enable WP_DEBUG mode define('WP_DEBUG', true); // Enable Debug logging to the /wp-content/debug.log file define('WP_DEBUG_LOG', true);
And repeat that action.
Post here errors and log.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorThe usernames are without @,
@ sign are prefix in that title, if you want to disappear @ sign for everybody just follow the instructions above or below.
[Line 26]
COPY CODE<h4 class="user-nicename"><b>@</b><?php bp_displayed_user_mentionname(); ?></h4>
Delete <b>@</b>
SaveNo, users can not modify it.
Only the administrator can delete that sign.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRaduModeratorFor this you need to edit wp-content\themes\kleo\lib\theme-functions.php ,
search for function kleo_contact_form , inside this function you need to replace “Your Name”,”Your Email” and “Type your message…” with your prefered text. see screenshot below.NOTE : Is not recommended to modify core theme files.
Recommended solution :
You need to install kleo-child theme, and insert in kleo-child functions.php this code after set your preferred text.
COPY CODEif (!function_exists('kleo_contact_form')) { function kleo_contact_form( $atts, $content = null ) { extract(shortcode_atts(array( 'title' => 'CONTACT US' ), $atts)); $output = ''; $output .= '<div class="kleo-quick-contact-wrapper">' .'<a href="#"><i class="icon-mail-alt"></i></a>' .'<div id="kleo-quick-contact">' .'<h4 class="kleo-qc-title">'. $title .'</h4>' .'<p>'. do_shortcode($content).'</p>' .'<form class="kleo-contact-form" action="#" method="post" novalidate>' .'<input type="text" placeholder="'.__("Your Name",'kleo_framework').'" required id="contact_name" name="contact_name" class="form-control" value="" tabindex="276" />' .'<input type="email" required placeholder="' . __("Your Email",'kleo_framework') . '" id="contact_email" name="contact_email" class="form-control" value="" tabindex="277" />' .'<textarea placeholder="' . __("Type your message...",'kleo_framework') . '" required id="contact_content" name="contact_content" class="form-control" tabindex="278"></textarea>' .'<input type="hidden" name="action" value="kleo_sendmail">' .'<button tabindex="279" class="btn btn-default pull-right" type="submit">'. __("Send",'kleo_framework').'</button>' .'<div class="kleo-contact-loading">'. __("Sending",'kleo_framework').' <i class="icon-spinner icon-spin icon-large"></i></div>' .'<div class="kleo-contact-success"> </div>' .'</form>' .'<div class="bottom-arrow"></div>' .'</div>' .'</div><!--end kleo-quick-contact-wrapper-->'; return $output; } add_shortcode('kleo_contact_form', 'kleo_contact_form'); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts