Forum Replies Created

Viewing 40 posts - 1,081 through 1,120 (of 2,990 total)
  • Author
  • in reply to: Java Script #156120
     Radu
    Moderator
    Not marked as solution
    in reply to: Two questions #156112
     Radu
    Moderator

    Hi,

    For the add cover button add this css

    COPY CODE
    
    .buddypress div#item-header .profile-cover-action div.generic-button, .buddypress .profile-cover-action a.button {background:transparent;}
    

    The notification box shows as it should on your install how can i reproduce that ?(steps + screenshots)
    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Transparent drop down menu color #155928
     Radu
    Moderator

    Hi,

    Please add this css

    COPY CODE
    
    .kleo_ajax_results {
        overflow-y: scroll !important;
        max-height: 700px !important;
    }
    

    The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Registration forms #155844
     Radu
    Moderator

    Hi,

    Please add this css to style.css at the end

    COPY CODE
    
    @media screen and (max-width: 782px){
        html {
             margin-top: 0 !important;
        }
    }
    

    Delete the margin-top:-50px; form kleo-child/style.css


    If you want to limit the logo width over the 782px width of window you can do it with this CSS

    COPY CODE
    
    @media screen and (min-width: 782px){
        img#logo_img{max-width:300px;}
    }
    
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Java Script #155841
     Radu
    Moderator
    Not marked as solution
    in reply to: Two questions #155819
     Radu
    Moderator

    Hi

    For the buddypress profile icons if you want to have more that 7 icons inline you should decrease the horizontal padding

    COPY CODE
    
    #buddypress div#item-nav ul li a {
        padding: 15px 5px;
    }
    

    You can change the 5px value for adapting the space

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: font family and color #155759
     Radu
    Moderator

    This function needs to be pasted in wp-content/themes/kleo-child/functions.php

    COPY CODE
    
    add_action('wp_head','Kleo_hook_font');
     
    function Kleo_hook_font() {
     
    $output="<link rel='stylesheet' href='http://linktomyfont.com/font.css' type='text/css' media='all' />";
     
    	echo $output;
    }
    

    and the css in The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS

    body,a,b,h1,h2,h3,h4,h5,h5 { font-family : ‘DroidArabicNaskh’; }

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: KLEO is breaking parts of Mooberry Book plugin #155724
     Radu
    Moderator

    Hi
    You can use this css it styles a little the single book page

    COPY CODE
    
    
    #mbm-book-page .mbm-book-cover, #mbm-book-page .mbm-book-goodreads-image {width: 65% !important;    margin-right:20px;}
    #mbm-book-page .mbm-book-summary, #mbm-book-page .mbm-book-details-outer, #mbm-book-page .mbm-book-excerpt {
        float: left;
        width: 32% !important;
        margin: 0;
    }
    
    div#mbm-book-page {
        padding: 0;
        margin: 0 !important;
    }
    
    
    .single-mbdb_book .article-content {float:left !important; margin:0 !important;margin-bottom:40px !important;}
    .single-mbdb_book .container .with-meta .article-content, .posts-listing.standard-listing.with-meta .article-content {width: 100% !important;}
    .single-mbdb_book #mbm-book-page .mbm-book-details {margin:0}
    

    I’ve changed the meta style from left to inline under title

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: separate logo mobile/desktop & transparent header #155617
     Radu
    Moderator
    Not marked as solution
    in reply to: mobile sticky menu #155541
     Radu
    Moderator

    Hi,

    Please add this CSS

    COPY CODE
    
    @media (max-width: 991px){
    .header-two-rows #header .is-sticky {margin-top: -35px !important;}
    }
    

    The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS

    Let me know

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: dynamic.css does not always load #155330
     Radu
    Moderator

    Hi,

    The dynamic.css file it’s generated after you press save changes in theme options, as you can see the file remains physically on the server but isn’t accessible via http and if the folder isn’t writable the styles will be rendered in head instead of dynamic.css file.

    Try to add this function to child theme

    COPY CODE
    
    function handle_rendering_css() {
        add_action('wp_head', 'kleo_custom_head_css');
    }
    add_action('init', 'handle_rendering_css');
    

    The function needs to be pasted in wp-content/themes/kleo-child/functions.php

    This will render also the css to the head

    Let me know if the problem continue to happens using that snippet

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Hide widget for mobile. #155243
     Radu
    Moderator

    Hi,

    You can use this CSS to hide the sidebar on mobile

    COPY CODE
    
    @media (max-width:991px) {
    .sidebar {display:none;}
    }
    

    You can change the 991 px value with a lower one.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Load Font Awesome Localy ? #155221
     Radu
    Moderator

    Hi,

    Please try this function

    COPY CODE
    
    function remove_asd_font_awesome() {
        wp_dequeue_style('font-awesome');
    }
    add_action('after_setup_theme', 'remove_asd_font_awesome');
    

    The function needs to be pasted in wp-content/themes/kleo-child/functions.php

    Let me know

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: double content posts in groups activity #155215
     Radu
    Moderator

    Hi,

    Please show me the wpengine specific code please ?

    It should be like this

    COPY CODE
    
    add_action( 'wp_enqueue_scripts', 'load_buddypress_js'  );
    function load_buddypress_js () {
    if (bp_is_group() || is_page( 'activity' )) {
    wp_enqueue_script('buddypress_query',plugins_url() . '/buddypress/bp-core/js/jquery-query.min.js',array("jquery"));
    wp_enqueue_script('buddypress_members',plugins_url() . '/buddypress/bp-core/js/widget-members.min.js',array("jquery"));
    wp_enqueue_script('buddypress_cookie',plugins_url() . '/buddypress/bp-core/js/jquery-cookie.min.js',array("jquery"));
    wp_enqueue_script('buddypress_scroll', plugins_url() . '/buddypress/bp-core/js/jquery-scroll-to.min.js', array("jquery"));
    wp_enqueue_script('buddypress_js',get_template_directory_uri() . '/buddypress/js/buddypress.min.js',array("jquery"));
    }
    }
    

    But if you delete the code form functions you are able to post and comment to buddypress activity etc?

    Anyway the compat code it’s between buddypress and wp engine not between kleo and wp engine you can ask the wpengine support about that

    Let me know

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Login issue #155085
     Radu
    Moderator

    Hi,

    Fixed please check,

    I’ve added this function to your child theme to can make this work, please keep and use that function on that hosting environment, it haves some specific security settings.

    If any other users encounter a similar issue with plugins disabled this function can help.

    COPY CODE
    
    
    function ovewrite_kleo_ajax_login_method() {
    	$obj_array['loginUrl'] = site_url();
    	return $obj_array;
    }
    
    add_filter('kleo_localize_app','ovewrite_kleo_ajax_login_method');
    

    The function needs to be pasted in wp-content/themes/kleo-child/functions.php

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Redirect Login issue #154985
     Radu
    Moderator
    Not marked as solution
     Radu
    Moderator

    Hi,

    Please add this CSS to wp-admin -> theme options -> styling options -> quick css

    COPY CODE
    
    .friend-item {
        z-index:1 !important;
    }
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
     Radu
    Moderator

    Hi,

    My recommendation’s to hide on mobile the buttons add to cart and quick view and users to click to desired product and to add it to cart from the product page

    You can use this css to hide the buttons on mobile only

    COPY CODE
    
    
    @media (max-width: 991px) {
        li.product figcaption .shop-actions {
            display:none;
    
        }
    }
    
    
    

    The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: main menu on portfolio #154703
     Radu
    Moderator

    Hi,

    Just add this code to wp-content/themes/kleo-child/functions.php

    COPY CODE
    
    function my_cpt_sq_metabox_menu_options_post_layout($post_types)
    {
    
        $post_types[] = 'portfolio';
        return $post_types;
    
    }
    
    add_filter('sq_metabox_page_menu', 'my_cpt_sq_metabox_menu_options_post_layout');
    

    That’s all

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: disable comments in CPT / geodirectory #154616
     Radu
    Moderator

    Hi,

    You will have to cpy comments.php file from wp-content/themes/kleo/comments.php to wp-content/themes/kleo-child/

    then you should add the red marked code

    COPY CODE
    
    
    <?php if (!is_singular( 'your_cpt' ) ) { ?>
    
    
    <?php } ?>
    
    

    Replace your_cpt with your cpt slug

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
     Radu
    Moderator

    Hi

    The problem may be other

    COPY CODE
    
    [28-Feb-2017 22:39:50 UTC] PHP Fatal error: Call to undefined function adrotate_group() in /mnt/stor14-wc1-dfw3/staging.ilovenz.me/web/content/wp-content/themes/kleo-child/single.php on line 65
    

    The adrotate_group() cannot be called maybe in beginning you have used ad rotate plugin and now it’s not activated or deleted

    Check that

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: facebook API #154600
     Radu
    Moderator
    Not marked as solution
    in reply to: lock down listing pages based on membership level #154506
     Radu
    Moderator

    Hi,

    I’ve saw that, there it’s no quick solution for what you need but I’ve created a small function that allows you to restrict by certain post type

    COPY CODE
    
    function my_resitrct_my_cpt() {
        global $pmpro_pages, $post;
    
        if( is_singular( 'gd_breeders' ) || is_singular( 'your_second_cpt' ) ) {
            if ( is_user_logged_in() && !pmpro_hasMembershipLevel() ) {
                if (isset($post->ID) && !in_array($post->ID, $pmpro_pages)) {
                    wp_redirect( pmpro_url() );
                }
            }
        }
    
    }
    
    add_action('template_redirect', 'my_resitrct_my_cpt');
    

    This it’s something custom if you need more assistance for your project I recommend you to hire a developer

    The function needs to be pasted in wp-content/themes/kleo-child/functions.php

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: lock down listing pages based on membership level #154505
     Radu
    Moderator

    Hi,

    I’ve saw that, there it’s no quick solution for what you need but I’ve created a small function that allows you to restrict by certain post type

    COPY CODE
    
    function my_resitrct_my_cpt() {
        global $pmpro_pages, $post;
    
        if( is_singular( 'gd_breeders' ) || is_singular( 'your_second_cpt' ) ) {
            if ( is_user_logged_in() && !pmpro_hasMembershipLevel() ) {
                if (isset($post->ID) && !in_array($post->ID, $pmpro_pages)) {
                    wp_redirect( pmpro_url() );
                }
            }
        }
    
    }
    
    add_action('template_redirect', 'my_resitrct_my_cpt');
    

    This it’s something custom if you need more assistance for your project I recommend you to hire a developer

    The function needs to be pasted in wp-content/themes/kleo-child/functions.php

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Adding a 5th Footer Column #154396
     Radu
    Moderator

    Hi,
    Upload the attached file after you unzip it to wp-contentthemeskleo-child

    and in functions.php from child theme add this code

    COPY CODE
    
    
    if (!function_exists('kleo_widgets_init')):
    	/**
    	 * Registers our main widget area and the front page widget areas.
    	 *
    	 * @since Kleo 1.0
    	 */
    	function kleo_widgets_init() {
    		
    		register_sidebar(array(
    			'name' => 'Footer column 5',
    			'id' => 'footer-5',
    			'before_widget' => '<div id="%1$s" class="widget %2$s">',
    			'after_widget' => '</div>',
    			'before_title' => '<h4 class="widget-title">',
    			'after_title' => '</h4>',
    		));
    		
    	}
    endif;
    add_action( 'widgets_init', 'kleo_widgets_init' );
    

    Then you will have five columns in footer

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    Attachments:
    You must be logged in to view attached files.
    in reply to: Help me fix the footer. #154392
     Radu
    Moderator
    Not marked as solution
    in reply to: Retina logo not resizing properly #154383
     Radu
    Moderator

    Add also this CSS

    COPY CODE
    
    .kleo-main-header img#logo_img { max-width: 357px; }
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Transparent drop down menu color #154361
     Radu
    Moderator

    Hi,

    Load those CSS s into child theme style.css and check how it looks on mobile and also on desktop

    From my point of view it’s ok let me know

    COPY CODE
    
    
    
    @media (max-width: 991px) {
    .kleo-main-header .navbar-collapse.collapse {
        display: block !important;
    }
    
    
    a.ubermenu-responsive-toggle.ubermenu-loc-primary {
        margin-top: 45px !important;
    }
    
    }
    #header .navbar-nav .dropdown-menu li a {
        color: #fff !important;
    }
    
    .header-lp.kleo-main-header .secondary-menu .navbar-nav {
        	text-align: left;
        	margin-top: 0px !important;
    }
    
    
    .ubermenu.ubermenu-main {float:left !important; margin:0 !important;padding: 0 auto !important }
    
    .kleo-main-header .navbar-nav > li > a {
        line-height: 140px !important;
    }
    
    div#undefined-sticky-wrapper .container {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Change the appearance of navigation links in profile. #154287
     Radu
    Moderator
    Not marked as solution
    in reply to: code problem #154131
     Radu
    Moderator

    Hi,

    What are actually the theme problems?

    None of the files that you have mentioned in previews post are not part of sweetdate theme

    COPY CODE
    
    /wordpress/wp-content/languages/themes/files.php
    /wp-content/themes/nuvioaxis-green/alias.php
    /wp-content/themes/sketch/3d7a.php
    /xmlrpc.php
    /wp-login.php
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Wrong redirect after pop-up login #154126
     Radu
    Moderator

    Try to use this instead

    COPY CODE
    
    function sq7_rdu_redirect( $redirect_to, $request, $user ) {
        $redirect_to = get_permalink();
        return $redirect_to;
    }
    add_filter('login_redirect', 'sq7_rdu_redirect', 11, 3);
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Wrong redirect after pop-up login #154119
     Radu
    Moderator

    Yes because those are for specific cases like it’s written

    Login redirect for Popup and Redirect after Facebook Registration so for the other login case you will have to use a function like the next one

    COPY CODE
    
    function sq7_rdu_redirect( $redirect_to, $request, $user ) {
        $redirect_to = '/my-route-after-redirect/';
        return $redirect_to;
    }
    add_filter('login_redirect', 'sq7_rdu_redirect', 11, 3);
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
     Radu
    Moderator

    1. I have also that code in my functions PHP and it’s displayed and on your search form if I search for different thigs results are the same.

    Maybe you have other things in child theme that can cause this, also de-activate all plugins except Visual Composer and K-elemets to check how it behaves

    2. In this function it;s the loader for the search http://pastebin.com/raw/mJySs4PA you should add that into child theme functions.php

    This is the div that generates the loader

    COPY CODE
    
    <span class="kleo-ajax-search-loading"><i class="icon-spin6 animate-spin"></i></span>
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: How to don’t use Google font ? #154024
     Radu
    Moderator

    Hi,

    Use this CSS

    COPY CODE
    
    .popover > * {
        font-family: fantasy !important;
    }
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Retina logo not resizing properly #154017
     Radu
    Moderator

    Hi,

    Maybe the logo it’s too wide in this case use this CSS

    COPY CODE
    
    @media(min-width:991px) {
            strong.logo.retina-logo {
            width: 263px;
            margin: 0;
        }
    }
    
    @media(min-width:1200px) {
            strong.logo.retina-logo {
            width: initial !important;
            margin: 0;
        }
    }
    

    The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: How to don’t use Google font ? #153982
     Radu
    Moderator

    Hi,

    Please made a screenshot for what element you want to change the font anyway if it’s about the kleo login pop-up use this

    COPY CODE
    
    div#kleo-login-modal > *, div#kleo-login-modal h3 {
        font-family: fantasy !important;
    }
    

    Replace with your font family

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: I need help Centering Titles on Feature Items #153966
     Radu
    Moderator

    Hi,

    Use this css

    COPY CODE
    
    .home .feature-items h3.feature-title {
        text-align: center;
        padding: 20px 0 0 0!important;
    }
    
    

    The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
     Radu
    Moderator

    Hi,

    I’ve omitted to specify in article where the function should be paste

    The code function needs to be pasted in wp-content/themes/kleo-child/functions.php

    COPY CODE
    
    if( !current_user_can('editor') || !current_user_can('administrator') ) {
        add_action( 'admin_init', 'sq_remove_admin_shortcodes_btn', 12 );
    }
    function sq_remove_admin_shortcodes_btn() {
        global $k_elements_tiny;
        remove_filter( 'mce_external_plugins', array( $k_elements_tiny, 'add_rich_plugins' ) );
        remove_filter( 'mce_buttons', array( $k_elements_tiny, 'register_rich_buttons' ) );
    }
    
    
    

    The above code function needs to be pasted in wp-content/themes/kleo-child/functions.php

    As you can see there it’s a check if it’s not administrator or is not editor the button to be removed

    For further improvement at this you should do it yourself you should figure out

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Some issues I would like to get ride #153894
     Radu
    Moderator

    Hi,

    IT sees the site it’s public

    Add this CSS

    COPY CODE
    
    @media(max-width:620px) {
        .logo img {max-width:400px;}
    }
    
    @media(max-width:530px) {
        .logo img {max-width:300px;}
    }
    
    @media(max-width:440px) {
        .logo img {max-width:250px;}
    }
    

    The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Problem with hiding toolbar for some roles #153878
     Radu
    Moderator

    Hi,

    De-activate for hiding admin bar plugins

    Set hide admin bar from admin -> theme options -> misc then add this code to child theme ( wp-content/themes/kleo-child/functions.php )

    COPY CODE
    
    add_action('after_setup_theme', 'add_admin_bar_for_admins');
     
    function add_admin_bar_for_admins() {
        if (current_user_can('Administrator') OR current_user_can('Editor') ) {
            show_admin_bar(true);
        }
    }
    

    Instead of editor role add your desired

    Note : Child theme needs to be installed and activated

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 40 posts - 1,081 through 1,120 (of 2,990 total)

Log in with your credentials

Forgot your details?