Forum Replies Created

Viewing 40 posts - 161 through 200 (of 209 total)
  • Author
  • in reply to: Responsive mobile menu fix #23375
     Catalin
    Moderator

    Hello,

    Add this code in your style.css file from the child theme folder:

    COPY CODE
    
    
    .contain-to-grid {
        float: left;
        position: relative;
        z-index: 10;
    }
    
    @media only screen and (max-width: 767px) {
     .contain-to-grid {
      margin-top:-12px;
         margin-left: -16px;
         min-width: -webkit-calc(100% + 32px);
         min-width: calc(100% + 32px);
     }
    }
    
    

    let me know if this works.

    Thank you,
    Catalin

    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: Breadcrumb – Current page text color #23309
     Catalin
    Moderator

    Hello,

    Please add this code in the style.css file from your child theme folder:

    COPY CODE
    
    
    .breadcrumb>li+li:before
    {
      color: #xxx !important;
    }
    
    .breadcrumb li span
    {
      color: #xxx !important;
    }
    
    
    

    where xxx is the color you want to add

    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: reverting back to free #23204
     Catalin
    Moderator

    Hello,

    Add this instead:

    COPY CODE
    
    
    <?php
    /**
     * @package WordPress
     * @subpackage Sweetdate
     * @author SeventhQueen <themesupport@seventhqueen.com>
     * @since Sweetdate 1.0
     */
    
    /**
     * Sweetdate Child Theme Functions
     * Add extra code or replace existing functions
     */ 
    
    add_action('after_setup_theme','kleo_my_hearts_actions');
    
     
    function kleo_my_hearts_actions()
    {
        /* disable matching on member profile */
        remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match');
    
        /* disable matching on member profile */
        remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match');
    
        /* Replace the heart over images */
        add_filter('kleo_img_rounded_icon', 'my_custom_icon');
    
        /* Replace the heart from register modal */
        add_filter('kleo_register_button_icon', 'my_custom_icon_register');
    
        /* Replace the heart from About us widget */
        add_filter('kleo_widget_aboutus_icon', 'my_custom_icon_about_widget');
    }
    
    //members page fields 
    add_action('after_setup_theme','kleo_my_member_data');
    function kleo_my_member_data()
    {
        global $kleo_config;
        //this is the details field, right now it take the "About me" field content 
        $kleo_config['bp_members_details_field'] = 'About me';
        //this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there
        $kleo_config['bp_members_loop_meta'] = array(
            'Profile Type',
            'Position Played'
        );
    
    }
    
    add_filter('buddyblog_show_posts_on_profile','__return_true');
    
    //Code to remove hearts
     
    /* Replace the heart with a camera icon function */
    function my_custom_icon () {
        return 'camera';
    }
     
    /* Replace the heart from register modal with a user icon function */
    function my_custom_icon_register () {
        return 'user';
    }
    /* Replace the heart from about us widget with a user icon function */
    function my_custom_icon_about_widget () {
        return 'user';
    }
    
    //code to dispaly tabs beside avatar
    
    {
        global $bp_tabs;
        $bp_tabs = array();
    
        $bp_tabs['base'] = array(
            'type' => 'regular',
            'name' => apply_filters('kleo_extra_tab2',__('About me', 'kleo_framework')),
            'group' => 'Base',
            'class' => 'regulartab'
        );
    
        $bp_tabs['my-sport'] = array(
            'type' => 'regular',
            'name' => __('My Sport', 'kleo_framework'),
            'group' => 'My Sport',
            'class' => 'regulartab'
        );
    
        $bp_tabs['myself-summary'] = array(
            'type' => 'regular',
            'name' => __('Summary', 'kleo_framework'),
            'group' => 'Myself Summary',
            'class' => 'regulartab'
        );
    
        /* rtMedia tab - only if plugin installed */
        if (class_exists('RTMedia'))
        {
            $bp_tabs['rtmedia'] = array(
                'type' => 'rt_media',
                'name' => __('My photos', 'kleo_framework'),
                'class' => 'mySlider'
            );
        }
        /* Bp-Album tab - only if plugin installed */
        elseif (function_exists('bpa_init') AND sq_option('bp_album', 1) == 1)
        {
            $bp_tabs['bp-album'] = array(
                'type' => 'bp_album',
                'name' => __('My photos', 'kleo_framework'),
                'class' => 'mySlider'
            );
        }
    
        $bp_tabs['looking-for'] = array(
            'type' => 'cite',
            'name' => apply_filters('kleo_extra_tab1', __('Looking for', 'kleo_framework')),
            'group' => apply_filters('kleo_extra_tab1', 'Looking for'),
            'class' => 'citetab'
        );
    }
    
    //hide friends nav
    
    function my_remove_friends_nav() {
        global $bp;
        if (!bp_is_my_profile()) {
            bp_core_remove_nav_item( 'friends' );
        }
    }
    add_action( 'bp_setup_nav', 'my_remove_friends_nav' );
    
    ?>
    
    

    Let me know if this works.

    Thank you,
    Catalin

    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 Navigation Font Size #23182
     Catalin
    Moderator

    Hello,

    Add this code to your style.css file from the child theme:

    COPY CODE
    
    
    .top-bar ul>li a:not(.button)
    {
       font-size: XXpx;
    }
    
    

    where XX is the size you need.

    Thank you,
    Catalin

    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: set up the backgroundcolor for the navi bar #23082
     Catalin
    Moderator

    Hello,

    Please add this in your style.css file from the child theme folder:

    COPY CODE
    
    .contain-to-grid .top-bar
    {
       background: #xxx !important;
    }
    

    where xxx is the color code you want to add.

    Let me know if this works.

    Thank you,
    Catalin

    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 shop button for guests #23080
     Catalin
    Moderator

    Hello,

    add this code in your functions.php file from your child theme:

    COPY CODE
    
    
    function kleo_woo_header_cart ( $items, $args )
    {
        $cart_location = sq_option( 'woo_cart_location', 'primary' );
    
        if ( $args->theme_location == $cart_location )
        {
            if ( is_user_logged_in() )
            {
                $items .= kleo_woo_get_mini_cart();
            }
        }
           return $items;
    
    }
    
    
    

    let me know if this works

    Thank you,
    Catalin

    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: Member page – kleo-bp-home-wrap – translation #23062
     Catalin
    Moderator

    Hello,

    Those are generated by Buddypress and you can change them by adding this code to wp-content/plugins/bp-custom.php. If the fie doesn’t exit create it:

    COPY CODE
    
    
    function kleo_change_profile_name() {
    global $bp;
    $bp->bp_nav['profile']['name'] = 'your name';
    $bp->bp_nav['activity']['name'] = 'your name';
    $bp->bp_nav['friends']['name'] = 'your name';
    $bp->bp_nav['groups']['name'] = 'your name';
    $bp->bp_nav['blogs']['name'] = 'your name';
    $bp->bp_nav['messages']['name'] = 'your name';
    $bp->bp_nav['settings']['name'] = 'your name';
    
    }
    add_action( 'bp_setup_nav', 'kleo_change_profile_tab', 999 );
    
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    
    

    replace ‘your name’ with the new word you want to translate.

    Let me know if this works.

    Thank you,
    Catalin

    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: Add line to copyright footer text #22895
     Catalin
    Moderator

    Hello,

    You can try adding this code:

    COPY CODE
    
    
    function kleo_copyright_text()
    {
      echo '<p>'. __("Copyright", 'kleo_framework').' © '.date("Y").' '. get_bloginfo('name').'. <br class="hide-for-large show-for-small"/>'. get_bloginfo( 'description' ).'<br/>ADD TEXT HERE FOR NEW LINE</p>';        
    }
    
    

    Let me know if this works.

    Thank you,
    Catalin

    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 featured images #22827
     Catalin
    Moderator

    Hello,

    Replace your code with this:

    COPY CODE
    
    
    <?php
    /**
     * @package WordPress
     * @subpackage Sweetdate
     * @author SeventhQueen <themesupport@seventhqueen.com>
     * @since Sweetdate 1.0
     */
    
    /**
     * Sweetdate Child Theme Functions
     * Add extra code or replace existing functions
     */
    
    add_action('after_setup_theme','kleo_remove_actions');
    /**
     * Override existing actions
     * Use these functions to replace/remove existing actions
     * @since Sweetdate 1.3
     */
    function kleo_remove_actions()
    {
        /* For example uncomment the line bellow to disable matching on member profile */
        //remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match');
    }
    
    /*bbpress fullwidth*/
    /*add_action('wp_head', 'kleo_bbpress_tpl', 11);
    function kleo_bbpress_tpl()
    {
    	//user is viewing a forum page
    	if(get_post_type() == 'forum' OR get_post_type() == 'topic' OR get_post_type() == 'reply') {
    	//set to full width
    	remove_action('kleo_before_content', 'kleo_sidebar');
    	remove_action('kleo_after_content', 'kleo_sidebar');
    	remove_action('kleo_before_content', 'kleo_extra_sidebar');
    	remove_action('kleo_after_content', 'kleo_extra_sidebar');
    	add_filter('kleo_content_class', create_function(null, 'return "twelve";'));
    
    	}
    }
    */
    
    class SQueen_Recent_Posts2_widget extends WP_Widget {
    
        /**
         * Widget setup
         */
        function __construct() {
    
            $widget_ops = array(
                'description' => __( 'Recent posts with thumbnails widget.', 'kleo_framework' )
            );
            parent::__construct( 'kleo_recent_posts2', __('[Kleo] Recent posts2','kleo_framework'), $widget_ops );
        }
    
        /**
         * Display widget
         */
        function widget( $args, $instance ) {
            extract( $args, EXTR_SKIP );
    
            $title = apply_filters( 'widget_title', $instance['title'] );
            $limit = $instance['limit'];
            $length = (int)( $instance['length'] );
            $thumb = $instance['thumb'];
            $cat = $instance['cat'];
            $post_type = $instance['post_type'];
    
            echo $before_widget;
    
            if ( ! empty( $title ) )
                echo $before_title . $title . $after_title;
    
            global $post;
    
            if ( false === ( $kleo_recent_posts = get_transient( 'kleo_recent_posts2_' . $widget_id ) ) ) {
    
                $args = array(
                    'numberposts' => $limit,
                    'cat' => $cat,
                    'post_type' => $post_type
                );
    
                $kleo_recent_posts = get_posts( $args );
    
                set_transient( 'kleo_recent_posts2_' . $widget_id, $kleo_recent_posts, 60*60*12 );
    
            } ?>
    
            <div>
    
                <ul class='latest-blog'>
    
                    <?php foreach( $kleo_recent_posts as $post ) : setup_postdata( $post ); ?>
    
                        <li>
                            <?php if( $thumb == true ) : ?>
                                <span class='avatar'><a>"><?php echo get_the_post_thumbnail(); ?></a></span>
                            <?php endif; ?>
                            <p><?php the_title(); ?> <br/><?php echo word_trim(get_the_excerpt(), $length, '...' ); ?> <a>"><?php _e("read more", 'kleo_framework'); ?></a></p>
                        </li>
                    <?php endforeach; wp_reset_postdata(); ?>
    
                </ul>
    
            </div>
    
            <?php
    
            echo $after_widget;
    
        }
    
        /**
         * Update widget
         */
        function update( $new_instance, $old_instance ) {
    
            $instance = $old_instance;
            $instance['title'] = esc_attr( $new_instance['title'] );
            $instance['limit'] = $new_instance['limit'];
            $instance['length'] = (int)( $new_instance['length'] );
            $instance['thumb'] = $new_instance['thumb'];
            $instance['cat'] = $new_instance['cat'];
            $instance['post_type'] = $new_instance['post_type'];
    
            delete_transient( 'kleo_recent_posts_' . $this->id );
    
            return $instance;
    
        }
    
        /**
         * Widget setting
         */
        function form( $instance ) {
    
            /* Set up some default widget settings. */
            $defaults = array(
                'title' => '',
                'limit' => 5,
                'length' => 10,
                'thumb' => true,
                'cat' => '',
                'post_type' => '',
                'date' => true,
            );
    
            $instance = wp_parse_args( (array) $instance, $defaults );
            $title = esc_attr( $instance['title'] );
            $limit = $instance['limit'];
            $length = (int)($instance['length']);
            $thumb = $instance['thumb'];
            $cat = $instance['cat'];
            $post_type = $instance['post_type'];
    
            ?>
    
            <p>
                <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'kleo_framework' ); ?></label>
                <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo $title; ?>" />
            </p>
            <p>
                <label for="<?php echo esc_attr( $this->get_field_id( 'limit' ) ); ?>"><?php _e( 'Limit:', 'kleo_framework' ); ?></label>
                <select class="widefat" name="<?php echo $this->get_field_name( 'limit' ); ?>" id="<?php echo $this->get_field_id( 'limit' ); ?>">
                    <?php for ( $i=1; $i<=20; $i++ ) { ?>
                        <option <?php selected( $limit, $i ) ?> value="<?php echo $i; ?>"><?php echo $i; ?></option>
                    <?php } ?>
                </select>
            </p>
            <p>
                <label for="<?php echo esc_attr( $this->get_field_id( 'length' ) ); ?>"><?php _e( 'Excerpt length:', 'kleo_framework' ); ?></label>
                <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'length' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'length' ) ); ?>" type="text" value="<?php echo $length; ?>" />
            </p>
    
            <?php if( current_theme_supports( 'post-thumbnails' ) ) { ?>
    
                <p>
                    <label for="<?php echo esc_attr( $this->get_field_id( 'thumb' ) ); ?>"><?php _e( 'Display Post Image?', 'kleo_framework' ); ?></label>
                    <input id="<?php echo $this->get_field_id( 'thumb' ); ?>" name="<?php echo $this->get_field_name( 'thumb' ); ?>" type="checkbox" value="1" <?php checked( '1', $thumb ); ?> /> 
                </p>
    
            <?php } ?>
    
            <p>
                <label for="<?php echo esc_attr( $this->get_field_id( 'cat' ) ); ?>"><?php _e( 'Show from category: ' , 'kleo_framework' ); ?></label>
                <?php wp_dropdown_categories( array( 'name' => $this->get_field_name( 'cat' ), 'show_option_all' => __( 'All categories' , 'kleo_framework' ), 'hide_empty' => 1, 'hierarchical' => 1, 'selected' => $cat ) ); ?>
            </p>
            <p>
                <label for="<?php echo esc_attr( $this->get_field_id( 'post_type' ) ); ?>"><?php _e( 'Choose the Post Type: ' , 'kleo_framework' ); ?></label>
                <select class="widefat" id="<?php echo $this->get_field_id( 'post_type' ); ?>" name="<?php echo $this->get_field_name( 'post_type' ); ?>">
                    <?php foreach ( get_post_types( '', 'objects' ) as $post_type ) { ?>
                        <option value="<?php echo esc_attr( $post_type->name ); ?>" <?php selected( $instance['post_type'], $post_type->name ); ?>><?php echo esc_html( $post_type->labels->singular_name ); ?></option>
                    <?php } ?>
                </select>
            </p>
    
        <?php
        }
    
    }
    
    /**
     * Register widget.
     *
     * @since 1.0
     */
    add_action( 'widgets_init', create_function( '', 'register_widget( "SQueen_Recent_Posts2_widget" );' ) );
    
    add_action('after_setup_theme','kleo_my_custom_tabs');
    function kleo_my_custom_tabs()
    {
        global $bp_tabs;
        $bp_tabs = array();
        $bp_tabs['looking-for'] = array(
            'type' => 'cite',
            'name' =>  __('Looking for', 'kleo_framework'),
            'group' => 'Looking for',
            'class' => 'citetab'
        );
    
        $bp_tabs['base'] = array(
            'type' => 'regular',
            'name' => __('About me', 'kleo_framework'),
            'group' => 'Base',
            'class' => 'regulartab'
        );
    
        /* rtMedia tab - only if plugin installed */
        if (class_exists('RTMedia'))
        {
            $bp_tabs['rtmedia'] = array(
                'type' => 'rt_media',
                'name' => __('My work', 'kleo_framework'),
                'class' => 'mySlider'
            );
        }
    
        /* Bp-Album tab - only if plugin installed */
        elseif (function_exists('bpa_init')) {
            $bp_tabs['bp-album'] = array(
                'type' => 'bp_album',
                'name' => __('My photos', 'kleo_framework'),
                'class' => 'mySlider'
            );
        }
    
        $bp_tabs['social'] = array(
            'type' => 'regular',
            'name' => __('Social', 'kleo_framework'),
            'class' => 'regulartab'
        );
    }
    
    /**
     * Uncomment to change Looking for group with your own
     */
    /*
    add_filter('kleo_extra_tab1', 'custom_tab');
    function custom_tab()
    {
        return 'Base';
    }
    */
    
    /**
     * Uncomment to change default tab on member profile
     */
    /*
    add_filter('kleo_bp_profile_default_top_tab','my_default_tab');
    function my_default_tab() {
        return 'my-photos';
    }
    */
    
    add_action('after_setup_theme','kleo_my_actions');
    
    function kleo_my_actions()
    {
        /* disable matching on member profile */
        remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match');
    
        /* Replace the heart over images */
        add_filter('kleo_img_rounded_icon', 'my_custom_icon');
    
        /* Replace the heart from register modal */
        add_filter('kleo_register_button_icon', 'my_custom_icon_register');
    }
    
    /* Replace the heart with a camera icon function */
    function my_custom_icon () {
        return 'camera';
    }
    
    /* Replace the heart with a user icon function */
    function my_custom_icon_register () {
        return 'user';
    }
    
    /* Filter the redirect url for login*/
    add_filter("login_redirect","kleo_redirect_to_profile",100,3);
    
    function kleo_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user){
        /*if no redirect was specified,let us think ,user wants to be in wp-dashboard*/
        if(!is_super_admin($user->ID))
            return bp_core_get_user_domain($user->ID );
        else
            return $redirect_to_calculated; /*if site admin*/
    }
    
    
    add_action('after_setup_theme','remove_search_form',11);
    function remove_search_form() {
        remove_action('after_header_content','render_user_search');
    }
    
    /*Progress*/
    add_action('kleo_bp_header_actions', 'my_prog_bar', 11);
    function my_prog_bar() {
        if (function_exists('bppp_progression_block') AND bp_is_my_profile()) {
            echo '<div class="clearfix"></div>';
            bppp_progression_block();
        }
    }
    
    /*Thumb modify*/
    
    function ThumbModif() {
    
        set_post_thumbnail_size( 620, xxx );
    
    }
    add_action( 'after_setup_theme', 'ThumbModif');
    
    
    ?>
    
    
    ?>
    
    
    
    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: Account cancelation message #22754
     Catalin
    Moderator

    Hello,

    Take a look at this code lines:

    COPY CODE
    
    			//send an email to the member
    			$myemail = new PMProEmail();
    			$myemail->sendCancelEmail();
    

    from the file i mentioned.

    Let me know if this helps.

    Thank you,
    Catalin

    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: Wider Pages #22635
     Catalin
    Moderator

    Hello,

    You can do this by adding this code in the style.css file from the child theme folder. please keep in mind that the theme is responsive and the layout elements are directly influenced by the container size. The default is 980px.

    COPY CODE
    
    .row {
    width: xxx px;
    }
    

    where xxx is the new value you want.

    Thank you,
    Catalin

    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 header on pages #22610
     Catalin
    Moderator

    Hello,

    Please add this code in the style.css file from your child theme folder:

    COPY CODE
    
    
    section.main-title
    {
      background-color:transparent;
    }
    
    

    Also, go to (Theme options > Styling options) and set border from the header section to transparent. Please see attachment.

    Thank you,
    Catalin

    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: Child CSS sheets not working for specific classes #22376
     Catalin
    Moderator

    I see a mistake in the css line:

    COPY CODE
    
    
    .page-boxed {
    	max-width: 1024 !important;
    }
    
    
    

    no “px” added.

    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 membership option #22358
     Catalin
    Moderator

    Hello,

    First you need to disable the membership plugin and second, you need to add this code in style.css file from the child theme folder theme:

    COPY CODE
    
    div.login-buttons
    {
    display:none;
    }
    

    Let me know if this works,

    Thank you,
    Catalin

    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: Different parts are not well-styled #22200
     Catalin
    Moderator

    Hello,

    1. please send me a link to your website to be able to replicate your issue.

    2. add this code to your style.css file from the child theme folder:

    COPY CODE
    
    #buddypress .rtmedia-container .rtmedia-uploader .drag-drop input.start-media-upload
     {
    padding-top:0px !important;
    }
    

    Thank you,
    Catalin

    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 remove "Popular" in Homepage #22150
     Catalin
    Moderator

    Hello,

    You need to copy the function kleo_top_members that can be found at
    ..\wp-content\themes\sweetdate\custom_buddypress\bp-functions.php , add it in your functions.php file from your child theme folder and remove from its content this line:

    COPY CODE
    
    
    <a href="'.bp_get_members_directory_permalink().'">'.__("Popular", 'kleo_framework').'</a>
    
    
    

    Let me know if this works.

    Thank you,
    Catalin

    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: Avatars misaligned #22079
     Catalin
    Moderator

    The error comes from simple tweeter tweets plugin.

    add this code in style.css from your child theme folder:

    COPY CODE
    
    
    .avatar {
    margin-left: 0px !important;
    }
    
    

    Let me know if this works.

    Thank you,
    Catalin

    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: Blank area under logo on homepage #22074
     Catalin
    Moderator

    Hello,

    You can fix this by adding the following code in the style.css file from your child theme folder:

    COPY CODE
    
    
    .navbar-header .logo
    {
       padding-top:12px;
    }
    
    

    Let me know if this helps.

    Thank you,
    Catalin

    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: Problems With Visual Composer CSS #22017
     Catalin
    Moderator

    Hello,

    Please add this code in (Theme options > General setings) in Quick Css are:

    COPY CODE
    
    
    body.compose-mode .section-container.container > .row {overflow: inherit;}
    body.compose-mode .vc-element:hover .row > .vc-element:before, 
    body.compose-mode .vc-element.vc-hover .row > .vc-element:before, 
    body.compose-mode .vc-element.vc-hold-hover .row > .vc-element:before {
        content: "";
        height: 100%;
        left: 0;
        margin: 0;
        outline: 1px dashed rgba(125, 125, 125, 0.4);
        padding: 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 0;
    }
    body.compose-mode .vc-element .row {margin-left: 0; margin-right: 0;}
    
    

    Let me know if this works.

    Thank you,
    Catalin

    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: Probleme to ad some add in the code ! #21984
     Catalin
    Moderator

    Hello,

    If you want to add the code in a php template, you should use something like this:

    COPY CODE
    
    if(pmpro_displayAds())
    {
    //insert ad code here
    }
    

    You need to add the code inside <?php … ?>. In your example, you close the php twice

    COPY CODE
    ?>

    and this won’t work.

    Let me know if this works,

    Thank you,
    Catalin

    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: Add verical line separating content and the sidebar #21941
     Catalin
    Moderator

    Hello,

    You need to add this code to your style.css from your child theme folder:

    COPY CODE
    
    
    .row .four
    {  
        border-left: solid 1px #xxx;
     }
    
    

    For changing the widget background color, you can do this by adding:

    COPY CODE
    
    .widgets
    {
       background-color:#xxx;
    }
    

    Keep in mind that changing the background color for widgets implies more CSS work for the widgets to look right.

    Also “#xxx” is the color code and you should replace this with the color you want to use.

    Thank you,
    Catalin

    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: Removing animation from activity stream #21882
     Catalin
    Moderator

    Hello,

    You need to add in style.css file from your child theme folder this code:

    COPY CODE
    
    body.home-page #buddypress ul.activity-list li
    {
      opacity:1;
    }
    
    

    Thank you,
    Catalin

    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: Header in registration page #21721
     Catalin
    Moderator

    Hello,

    Add this code:

    COPY CODE
    
    
    body.registration #header
    {
       display:none;
    }
    
    

    in your style.css file from your WordPress child theme folder.

    Thank you,
    Catalin

    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 can i change the names of the navigation menu? #21710
     Catalin
    Moderator

    Hello,

    1. Take a look at those links:

    https://wordpress.org/plugins/codestyling-localization/screenshots/

    and

    http://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/

    2. Take a look in the (Theme options>Styling options) in the alternate area. There you can set colors to transparent, in this way you will have a continuous white background. If you want to completely remove it, add this code in your style.css file from the child theme folder:

    COPY CODE
    
    body.blog section.main-title 
    {
      display:none;
    }
    

    3. You can use the add media button and chose add a gallery. Take a look at this link:

    http://codex.wordpress.org/Inserting_Images_into_Posts_and_Pages

    or you can use visual composer and add the gallery shortcode, see attach for details.

    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: Theme options gives blank page #21671
     Catalin
    Moderator

    Hello,

    Please add this in functions.php file from child theme folder and tell me the message that is returned:

    COPY CODE
    
    echo 'Curl: ', function_exists('curl_version') ? 'Enabled' : 'Disabled';
    

    Thank you,
    Catalin

    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: New Users list in Groups #21659
     Catalin
    Moderator

    Hello,

    Please add this code to your style.css file from the child theme folder:

    COPY CODE
    
    
    #activity-stream li.joined_group 
    
    {
       display:none;
    }
    
    

    Let me know if this works for you,

    Thank you,
    Catalin

    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: Customize Call to Action Heart #21612
     Catalin
    Moderator

    Hello,

    Take a look at this:

    http://fontawesome.io/3.2.1/cheatsheet/

    here you have a list with the icons you can use. To change it you need to add this code:

    COPY CODE
    
    
    .icon-heart:before 
    {
    content: "\xxxx";
    }
    
    

    u need to replace \xxx with the code corespondent to the icon you chose. As an example:

    COPY CODE
    
    icon-play -> content: "\f04b"; 
    

    Let me know if this works.

    Thank you,
    Catalin

    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: Use up white space in header #21610
     Catalin
    Moderator

    Hello,

    Add this code in style.css file from your child theme:

    COPY CODE
    
    
    #header div.login-buttons
    
    {
       padding-top:35px;
    }
    
    

    You can change the number in pixels as you wish.

    Thank you,
    Catalin

    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: GROUPS MASONRY Thumb Is So Brul #21562
     Catalin
    Moderator

    Hello,

    Please modify the file from:

    ..\wp-content\plugins\k-elements\shortcodes\templates\buddypress\kleo_bp_groups_masonry.php

    and replace this:

    COPY CODE
    
    <a>"><?php bp_group_avatar( 'type=thumb&width=80&height=80' ); echo  kleo_get_img_overlay(); ?></a>
    

    with this

    COPY CODE
    
    <a>"><?php bp_group_avatar( 'type=full&width=80&height=80' ); echo  kleo_get_img_overlay(); ?></a>
    

    Let me know if it works for you.

    Thank you,
    Catalin

    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: Multiple Checkbox: not partial match? #21512
     Catalin
    Moderator

    Hello,

    First, please update the theme to the latest version.

    Then take a look at

    ../wp-content\themes\sweetdate\custom_buddypress\bp-functions.php

    and there you will find:

    COPY CODE
    
    function compatibility_score() {}
    

    You can copy this function to your functions.php file from your child theme and modify it as you need.

    Let me know if this works for you,

    Thank you,
    Catalin

    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 About Us Widget hyperlink request #21426
     Catalin
    Moderator

    Hello,

    You can add a link to the desired page in the second fields under the title from the widget options like:

    COPY CODE
    
    <a href="page link">About us</a>
    

    Thank you,
    Catalin

    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: Add Text Above Members in Members Directory #21273
     Catalin
    Moderator

    Hello,

    Please add this code:

    COPY CODE
    
    
    function add_custom_text_after_directory_members (){
        echo 'CUSTOM TEXT';
    }
    add_action(' bp_after_directory_members', 'add_custom_text_after_directory_members');
    
    

    to your functions.php file from the child theme folder.

    Thank you,
    Catalin

    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: Changing Text Color #21256
     Catalin
    Moderator

    Hello,

    You need to add the following code to the style.css file from the child theme folder of the theme:

    COPY CODE
    
    
    .breadcrumb>li+li:before
    {
      color: #xxx !important;
    }
    
    .breadcrumb li span
    {
      color: #xxx !important;
    }
    
    div.post-content .post-header .post-meta, 
    div.post-content .post-footer, 
    div.post-content .post-header .post-meta small a,
    div.post-content .post-footer small a,
    div.post-content .post-footer small a span
    {
      color: #xxx !important;
    }
    
    

    where #xxx should be replaced with the color code you want.

    Thank you,
    Catalin

    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: Remove Line Above Footer 2 #21254
     Catalin
    Moderator

    Hello,

    Please add this code in: (Sweetdate > Styling options) :

    COPY CODE
    
    
    .with-top-border {
    border-top: none !important;
    }
    
    
    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: Add an image where text is #21250
     Catalin
    Moderator

    Hello,

    In the content of the homepage from the WordPress admin panel you should have something like this:

    COPY CODE
    
    [kleo_h1]
    It all starts with a 
    <img src="path to your image" />
    [/kleo_h1]
    

    You just need to insert your picture after “It all starts with a” . You can use insert media button for this.

    Thank you,
    Catalin

    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: Limit the excerpt length #20978
     Catalin
    Moderator

    Hello,

    You need to add in functions.php file from the child theme folder this code:

    COPY CODE
    \[[^\]]*\]

    where

    COPY CODE
    ( $limit = 10 )

    “10” in the number of words to display.

    Thank you,
    Catalin

    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: Image height on featured image on post/page #20890
     Catalin
    Moderator

    Hello,

    You need to edit content.php and content-image.php files located in the theme folder.
    Search for “clearfix” and you should find it in:

    COPY CODE
    
    <div class="article-media clearfix">
    

    then remove it. The result code should be:

    COPY CODE
    
    <div class="article-media">
    

    for both files.

    Thank you,
    Catalin

    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: Shortcode Problems #20846
     Catalin
    Moderator

    the error comes from this piece witch you can find in the <head> section:

    COPY CODE
    
    <script src='/google_analytics_auto.js'></script>
    
    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: Border on activity posts and replies ? #20835
     Catalin
    Moderator

    Hello,

    Add this code in (Sweetdate > Styling options) in the Quick css field:

    COPY CODE
    
    body.activity.bp-user #item-body .activity
    {
    	border:1px solid #xxx;
    	padding:10px;
    }
    

    where the #xxx is the color code you want to add.

    Let me know if this works. I am not able to do this modification because u did not provide admin rights on the user you gave me.

    Thank you,
    Catalin

    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 featured images #20834
     Catalin
    Moderator

    Hello,

    I am not able to login… as a solution, you should modify the second parameter “xxx” with a higher value (max 2000px):

    COPY CODE
    
    
    <?php
    function ThumbModif() {
    
    	set_post_thumbnail_size( 620, xxx );
    
    }
    add_action( 'after_setup_theme', 'ThumbModif');
    ?>
    
    

    Thank you,
    Catalin

    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 - 161 through 200 (of 209 total)

Log in with your credentials

Forgot your details?