Forum Replies Created

Viewing 40 posts - 121 through 160 (of 2,990 total)
  • Author
  • in reply to: How to Change color for Meta Info #212626
     Radu
    Moderator
    Not marked as solution
    in reply to: Change Button Link Css #212624
     Radu
    Moderator
    Not marked as solution
    in reply to: Header icon #212607
     Radu
    Moderator
    Not marked as solution
    in reply to: Line in blog single page #212606
     Radu
    Moderator
    Not marked as solution
    in reply to: A few Customisation Issue #212600
     Radu
    Moderator

    Hi,

    There you need to have the kleo child theme installed and then to paste that code into functions.php file from wp-content/themes/kleo-child/functions.php

    Also you can remove some items using the next snippet

    Using this you can remove it.

    COPY CODE
    
    // Remove profile tabs
    function bp_remove_profile_tabs() {
        global $bp;
        unset($bp->bp_nav['media']);
    }
    add_action('bp_init', 'bp_remove_profile_tabs', 9999);
    

    using this you can rename them

    COPY CODE
    
    
    function mb_profile_menu_tabs(){
        global $bp;
        $bp->bp_nav['groups']['name'] = 'Cities';
    }
    add_action('bp_setup_nav', 'mb_profile_menu_tabs', 201);
    

    There it’s nothing that it can be changed like regular wp menu and that can be done using snippets.

    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: A few Customisation Issue #212418
     Radu
    Moderator

    Hi,

    1. You can change the order using the next function

    COPY CODE
    
    function my_change_profile_tab_order() {
        global $bp;
        $bp->bp_nav['settings']['position'] = 10;
        $bp->bp_nav['activity']['position'] = 20;
        $bp->bp_nav['friends']['position'] = 30;
        $bp->bp_nav['groups']['position'] = 40;
        $bp->bp_nav['blogs']['position'] = 50;
        $bp->bp_nav['messages']['position'] = 60;
        $bp->bp_nav['profile']['position'] = 70;
    }
    add_action( 'bp_setup_nav', 'my_change_profile_tab_order', 999 );
    

    The function will be added to wp-content/themes/kleo-child/functions.php

    10,20,30,40,50 etc represents order

    Child theme needs to be installed and activated.

    2. Go to wp-admin -> theme options -> buddypress -> Enable member navigation* -> OFF

    3. Menus can be managed under wp-admin -> appearance -> menus ->

    For KLEO and Buddypress links you need to enable them in screen options to go in WP Admin > Appearance > Menus and open the panel at the very top right of the page titled ‘Screen Options’, check the option “KLEO and Buddypress”

    Then from Buddypress menu add the settings link

    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,

    Try with this css

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

    Decrease the 15px value until they fit better

    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: Grid Builder spacing; Buddypress and BBpress Integration #212414
     Radu
    Moderator
    Not marked as solution
    in reply to: Secondary menu covers up breadcrumbs #212413
     Radu
    Moderator

    Hi,

    Ah sorry, you can add that css into a media query where it will be applied only on certain resolution up

    COPY CODE
    
    @media(min-width:768px) {
    
    .logged-in #main {
        margin-top: 30px !important;
    }
    
    }
    

    OR

    COPY CODE
    
    @media(min-width:991px) {
    
    .logged-in #main {
        margin-top: 30px !important;
    }
    
    }
    

    IT should be ok with this,

    Let me know, tried to take a look on your site to see how the menu looks with that css and the credentials not works.

    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
    Not marked as solution
    in reply to: Errors in Article Schema for Posts #212007
     Radu
    Moderator

    Hi,

    I see i will forward to the developer that, you an use this function to stop our schema to be added
    to body.

    The code will be added in wp-content/themes/kleo-child/functions.php

    COPY CODE
    
    
    /* SQR Remove Schema org for body */
    if ( ! function_exists( 'kleo_get_schema_org_markup' ) ) {
    
        function kleo_get_schema_org_markup() {
            $schema = 'http://schema.org/';
            if ( is_singular( 'post' ) ) {
                $type = "Article";
            } elseif ( is_singular( 'portfolio' ) ) {
                $type = "VisualArtwork";
            }
            elseif ( function_exists('bp_is_active') && bp_is_user() ) {
                $type = 'ProfilePage';
            }
            elseif ( is_author() ) {
                $type = 'ProfilePage';
            } // Is search results page
            elseif ( is_search() ) {
                $type = 'SearchResultsPage';
            }
            else {
                $type = 'WebPage';
            }
    
            $type = apply_filters( 'kleo_schema_org_type', $type );
    
    //        return 'itemscope itemtype="' . $schema . $type . '"';
            
        }
    
    }
    

    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: 404 wrong link #211872
     Radu
    Moderator

    I think i know why, somehow in a case serve the 404 page from child and the other from parent and the parent theme 404.php file has by default right sidebar, try the next snippet

    COPY CODE
    
    function sqr_404_full_layout()
    {
        if ( is_404() ) {
            kleo_switch_layout('full');
        }
    
    }
    
    add_action ('kleo_header', 'sqr_404_full_layout');
    
    

    Most sure there we have 404 there because it’s a wrong link.

    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: RAM ML in Xprofile Fields #211871
     Radu
    Moderator

    Hi,

    What version you was running before to update to 3.x ?

    I think this function causes those for you

    COPY CODE
    
    /*Make xprofile fields translable fix*/
    if ( ! function_exists( 'make_x_profile_fields_name_translable' ) ):
    
    	function make_x_profile_fields_name_translable( $fieldname ) {
    		return __( $fieldname, 'kleo_framework' );
    	}
    
    	add_filter( 'bp_get_the_profile_field_name', 'make_x_profile_fields_name_translable' );
    
    endif;
    
    
    

    path : wp-content/themes/sweetdate/custom_buddypress/bp-functions.php from line 2960

    It can be overwritten in child as you need.

    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: Theme hooks #211751
     Radu
    Moderator
    Not marked as solution
    in reply to: Increase theme navbar background height #211684
     Radu
    Moderator
    Not marked as solution
    in reply to: Dynamic CSS #211678
     Radu
    Moderator

    Hi,

    The dynamic.css file it’s generated when you . change from example something in theme options or in customizer not sure why that… i cannot reproduce that issue on my local end

    Try to use this snippet

    COPY CODE
    
    function sq_print_inline_css() {
    	add_action( 'wp_head', 'kleo_custom_head_css' );
    	remove_action( 'wp_enqueue_scripts', 'kleo_load_dynamic_css', 22 );
    }
    add_action('init', 'sq_print_inline_css');
    

    Add the code into child theme functions.php file.

    Let me know

    The snippet will add the css in head instead in the dynamic.css file

    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: Restrict / Make Site Private #211616
     Radu
    Moderator
    Not marked as solution
    in reply to: How to include CSS for all posts? #211437
     Radu
    Moderator
    Not marked as solution
    in reply to: Import “text” values from database #211387
     Radu
    Moderator
    Not marked as solution
    in reply to: PHP Problem #211292
     Radu
    Moderator

    Hi,

    Do you know if you currently have debug enabled? Please try disabling it to see if this resolves the issue. Please enable the WordPress debug log. More Info: https://codex.wordpress.org/Debugging_in_WordPress

    1. Edit wp-config.php and insert the following lines:

    COPY CODE
    
    define( 'WP_DEBUG', false );
    define( 'WP_DEBUG_LOG', false );
    define( 'WP_DEBUG_DISPLAY', false );

    Anyway i see that the notice it’s thrown outside the theme folder and not sure if that our theme issue.

    if the issue persists even with debug off try to switch child theme and plugins off and check if the notice disappears or not.

    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
     Radu
    Moderator

    Hi,

    Just use this css

    COPY CODE
    
    .directory div#send-private-message {
        display: none !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
    Not marked as solution
    in reply to: How can I edit the profile menu #211150
     Radu
    Moderator
    Not marked as solution
    in reply to: new layout? #211092
     Radu
    Moderator

    Hi,

    You can update the theme sure why not, better to have always latest version.

    They are predefined and it different the colors represents the post format

    You can customize the line colors using the next CSS

    COPY CODE
    
    
    .masonry-listing .format-video .post-title
    { border-left: 3px solid #07baf4; }
    .masonry-listing .format-standard .post-title
    { border-left: 3px solid #8a52ad; }
    .masonry-listing .format-image .post-title
    { border-left: 3px solid #fc604a; }
    .masonry-listing .format-gallery .post-title
    { border-left: 3px solid #43ae9e; }
    .masonry-listing .format-audio .post-title
    { border-left: 3px solid #367bb7; }
    .masonry-listing .format-link .inner-content
    { margin-top: 10px; border-left: 3px solid #00c5c4; }
    .masonry-listing .format-aside .post-title
    { border-left: 3px solid #ee2534; }
    

    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 include CSS for all posts? #211047
     Radu
    Moderator
    Not marked as solution
     Radu
    Moderator

    Hi,

    Can you check if caused or not by a custom change like CSS or Child theme templates ?

    Anyway use this css to handle the icons sizes

    COPY CODE
    
    #buddypress div#item-nav li a:before {
        font-size: 50px !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: KLEO Mobile Menu Icon & Content Width Configuration #211039
     Radu
    Moderator

    Hi,

    1. The menu icon issue, it’s displayed for me on all pages

    2. You can do that in two ways or you add padding for the form container in visual composer or you add this css in quick css in theme options -> general settings

    COPY CODE
    
    @media(max-width:600px) {
        .home form#register_form {padding:0 20px;}
    }
    

    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 include CSS for all posts? #210978
     Radu
    Moderator
    Not marked as solution
    in reply to: Secondary menu covers up breadcrumbs #210974
     Radu
    Moderator

    Hi,

    I see, in this case did you know if that your membership plugin will add those roles in the body or html class ? if yes the solution will be simple add beside this snippet

    .logged-in #main {
    margin-top: 30px;
    }

    Those ones

    COPY CODE
    
    .MLT-Club #main {
        margin-top: 30px;
    }
    
    .administrator  #main {
        margin-top: 30px;
    }
    
    

    Practically you can look via browser inspector at the body classes or html classes for a specific class for those memberships and to replace on snippet above

    from what i know the .logged-in will be always added there no matter the membership, if you are logged in the class will be added, not sure if your plugin removes that.

    You can try to set important for the css rules

    Example

    COPY CODE
    
    .logged-in #main {
        margin-top: 30px !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: Cannot update theme #210958
     Radu
    Moderator
    Not marked as solution
    in reply to: Register form #210760
     Radu
    Moderator

    Hi,

    We need to enable wp_debug to can see exactly what error it’s triggered there, follow the next.

    Follow these steps to enable wp debug:

    •  Connect to your server by FTP
    • Look in root directory of your WordPress install and open wp-config.php
    • Search for define( ‘WP_DEBUG’, false ); and change FALSE value to TRUE
    COPY CODE
    
    define( 'WP_DEBUG', true );
    
    •   After this line add this:
    COPY CODE
    
    define( 'WP_DEBUG_LOG', true );
    

    WP_DEBUG_LOG is a companion to WP_DEBUG that causes all errors to also be saved to a debug.log log file inside the /wp-content/ directory. This is useful if you want to review all notices later or need to view notices generated off-screen (e.g. during an AJAX request or wp-cron run).

    Repeat the described actions and then check the debug.log file and let me know what error appears.

    If this is useless please try to deactivate additional plugins except Visual Composer, K-elements, BuddyPress, Paid memberships pro and revolution slider.

    After you have disabled the plugins try to see if the error persists.

    Cheers

    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: Secondary menu covers up breadcrumbs #210656
     Radu
    Moderator

    Hi,

    Just add this css in wp-admin -> theme options -> general settings -> quick css

    COPY CODE
    
    .logged-in #main {
        margin-top: 30px;
    }
    

    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: Mouse hover on menu when I am in profile #210437
     Radu
    Moderator

    Hi,

    Add this css in theme options-> quick css

    COPY CODE
    
    .bp-overlay-menu #buddypress div#item-nav {
        z-index: 20 !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: BuddyApp Theme Issue #210436
     Radu
    Moderator

    Hi

    I looks like the tabs container comes over the whole page and the buttons under that div cannot be touched.

    USe this css

    COPY CODE
    
    .wpneo-tabs {
        display: inline !important;
    }
    

    Add it to wp-admin -> theme options -> 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: Ajax Login popup | When commenting an article #210434
     Radu
    Moderator
    Not marked as solution
     Radu
    Moderator

    Replace the code with this one

    COPY CODE
    
    .profile span.activity {display:none;}
    

    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: Undefined index: icl_lso_native_lang error #210069
     Radu
    Moderator

    I understand that there are some notices showing up at the top of your site. Do you know if you currently have debug enabled? Please try disabling it to see if this resolves the issue. Please enable the WordPress debug log. More Info: https://codex.wordpress.org/Debugging_in_WordPress

    1. Edit wp-config.php and insert the following lines:

    COPY CODE
    
    define( 'WP_DEBUG', false );
    define( 'WP_DEBUG_LOG', false );
    define( 'WP_DEBUG_DISPLAY', false );
    

    2. Browse to the page with the issue and/or reproduce the issue.

    Are you still seeing the notice messages?

    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: Code for Kleo login pop-up window #209987
     Radu
    Moderator

    Hi,

    In this case maybe that wooocommerce filter doesn’t not allow content with html class or any attribute, that’s the correct html structure that opens the pop-up.

    So you will have to ask the woocommerce team how you can allow this type of content on their filter.

    COPY CODE
    
    <a class="kleo-show-login" href="#">Please Login</a>
    

    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: Code for Kleo login pop-up window #209617
     Radu
    Moderator

    Hi,

    I had tested the snippet from you and adding the link that i had suggested to you and it works

    I had printed the output of the function and it works… make sure to be logged out for showing the login popup

    COPY CODE
    
    
    function my_woocommerce_add_error( $error ) {
        return str_replace(
            'An account is already registered with your email address. Please log in',
            'Hi, you must be a returning customer. To keep your data safe login is required to purchase a membership. If you know your password <a class="kleo-show-login" href="#">Please Login</a>
    '
    ,$error);
    }
    add_filter( 'woocommerce_add_error', 'my_woocommerce_add_error' );
    
    

    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: page member, and icon #209615
     Radu
    Moderator
    Not marked as solution
Viewing 40 posts - 121 through 160 (of 2,990 total)

Log in with your credentials

Forgot your details?