Forum Replies Created

Viewing 40 posts - 401 through 440 (of 1,218 total)
  • Author
  • in reply to: Profile Page abbreviating xprofile field names #79783
     sharmstr
    Moderator

    Try this in your quick css

    COPY CODE
    
    .profile .bp-widget .dl-horizontal dt {
        overflow: auto !important;
        white-space: normal !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: Front End Jump Menu #79741
     sharmstr
    Moderator

    Do a google search for code that will produce the menu you want. Then you can inject it into the pages below the menu using this code in your child theme’s functions.php file

    COPY CODE
    
    add_action('kleo_before_content','my_header_menu');
    function my_header_menu() {
        // yourcode here
    }
    
    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 edit button on posts #79735
     sharmstr
    Moderator

    Try this in your quick css

    COPY CODE
    
    .single-post .edit-link {
        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

    in reply to: Primary Top Menu Font Size #79734
     sharmstr
    Moderator

    Please search before posting. This has been asked and answered before. Try this in your quick css. Change the size to suit your needs.

    COPY CODE
    
    .navbar-nav > li a {
        font-size: 20px;
    }
    
    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 put a background color under thumbnails #79607
     sharmstr
    Moderator

    Its okay.

    COPY CODE
    
    .post-item .post-content {
        background-color: #000;
    }
    
    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 Color not changing #79579
     sharmstr
    Moderator

    You’re link doesnt work.

    In any case, add this your child theme’s functions.php file and try to save theme options again

    COPY CODE
    
    add_filter( 'kleo_theme_options_ajax', '__return_false' );
    
    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 put a background color under thumbnails #79575
     sharmstr
    Moderator

    Not sure what you mean by “thumnails description.” But… The background under the post thumbnail is the same size of the thumbnail, so you wont see it if you change it. You can get close by trying this:

    COPY CODE
    
    .post-item .col-sm-3 {
        background-color: #000 !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: customising blog items for CPT with custom templates #79573
     sharmstr
    Moderator

    If I’m understanding you correctly, you just need to do multiple get_the_term_list calls. So for taxes related to a Movies custom post type….

    COPY CODE
    
    if (get_post_type() == 'movies') {
    	$categories_list .= get_the_term_list( $post->ID, 'genre', '', ', ' );
    	$categories_list .= ', ';
    	$categories_list .= get_the_term_list( $post->ID, 'rating', '', ', ' );
    } else {
    	// Translators: used between list items, there is a space after the comma.
    	if ( in_array( 'categories', $meta_elements ) ) {
    	$categories_list = get_the_category_list(__(', ', 'kleo_framework'));
    	}
    }
    
    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: add a gallery under member header #79340
     sharmstr
    Moderator

    This forum always screws up those tags. Just use the code you had before but make sure you put this before

    COPY CODE
    
    <?php
    

    and this after

    COPY CODE
    
    ?>
    

    Also, make sure you put the file in /kleo-child/buddypress/members/single/home.php

    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: customising blog items for CPT with custom templates #79331
     sharmstr
    Moderator

    To add your custom categories/taxonomies, read this: https://archived.seventhqueen.com/forums/topic/custom-post-type-meta-not-showing-on-single-posts-and-post-archieves#post-59185

    This is wrong

    COPY CODE
    
    get_template_part( ‘/post-content-myCPT.php’ . $blog_type );
    

    basically you’ve just told it to open a file called /post-content-myCPT.phpmasonry or /post-content-myCPT.phpstandard

    First, you dont add .php to get_template_part calls. Its assumed. Second, since you only copied the masonry layout, adding $blog_type makes no sense. All you need is

    COPY CODE
    
    get_template_part( '/post-content-myCPT' );
    
    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: add a gallery under member header #79323
     sharmstr
    Moderator

    ahhhh. The difference was that I had my profile cover set to full width. There’s no way to inject it between the cover photo and the buddypress nav if you dont have “full width cover” turned on. You’ll have to edit the core buddypress profile file and remember to check for changes after every kleo/buddypress update.

    Copy /kleo/buddypress/members/single/home.php to your child theme. Put the following code starting on line 18

    COPY CODE
    
    <?php
          $n = 5;
          if( $user_id = bp_displayed_user_id() ) {
          $model = new RTMediaModel();
          $results = $model->get( array( 'media_type' => 'photo', 'media_author' => $user_id ), 0, $n );
          if( $results ) {?>
          <div class="rtmedia-item-thumbnail" id="foto-home-perfil">
              <ul>
                  <?php foreach( $results as $image ) { ?>
                      <li>
                          <a>id ); ?>" title="<?php echo $image->media_title; ?>">
                              <img />id ); ?>" alt="<?php echo rtmedia_image_alt( $image->id );?>" />
                          </a>
                      </li>
                  <?php } ?>
              </ul>
          </div>
          <div id="ver-mas-fotos" class="generic-button" ><a>">Ver más fotos</a></div>
          <?php
          }
          }
           ?>
    
    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: Sub menu appears outside of the screen #79320
     sharmstr
    Moderator

    Still wasnt able to get into your site without issues. It kept redirecting me.

    Anyhow, try this in your quick css

    COPY CODE
    
    ul.dropdown-menu ul {
    left: -190px !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: extend the included vector icons-Fontello #79314
     sharmstr
    Moderator

    Then you’re doing it wrong. Not sure what link you were referring to in your first post. Here are the directions that you need to follow: https://archived.seventhqueen.com/documentation/kleo#vector-icons

    In your screenshot you show that you’ve named the font “store”. You dont need to rename anything. Just upload the fonts .json file to the fontello website as indicated. Select your additional icons. Download the files and copy them to your server. If you’re running Kleo 3.0.8 or 3.0.9, you can now save them to your child theme so they wont be overwritten during a Kleo upgrade.

    Once you’ve uploaded them to your server, then the final step is to add this your your child css OR to your quick css in theme options

    COPY CODE
    
    #buddypress div#item-nav ul #mi-producto-personal-li a:before {
    content: '\e8a3';
    }
    

    You shouldnt be editing any files at all except your childs style sheet as noted above.

    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: Mobile Menu Color #79211
     sharmstr
    Moderator

    Put this in your quick css

    COPY CODE
    
    .header-color a, .header-color .navbar-nav .dropdown-menu li a {
        color: #303030 !important;
    }
    .header-color .navbar-toggle .icon-bar {
        background-color: #303030 !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 couple of things #79035
     sharmstr
    Moderator

    I should mention that you can remove the status update from the header all together by copying /kleo/buddypress/members/single/member-header.php to your child theme and removing the bp_last_activity line.

    Or you can hide it with css, but that’s not as secure

    COPY CODE
     
    #latest-update {
        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: add a gallery under member header #79029
     sharmstr
    Moderator

    Try this instead

    COPY CODE
    
    add_action('bp_init', 'add_user_images', 2);
    function add_user_images () {
        if (bp_is_user()){
            add_action('kleo_before_main_content', 'show_last_n_images', 99);
        }
    
    }
    

    BP has built in functions to get the path to a profile. https://codex.buddypress.org/developer/template-tag-reference/ (bp_core_get_user_domain(bp_displayed_user_id()) . ‘media’)

    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

    Played with this some more. Try this instead

    COPY CODE
    
    if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&max=' . $number . '&object=' . $show ) ){
    

    Again, I have no idea how the security plugin filters based on privacy settings, so this may not help at all. However, if it does, let me know and I’ll see about getting a code change approved.

    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

    I was comparing the shortcode to the main activity loop. It may be that the privacy plugin taps into the bp_ajax_querystring function, which the shortcode doesnt use. You can try changing the shortcode, but you will lose the “number” of activities to show.

    Change line 44 of /plugins/k-elements/shortcodes/templates/buddypress/kleo_bp_activity_stream.php from this

    COPY CODE
    
    if ( bp_has_activities( $params ) ){
    

    to this

    COPY CODE
    
    if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) )
    
    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: add a gallery under member header #78986
     sharmstr
    Moderator

    My code didnt show up. Please see attached for example on how to post code

    COPY CODE
    
    your code here
    
    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: add a gallery under member header #78984
     sharmstr
    Moderator

    Please repost your code. Put ‘

    COPY CODE
    ' before and '

    ‘ after. Alternatively, put it in a text file and attach.

    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: add a gallery under member header #78955
     sharmstr
    Moderator

    1 – Try changing the action call to this

    COPY CODE
    
    if ( bp_is_user() ) {
    add_action( 'kleo_before_main_content', 'show_last_n_images', 99 );
    }
    

    2 – Doesnt work where? If you are talking about in a menu, it would be ##profile_link##/media

    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: pho for 3 column template with custom sidebar? #78910
     sharmstr
    Moderator

    question 1 – For a 3 column layout, kleo calls the kleo_extra_sidebar function. Copy it from kleo/functions.php to your child theme and as suggested in my first answer, do a get_post_type check to load the correct sidebar for your cpt.

    question 2 – hard to answer since i have no idea how you’ve coded your template. I will say you have fancy quotes in your code that shouldnt be there.

    COPY CODE
    
    <?php kleo_switch_layout('3lr'); ?>
    
    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: Round photos on buddypress compliments #78009
     sharmstr
    Moderator

    Its pretty easy to figure these things out. Right click on the image and inspect it. That will bring up your browsers developer tools. You’ll be able to see the class name to use. In this case its

    COPY CODE
    
    .comp-user-avatar img {
        border-radius: 100% !important;
    }
    

    Here’s a link to the chrome dev tools documentation: https://developer.chrome.com/devtools

    Hopefully this will help you in the future with all of the non-kleo standard plugins you’ll be using 🙂

    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: Round photos on sabai discuss #78003
     sharmstr
    Moderator

    I assume that you use it like I’ve shown you how to use the other ones

    COPY CODE
    
    .sabai-user-with-thumbnail {
     border-radius: 100% !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: Drop down menu from top menu not working #78001
     sharmstr
    Moderator

    Try this in your quick css

    COPY CODE
    
    .top-menu {
        z-index: 1600 !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: Change/remove background color in Woo Commerce #77599
     sharmstr
    Moderator

    try this in your quick css

    COPY CODE
    
    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
           background: transparent !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: CSS modifictaions #77570
     sharmstr
    Moderator

    Its not happening when I select it. But you can try this in your quick css

    COPY CODE
    
    media="all" {
    .main-color ::selection {
        background-color: #000000 !important;
        color: #fffff !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: Round photos on sabai discuss #76702
     sharmstr
    Moderator

    I was able to style the avatar in the comments as well

    COPY CODE
    
    .sabai-comment-avatar img {
        height: 30px !important;
        width: 30px !important;
        border-radius: 100% !important;
    }
    

    So, I think that leaves the avatar for the person who started the question as the one that cant be styled.

    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: Round photos on sabai discuss #76700
     sharmstr
    Moderator

    In the future, please provide a link when you’re asking for css support for a plugin that isnt standard with Kleo. It will help us help you faster. I was able to find a link to your site by going through your old replies.

    So, unfortunately, the avatars dont have a class associated with them, so we cant target it to change the css. The style of the avatar is produced inline by the plugin. Ask the plugin developers how to increase the avatar size and add a border-radius:100% to it.

    I was able to style the avatars in the sidebar widget. Try this in your quick css

    COPY CODE
    
    .sabai-wordpress-widget-image img {
        width: 30px !important;
        height: 30px !important;
        border-radius: 100% !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: Geodirectory listing page fullwidth map #76598
     sharmstr
    Moderator

    Not sure. Guess you could try adding geodir_is_page(‘search’) to the original function I gave you.

    COPY CODE
    
    add_action('kleo_before_content','add_map');
    function add_map() {
        if (geodir_is_page('search') || is_post_type_archive() && in_array(get_post_type(), geodir_get_posttypes())) {
            echo do_shortcode('[gd_homepage_map width=100% height=600px maptype=roadmap zoom=1 autozoom=true  child_collapse=true scrollwheel=false marker_cluster=1]');
        }
    }
    
    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: Padding above Logo #76595
     sharmstr
    Moderator

    On the kleo demo site, the “padding” is actually in the image. But since you dont have that, try this in your quick css

    COPY CODE
    
    #logo_img {
        padding-top: 5px;
    }
    
    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 add a banner in all page and post #76594
     sharmstr
    Moderator

    Use this in your child theme and replace the img src

    COPY CODE
    
    add_action('kleo_before_content','my_header_image');
    function my_header_image() {
        echo '<img src="http://seventhqueen.com/themes/kleo/wp-content/uploads/2015/02/kleo_demo_pages_01.jpg" />';
    }
    
    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 header font colour on post grid #76298
     sharmstr
    Moderator

    Try this in your quick css

    COPY CODE
    
    #main .main-color h3 a, #main .alternate-color h3 a {
    color: #00b9f7 !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: Image recording is displayed in the main Activity #76212
     sharmstr
    Moderator

    Personally, I use this on most of my sites

    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'
        );
    

    However, those options will still be available in the dropdown filter. If you want those removed from that as well, ask on the bp forum.

    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: Image recording is displayed in the main Activity #76210
     sharmstr
    Moderator

    Those settings are for the post only have dont effect anything buddypress related. You’ll have to ask for a solution on the buddypress forums.

    Or you can try hiding it with css. Try this in your quick css

    COPY CODE
    
    .new_blog_post .activity-inner img {
        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

    in reply to: Menu doesn't appear like home page #76153
     sharmstr
    Moderator

    You have your link settings set to white in theme options > styling > main

    but you can use this css

    COPY CODE
    
    .portfolio-filter-tabs li a {
        color: red !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: Changing box color and add a border in a Feature Item #76152
     sharmstr
    Moderator

    There isnt a way to target a specific featured item within a featured item grid because there isnt an extra class name field in the item settings. There is on the featured item grid though. So I guess you could create a grid with only one item, add an extra class name then use css like this…

    COPY CODE
    
    
    .your-class-name .feature-item {
        background-color: red !important;
        border: 1px solid green;
    }
    
    
    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: Site problems after KLEO 3.0.7 / WordPress 4.3 UPDATE #76039
     sharmstr
    Moderator

    right. looks like its been set as a default in the vc_map config. Try this

    COPY CODE
    
    add_action('vc_before_init', 'custom_vc_manipulate_shortcodes');
    function custom_vc_manipulate_shortcodes()
    {
    
        global $kleo_config;
        vc_remove_param('vc_row', 'padding_top');
        vc_remove_param('vc_row', 'padding_bottom');
        vc_add_param("vc_row", array(
            "type" => "textfield",
            "holder" => 'div',
            'class' => 'hide hidden',
            "heading" => __("Top padding"),
            "param_name" => "padding_top",
            "value" => "0",
            "description" => __("Allowed measures: px,em,%,pt,cm."),
        ));
        vc_add_param("vc_row", array(
            "type" => "textfield",
            "holder" => 'div',
            'class' => 'hide hidden',
            "heading" => __("Bottom padding"),
            "param_name" => "padding_bottom",
            "value" => "0",
            "description" => __("Allowed measures: px,em,%,pt,cm."),
        ));
    }
    

    It will add the padding fields to the bottom of the row settings though. I dont know of a way around this other than overriding every setting.

    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: WP Ulike #76012
     sharmstr
    Moderator

    Try this in your quick css

    COPY CODE
    
    #buddypress .activity-timeline {
        border-right-width: 0 !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: Changing box color and add a border in a Feature Item #76006
     sharmstr
    Moderator

    The background controlled by a whatever section style you have set on the row. Then it uses the alternate background color set in Theme Options > Styles > Watever section style you set.

    There isnt a border by default, so you’ll have to add it with this css

    COPY CODE
    
    .kleo-block.feature-item {
        border: 1px solid green;
        margin-bottom: 0px !important;
        padding-bottom: 0px !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 - 401 through 440 (of 1,218 total)

Log in with your credentials

Forgot your details?