Forum Replies Created

Viewing 40 posts - 641 through 680 (of 1,218 total)
  • Author
  • in reply to: Visual Composer WordPress 4.1 #64800
     sharmstr
    Moderator

    All you needed to do is add one line. Something like this

    COPY CODE
    
    define( 'WP_MEMORY_LIMIT', '256M' );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Facebook Register Button Missing #64794
     sharmstr
    Moderator

    I think that’s just an oversight since geo dir was just integrated. In any case, I’ve assigned this to abe so he’ll see it.

    In the meantime, try putting this in your childs functions.php file

    COPY CODE
    
    add_action('social_connect_form','kleo_fb_button_regpage');
    

    Unfortunately, geo dir didnt put an action at the top of the reg form, so it will show up below the form.

    You may also want to remove the or. If so, try this css

    COPY CODE
    
    #cus_registerform .hr-full, #cus_loginform .hr-full {
        display: none;
    }
    

    The devs will make this look a lot better in the future, but that should at least get you going for now.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: how to limit exceprt in member header #64785
     sharmstr
    Moderator

    Its set in a buddypress function. You can always ask over on the bp forums since its there plugin.

    But, going back to my first response… You can try the code in the link I gave to you initially. I’ve tested this and it seems to be working. Put the following in your childs functions.php file and change the $length from 10 to whatever you want.

    COPY CODE
    
    add_filter( 'bp_get_activity_latest_update_excerpt', 'wpse_56860_trim_buddypress_excerpt' );
    
    function wpse_56860_trim_buddypress_excerpt( $excerpt )
    {
        // Number of characters to show. Adjust this to your needs.
        $length = 10;
        return substr( $excerpt, 0, $length );
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Hide "archive for category" in the title #64723
     sharmstr
    Moderator

    You can either translate it by replacing it with ” or you can copy the kleo_title function to your childs functions.php file and edit as necessary. Sorry for not understanding the first two times 🙂

    COPY CODE
    
    function kleo_title()
    	{
    		$output = "";
            if (is_tag()) {
                $output = __('Tag Archive for:','kleo_framework')." ".single_tag_title('',false);
            }
    		elseif(is_tax()) {
                $term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy'));
                $output = $term->name;
            }
    		elseif ( is_category() ) {
                //$output = __('Archive for category:', 'kleo_framework') . " " . single_cat_title('', false);
                $output = single_cat_title('', false);
            }
    		elseif (is_day())
    		{
    			$output = __('Archive for date:','kleo_framework')." ".get_the_time('F jS, Y');
    		}
    		elseif (is_month())
    		{
    			$output = __('Archive for month:','kleo_framework')." ".get_the_time('F, Y');
    		}
    		elseif (is_year())
    		{
    			$output = __('Archive for year:','kleo_framework')." ".get_the_time('Y');
    		}
            elseif (is_author())  {
                $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
                $output = __('Author Archive','kleo_framework')." ";
    
                if( isset( $curauth->nickname ) ) {
                    $output .= __('for:','kleo_framework')." ".$curauth->nickname;
                }
            }
    		elseif ( is_archive() )  {
    			$output = post_type_archive_title( '', false );
    		}
    		elseif (is_search())
    		{
    			global $wp_query;
    			if(!empty($wp_query->found_posts))
    			{
    				if($wp_query->found_posts > 1)
    				{
    					$output =  $wp_query->found_posts ." ". __('search results for:','kleo_framework')." ".esc_attr( get_search_query() );
    				}
    				else
    				{
    					$output =  $wp_query->found_posts ." ". __('search result for:','kleo_framework')." ".esc_attr( get_search_query() );
    				}
    			}
    			else
    			{
    				if(!empty($_GET['s']))
    				{
    					$output = __('Search results for:','kleo_framework')." ".esc_attr( get_search_query() );
    				}
    				else
    				{
    					$output = __('To search the site please enter a valid term','kleo_framework');
    				}
    			}
    
    		}
            elseif ( is_front_page() && !is_home() ) {
                $output = get_the_title(get_option('page_on_front'));
                
    		} elseif ( is_home() ) {
                if (get_option('page_for_posts')) {
                    $output = get_the_title(get_option('page_for_posts'));
                } else {
                    $output = __( 'Blog', 'kleo_framework' );
                }
                
    		} elseif ( is_404() ) {
                $output = __('Error 404 - Page not found','kleo_framework');
    		}
    		else {
    			$output = get_the_title();
    		}
            
    		if (isset($_GET['paged']) && !empty($_GET['paged']))
    		{
    			$output .= " (".__('Page','kleo_framework')." ".$_GET['paged'].")";
    		}
        
    		return $output;
    	}
    

    In the code above, I commented out the archive for category and added just the category name.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Go Pricing Preview #64719
     sharmstr
    Moderator

    The idea behind that was there might be certain pages where you dont want a footer. There’s no switch to turn it off sitewide.

    You can do one of two things. You can remove all of the widgets in footer columns 1 – 4. Or you can can put this in your theme options > general > quick css

    COPY CODE
    
    #footer { display: none; }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: PMpro invoice print Preview #64715
     sharmstr
    Moderator

    You can try this in your Theme Options > General > Quick css

    COPY CODE
    
    @media print {
        .pmpro_a-print {display: none; position: absolute; left: -9999px; }
        .pmpro-invoice .sidebar, .pmpro-invoice #footer, .pmpro-invoice #nav-below , .pmpro-invoice .kleo-quick-contact-wrapper, .pmpro-invoice #socket, .pmpro-invoice .breadcrumb-extra {display:none;}
        .pmpro-invoice .template-page {min-width: 100%;}
    
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: rtMedia and Activity Stream Issue #64650
     sharmstr
    Moderator

    This should get you close

    COPY CODE
    
    #aw-whats-new-submit {
        float: right;
        display: inline;
    }
    
    #activity-privacy {
        float: right;
        display: inline-block;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Featured posts are not responsive #64573
     sharmstr
    Moderator
    COPY CODE
    
    add_action( 'kleo_featured_posts_before', 'add_featured_title' );
    function add_featured_title() {
        echo "<h1>Featured Posts</h1>";
    }
    

    edit as necessary.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: PMPRO emails not sending post KLEO update #64478
     sharmstr
    Moderator

    Not sure if this is related, but can you try this?

    Go to /kleo/lib/plugin-pmpro/config.php and change the following (around line 297) from this

    COPY CODE
    
    if(!is_admin() && !empty($pmpro_pages) )
    

    to this

    COPY CODE
    
    if(!is_admin())
    

    I know you’re on the other side of the world, so if Kleo 3.0.3 is released by the time you read this, you can upgrade instead of applying the code above.

    Let me know either way.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Edit join group button ? #64463
     sharmstr
    Moderator

    To edit the text you need to translate it: https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/

    The color is set using theme options > styling > main > highlight background color. That will change for the whole site. If you only want to change the join group button, then you can use this and change the colors as necessary.

    COPY CODE
    
    a.join-group {
      background-color: red !important;
      border-color: black !important;
      color: blue !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Kleo 3.0 Member Levels no longer show after upgrade #64460
     sharmstr
    Moderator

    1 / 2: Go to /kleo/lib/plugin-pmpro/config.php and change the following (around line 297) from this

    COPY CODE
    
    if(!is_admin() && !empty($pmpro_pages) )
    

    to this

    COPY CODE
    
    if(!is_admin())
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

     sharmstr
    Moderator

    Can you try this? Go to /kleo/lib/theme-functions.php and change the following (around line 632)

    from this

    COPY CODE
    
    'suppress_filters' => false,
    

    to this

    COPY CODE
    
    'suppress_filters' => true,
    

    Let me know what happens

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Remove Border from Right Sidebar #64355
     sharmstr
    Moderator

    Sorry, I looked at the code your provided and saw nothing but left sidebar code, so that’s what I gave you.

    try this instead

    COPY CODE
    
    .template-page {
      border-right-width: 0;
    }
    .sidebar-right, .sidebar-main.sidebar-3rr {
      border-left-width: 0;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Remove Border from Right Sidebar #64353
     sharmstr
    Moderator

    try this instead

    COPY CODE
    
    .template-page.tpl-left, .template-page.tpl-3ll, .sidebar-extra.sidebar-3ll, .sidebar-extra.sidebar-3lr, .sidebar-extra.sidebar-3rr {
      border-right: none;
      border-left-style: none;
      border-left-width: 0;
    }
    
    .sidebar-left, .sidebar-extra.sidebar-3ll, .sidebar-main.sidebar-3ll, .sidebar-main.sidebar-3lr, .sidebar-main.sidebar-3rr {
      border-right-style: solid;
      border-right-width: 0;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

     sharmstr
    Moderator

    Looks like it only adds it to activity updates, not forum updates, not post updates and not to comments. Its that way with the WP 2015 theme as well. So as I said before, if it plugin doesnt work perfectly were not going to fix it.

    You can try this.

    COPY CODE
    
    #buddypress .bp-reshare-img {
      display: inline;
    }
    
    #buddypress .bp-reshare-img.reshared, body.activity-permalink #buddypress .bp-reshare-img.reshared {
      background-position: 0 -15px;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: bbPress Mentions #64304
     sharmstr
    Moderator

    Try this instead. I dont really like it because it only checks to see if you are on a group page, not a group forums page.

    COPY CODE
    
    function custom_bbpress_maybe_load_mentions_scripts( $retval = false ) {
    	if ( function_exists( 'bbpress' ) && ( is_bbpress() || bp_is_group() ) ) {
    		$retval = true;
    	}
    	
    	return $retval;
    }
    add_filter( 'bp_activity_maybe_load_mentions_scripts', 'custom_bbpress_maybe_load_mentions_scripts' );
    
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Bbpress – adjusting spacing #64192
     sharmstr
    Moderator

    Adjust this as necessary

    COPY CODE
    
    li.bbp-forum-freshness, li.bbp-topic-freshness {
      width: 30%;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Header 50% transparency #64188
     sharmstr
    Moderator

    put this is quick css

    COPY CODE
    
    .header-color {
      background-color: rgba(0,0,0,0.5) !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: A few issues #64051
     sharmstr
    Moderator

    1 – Theme Options > Buddypress > Page Title Location

    2 – I’ll talk to the developers about this. In the meantime, you can put this in your quick css. Adjust the colors if you have a color scheme other than the default

    COPY CODE
    
    .main-color #buddypress div.item-list-tabs li a:before {
      color: #bbbbbb;
    }
    .main-color #buddypress div.item-list-tabs li.selected a:before {
      color: #414142 !important;
    }
    .main-color #buddypress div.item-list-tabs li.selected a {
      color: #414142 !important;
    }
    

    3 – Cant reproduce. Please provide more information.

    4 – Adjust as necessary

    COPY CODE
    
    .btn-lg {
      padding: 50px 75px;
      font-size: 30px;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

     sharmstr
    Moderator

    Seems to only be showing in the admin and when you’re previewing a form. The kleo custom pmpro code is set to NOT run if you’re in wp admin, so I think the preview is bypassing that.

    This seems to fix it.

    Open up /kleo/lib/plugin-pmpro/config.php and change the following line (around 297) from this

    COPY CODE
    
    if(!is_admin())
    

    to this

    COPY CODE
    
    if(!is_admin() && !empty($pmpro_pages) )
    

    Normally I wouldnt ask someone to change core code, but I need to submit this to 7th Queen to see if this will cause other issues.

    Or, you can just ignore it for now.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Hide "archive for category" in the title #64039
     sharmstr
    Moderator

    Hmmm. You can try this, but it will hide the title for all archive pages.

    COPY CODE
    
    .archive .container-wrap.main-title {
      display: none;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Change Side menu icon to custom image/icon #64038
     sharmstr
    Moderator

    That’s not an image/icon file. Its a font. You can try copying this into your childs function.php file

    COPY CODE
    
     function kleo_side_menu_button ( $items, $args )
        {
            if ($args->theme_location == 'primary')
            {
                $items .= '<li id="nav-menu-item-side" class="menu-item">' .
                    '<a href="#">' .
                    '*** add your image markup here ***' .
                    '</a>' .
                    '</li>';
            }
            return $items;
        }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: How to Style Shortcode Elements #63886
     sharmstr
    Moderator

    Thank you for the link. Now I can tell you why its not working.

    For some reason, the devs have set the .hr-title border to none and with !important when you set the row to use a custom font color (doesnt happen with just a custom background color). Not sure why they did that.

    Now, you need to decide if you want to make these hr changes globally or just on that page. If you want all of this css to effect the entire size, put it in styles.css. If you want to change it just for this page, click on the gear icon at the top of the VC container and add the css there. Here’s everything. Let me know if it works.

    COPY CODE
    
    
    [class^="icon-"]:before, [class*=" icon-"]:before {
      color: #4d151d !important;
    }
    
    section.custom-color .hr-title abbr {
      background-color: rgba(206,167,75,1) !important;
    }
    
    section.custom-color .hr-title {
      border-top-width: 1px !important;
      border-top-style: solid !important;
      border-color: #4d151 !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Small Left Thumb image size #63875
     sharmstr
    Moderator

    The images are resized on the fly. As you’ve seen the resize only takes into consideration the width which is set to 480px and will scale the height accordingly. (note: depending on your screen size, the image might not display 480px wide, but it is) If you use the standard WP thumb size of 150px your going to have to make a bunch of css changes as well, plus it wont effect videos or image gallery thumbnails. I suggest sticking with the 480px width, but changing the resize to hard crop to 480px height as well. Try this and let me know what you think.

    Copy /kleo/page-parts/post-content-small.php to your child theme. Go do to around line 146 and change it from this

    COPY CODE
    
    $image = aq_resize( $img_url, $kleo_config['post_gallery_img_width'], null, true, true, true );
    

    to this

    COPY CODE
    
    $image = aq_resize( $img_url, $kleo_config['post_gallery_img_width'], '480', true, true, true );
    

    If you dont like that, you can always change the sizes. Set height and width to whatever you want.

    COPY CODE
    
    $image = aq_resize( $img_url, 'width', 'height', true, true, true );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Weird plus menu appearing? #63871
     sharmstr
    Moderator

    The top menu uses 58% of that container. It will put things under the the +- dropdown if they dont fit. I cant tell by the image, but if your not using the social icons section of the top bar (the right side) you can change the width of the top menu container. Try this

    COPY CODE
    
    #top-social {
      display: none;
    }
    .top-menu {
      width: 100%;
      float: right;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: css message send and received #63784
     sharmstr
    Moderator

    Ah. Good point. The star functionality was introduced in BP 2.3. Before you update, would you mind testing some backward compatibility code I just added to the next Kleo minor release?

    go to /kleo/buddypress/members/messages/messages-loop.php and change this block of code (starting around line 100) from this

    COPY CODE
    
    <?php if (bp_is_active('messages', 'star')) : ?>
           <div class="thread-star">
           <?php bp_the_message_star_action_link(array('thread_id' => bp_get_message_thread_id())); ?>
           </div>
    <?php endif; ?>
    
    

    to this

    COPY CODE
    
    <?php if ( version_compare( BP_VERSION, '2.3', '>=' ) ) :  ?>
          <?php if (bp_is_active('messages', 'star')) : ?>
                  <div class="thread-star">
                        <?php bp_the_message_star_action_link(array('thread_id' => bp_get_message_thread_id())); ?>
                  </div>
           <?php endif; ?>
    <?php endif; ?>
    

    Let me know if that fixes it.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: GeoDirectory Plugin Help #63753
     sharmstr
    Moderator

    You’re right, it will be fixed in the next update. In the meantime, use this

    COPY CODE
    
    #footer .template-page {
      padding-top: 40px;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: ERROR: class-envato-protected-api.php #63716
     sharmstr
    Moderator

    Seems like this is a rare issue. Go to /kleo/kleo-framework/kleo.php and comment out the following line (around line 130)

    Change

    COPY CODE
    
    add_filter("pre_set_site_transient_update_themes", array(&$this,"themeforest_themes_update"));
    

    to

    COPY CODE
    
    //add_filter("pre_set_site_transient_update_themes", array(&$this,"themeforest_themes_update"));
    

    Let me know if that fixes it. Again, its rare so not sure if it will work.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: On/off fullwidth 100% stretch outside the box #63701
     sharmstr
    Moderator

    Hmmm. I’ve been testing this out. Try it in your quick css and I’ll see about adding it as a switch. (this assumes you are using the wide layout, not boxed.)

    COPY CODE
    
    .container {
      max-width: 90% !important;
    }
    

    note: I picked 90% to give it a bit of padding on each side.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Custom header images #63678
     sharmstr
    Moderator

    The header/bottom content fields have been updated in the next minor release and will accept html. I’ve tested it and you will be able to add an image like this

    COPY CODE
    
    <img src="http://localhost:8080/wp/wp-content/uploads/2014/02/kleo_buddypress_bbpress_rtmedia.png" />
    

    To answer your question though, yes you can put the single image shortcode in there now.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: links not clickable in video background header #63676
     sharmstr
    Moderator

    Yes, but you also have a container in there that the rest of us didnt have. See attached.

    COPY CODE
    
    .bg-full-video .container, .bg-full-video .container-full {
    pointer-events: auto;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    in reply to: The top menu dropdown overlays with main menu #63671
     sharmstr
    Moderator

    This will be fixed in the next update. In the meantime, put this in your Theme Options > General > Quick CSS

    COPY CODE
    
    .social-header {
      z-index: 1600;
    }
    


    @abe
    – Can you fix this in core? I’m not sure if this is exactly how you want it done. Thanks 🙂

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Custom title bug? #63651
     sharmstr
    Moderator

    Okay, this will be fix in the next minor release. In the meantime, put this in your childs functions.php file. Remember to remove it after the next update

    COPY CODE
    
    function kleo_title_main_content() {
            if (sq_option('title_location', 'breadcrumb') == 'main') {
    
                $title_status = true;
                if( is_singular() && get_cfield( 'title_checkbox' ) == 1 ) {
                    $title_status = false;
                }
    
                if ( $title_status ) {
                    if ( is_singular() && get_cfield( 'custom_title' ) && get_cfield( 'custom_title' ) != ''  ) {
                        $title = get_cfield( 'custom_title' );
                    } else {
                        $title = kleo_title();
                    }
                    echo '<div class="container">';
                    echo '<h1 class="page-title">' . $title . '</h1>';
                    echo '</div>';
                }
    
            }
        }
    
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: How to Style Shortcode Elements #63645
     sharmstr
    Moderator

    try this css

    COPY CODE
    
    [class^="icon-"]:before, [class*=" icon-"]:before {
      color: #4d151d !important;
    }
    .hr-title {
      border-color: #4d151 !important;
    }
    
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: activity page functions needed #63574
     sharmstr
    Moderator

    Here’s the function to stop registering of certain notifications. This doesnt hide them, it STOPS them from being saved to the db.

    COPY CODE
    
    //Block certain activity types from being added
    function bp_activity_dont_save( $activity_object ) {
    $exclude = array(
            'updated_profile',
            'new_member',
            'new_avatar',
            'friendship_created',
            'joined_group'
        );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: theme options changes not working #63495
     sharmstr
    Moderator

    Do me a favor, go to /kleo/lib/options.php and make the following changes

    around line 33: Change this

    COPY CODE
    
    $args['ajax_save'] = true;
    

    to this

    COPY CODE
    
    $args['ajax_save'] = apply_filters( 'kleo_theme_options_ajax', true );
    

    I’m still not positive that this will fix the overall issue, but I want to rule it out.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Lines above the menu items in the header #63405
     sharmstr
    Moderator

    You can try some css

    COPY CODE
    
    .kleo-main-header .nav > li.active > a, .kleo-main-header .navbar-collapse>ul>li>a:hover {
    line-height: 40px !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: Testimonials: how to show them? #63397
     sharmstr
    Moderator

    As you can see, neither one of those options are available. You can add them to the feature request forum.

    With that said, you can try truncating the text with css. The class is .testimonial-content p: https://css-tricks.com/snippets/css/truncate-string-with-ellipsis/

    Something like

    COPY CODE
    
    .testimonial-content p {
      max-height: 45px;
      max-width: 500px;
      overflow: hidden;
      text-overflow: ellipsis;  
      white-space: nowrap;
    }
    

    You’ll have to play with the height and width settings to suit your needs.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    in reply to: How to create a buddypress overall template ? #63337
     sharmstr
    Moderator

    LOL. Sorry.

    So you’re saying that you want to add something to buddypress pages only, but dont want to create a separate template file for it, right?

    bp_is_blog_page() is a bp function that will tell you if you are on a page that ISNT a bp page. So, if you add an ! to it, you’re asking “Is this a bp page?”

    In your page.php file you can do this

    COPY CODE
    
     if (!bp_is_blog_page()) {
    echo "Hey!  I'm a buddypress page";
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

     sharmstr
    Moderator

    idk, try this

    COPY CODE
    
    .related-wrap .entry-summary {
      display: none !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 40 posts - 641 through 680 (of 1,218 total)

Log in with your credentials

Forgot your details?