Forum Replies Created
-
Author
-
Radu
ModeratorHi,
I see, ok but you should prefix the rule to be applied only on that page, 4948 represents the page id
COPY CODE.page-id-4948 .wpb_wrapper {position: inherit !important;}
So revert back that change and add this CSS to wp-admin -> theme options -> general settings -> quick CSS
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Please add this CSS
COPY CODE.header-banner { display: inline-block; vertical-align: middle; float: right; }
The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
For the members, list use this CSS
COPY CODE#buddypress #friend-list .update, #buddypress #member-list .update, #buddypress #members-list .update { display: none; }
Let me know
It should work I’ve tested on the demo
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Try this code
COPY CODEadd_action( 'bp_before_member_header_meta', 'kleo_bp_profile_member_type_label' ); function kleo_bp_profile_member_type_label() { $member_type = bp_get_member_type( bp_displayed_user_id() ); if ( empty( $member_type ) ) { return; } $member_type_object = bp_get_member_type_object( $member_type ); if($member_type_object){ $member_type_label = '<p class="kleo_bp_profile_member_type_label">' . esc_html( $member_type_object->labels['singular_name'] ) . '</p>'; echo apply_filters('kleo_bp_profile_member_type_label', $member_type_label); } }
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
I’ve made this functionality and this will be implemented in next theme update until then you can use this JS code
COPY CODE<script> jQuery(document).ready(function () { var url = window.location.href; if(url.includes('members') && url.includes('field_') && jQuery( "#main" ).hasClass( 'search-result' ) ) { jQuery('html, body').animate({ scrollTop: jQuery("#main").offset().top }, 1400); } }); </script>
Add it to wp-admin -> theme options -> Analytics code
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi David,
Please use this CSS instead
COPY CODE.home .kleo-page .section-members .item-meta {display:none;}
It should remove only the time activity meta from Top Members section from homepage only.
This one should remove the time activity from the group’s directory.
COPY CODE.directory.groups div#groups-list .search-item .date {display:none;}
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
1. There should be minimum 1 character entered in input search to can perform search, we have fixed that for the next update if you need that now tell me.
2. You can use this css
COPY CODE.second-menu .search-form-wrapper .search-form { display: none !important; }
The css will be added to wp-admin -> theme options -> quick css.
3. This can be acheived using a next code
COPY CODEadd_action( 'init', 'update_my_custom_type', 99 ); /*Replace my-custom-type with your custom post type slug*/ function update_my_custom_type() { global $wp_post_types; if ( post_type_exists( 'my-custom-type' ) ) { // exclude from search results $wp_post_types['my-custom-type']->exclude_from_search = true; } }
NOTE : Child theme needs to be installed and activated.
The function needs to be pasted in wp-content/themes/buddyapp-child/functions.php
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Related to the slow site, make sure you have latest theme update, in past was some problems with that.
For the remove query strings issue, we have fixed that but you will see that in next theme update,
Until then add this function to wp-content/themes/kleo-child/functions.php
COPY CODEif ( sq_option( 'perf_remove_query', 0 ) == 1 ) { function pre_remove_query_strings_static_resources() { function remove_cssjs_ver($src) { if (strpos($src, '?ver=')) $src = remove_query_arg('ver', $src); return $src; } add_filter('style_loader_src', 'remove_cssjs_ver', 10, 2); add_filter('script_loader_src', 'remove_cssjs_ver', 10, 2); } add_action('init', 'pre_remove_query_strings_static_resources'); }
Just checked in IE11 and i-m able to scroll.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Are you talking about the BuddyPress user menu?
Add this CSS
COPY CODE#buddypress div.item-list-tabs ul { width: auto !important; } #buddypress div#item-nav { padding: 0; } #buddypress div#item-nav .responsive-tabs { height: 102px !important; } #buddypress div#item-nav ul li a:before { margin-bottom: 10px !important; } #buddypress div#item-nav ul li.current a { padding: 10px 0px !important; }
The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMay 18, 2017 at 20:23 in reply to: rtMedia Button disappeared from Groups and Activity Stream #161997Radu
ModeratorNot marked as solutionMay 17, 2017 at 19:27 in reply to: Lost Password Front End Reset + Dynamic URL for User Profile #161751Radu
ModeratorNot marked as solutionMay 16, 2017 at 20:20 in reply to: rtMedia controls missing on first video play in Kleo theme #161651Radu
ModeratorHi Adam,
Take a look, cannot reproduce on yoru site : https://drive.google.com/file/d/0Bxo5b6iHWRMwREdFbFQtVWRfQXc/view
Anyway, you can force the position using this CSS
COPY CODE.mejs-wmp .mejs-controls {position:absolute !important;}
The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Using this function will makes the activity to show only activity_update.
COPY CODEfunction filtering_activity_default( $query ) { if ( empty( $query ) && empty( $_POST ) ) { $query = 'action=activity_update'; } return $query; } add_filter( 'bp_ajax_querystring', 'filtering_activity_default', 999 );
NOTE: Child theme needs to be installed and activated.
The function needs to be pasted in wp-content/themes/kleo-child/functions.php
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
There you should override the buddypress tempalte frmo theme, just upload create entry.php file in child theme ( wp-content/themes/buddyapp-child/buddypress ) and paste this content in it https://pastebin.com/raw/HLxLjG8d
And for the detelete butotn add this function in functions.php in child theme
COPY CODEfunction bp_get_activity_delete_link_custom($link) { $url = bp_get_activity_delete_url(); $class = 'delete-activity'; // Determine if we're on a single activity page, and customize accordingly. if ( bp_is_activity_component() && is_numeric( bp_current_action() ) ) { $class = 'delete-activity-single'; } $link = '<a href="' . esc_url( $url ) . '" class="button item-button bp-secondary-action ' . $class . ' confirm" rel="nofollow">' . __( ' ', 'buddypress' ) . '</a>'; /** * Filters the activity delete link. * * @since 1.1.0 * * @param string $link Activity delete HTML link. */ return $link; } add_filter('bp_get_activity_delete_link','bp_get_activity_delete_link_custom');
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMay 16, 2017 at 00:28 in reply to: Missing display of Status update and media post on profile page. #161553Radu
ModeratorHi,
There seems to be a bug when rtMedia plugin it’s ON, temporary you can use the next CSS fix.
Using this CSS the update button will appear after you click on text area
COPY CODE#whats-new-content.active #whats-new-options { display: block;}
Using this CSS the update button will be shown by default.
COPY CODE#whats-new-content.active #whats-new-options { display: block;}
The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS
NOTE: Child theme needs to be installed and activated.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMay 16, 2017 at 00:27 in reply to: How does one enter what they feel – buddypress no button? #161549Radu
ModeratorHi,
There seems to be a bug when rtMedia plugin it’s ON, temporary you can use the next CSS fix.
Using this CSS the update button will appear after you click on text area
COPY CODE#whats-new-content.active #whats-new-options { display: block;}
Using this CSS the update button will be shown by default.
COPY CODE#whats-new-content #whats-new-options { display: block;}
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
The problem it’s caused by this plugin: https://wordpress.org/plugins/ultimate-responsive-image-slider/
Somehow it adds this rule .navbar { overflow: hidden; } which causes that
Add this to quick CSS area
COPY CODE.navbar { overflow: initial !important; }
The CSS will be added to wp-admin -> theme options -> general settings -> quick CSS
NOTE : Child theme needs to be installed and activated.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
It seems that the pagination works only when filters are active.
As a workaround, until we fix this, do the next, please
enable ajax for the shortcode and also the filters then add this CSS to quick CSS area to hide the filters for that page
COPY CODE.page-id-123 .ajax-filter-wrap.row.clearfix { display: none; }
Replace 123 from page-id-123 with that page id
We will investigate further and we will fix this, we will let you know
Portfolio code
[kleo_portfolio columns="3" item_count="3" pagination="yes" ajax="yes" excerpt="no" el_class="dashboard-videos"]
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
We already work on this, it’s added to our buglist, we will let you know when officially integrate this and we will provide you files until the update.
As temporary solution besides yours add this CSS
COPY CODE.woocommerce div.product div.images ol img { width: 100% !important; height: 100%;} .woocommerce div.product div.images ol { top:auto; bottom:-150px; width:100% !important;height: 200px !important;} .woocommerce div.product div.images ol li { width:25%; display: inline; height: auto;margin-bottom:20px;}
Maybe will not be fitted on your site cuz the images ratios differs from my to yours
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
In that ticket it’s provided this snippetCOPY CODE/* Restrict email messages content to non paying members */ if ( ! function_exists('kleo_pmpro_restrict_pm_email_content')) { function kleo_pmpro_restrict_pm_email_content($email_content, $sender_name, $subject, $content, $message_link, $settings_link, $ud) { $restrict_message = false; $restrict_options = kleo_memberships(); $area = 'pm'; if (pmpro_getMembershipLevelForUser($ud->ID)) { $current_level_obj = pmpro_getMembershipLevelForUser($ud->ID); $current_level = $current_level_obj->ID; //if restrict my level if ($restrict_options[$area]['type'] == 2 && isset($restrict_options[$area]['levels']) && is_array($restrict_options[$area]['levels']) && !empty($restrict_options[$area]['levels']) && in_array($current_level, $restrict_options[$area]['levels'])) { $restrict_message = true; } //not a member } else { if ($restrict_options[$area]['type'] == 2 && isset($restrict_options[$area]['not_member']) && $restrict_options[$area]['not_member'] == 1) { $restrict_message = true; } } if ($restrict_message) { $content = 'Your current membership does not allow private messages access.'; $email_content = sprintf(__( '%1$s sent you a new message: Subject: %2$s "%3$s" To view and read your messages please log in and visit: %4$s --------------------- ', 'buddypress'), $sender_name, $subject, $content, $message_link); // Only show the disable notifications line if the settings component is enabled if (bp_is_active('settings')) { $email_content .= sprintf(__('To disable these notifications, please log in and go to: %s', 'buddypress'), $settings_link); } return $email_content; } return $email_content; } } add_filter( 'messages_notification_new_message_message', 'kleo_pmpro_restrict_pm_email_content', 11, 7 );
Php codes should be added to wp-content/themes/kleo-child/functions.php
And beside the code another think was to have all plugins and theme updated to latest version.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Add this function to wp-content/themes/kleo-child/functions.php after you change the my-post-type name from if( is_singular(‘my-post-type’) ) in the code below
COPY CODE/* Switch kleo layout if is specific post type */ function switch_layout_custom_cpt() { if( is_singular('my-post-type') ) { kleo_switch_layout( 'no', 15 ); } } add_action('kleo_header', 'switch_layout_custom_cpt'); /* End Switch kleo layout if is specific post type */
NOTE : Child theme needs to be installed and activated.
Let me know
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionRadu
ModeratorHi,
Add this CSS to wp-admin -> theme options -> quick css
COPY CODE.main-color .hr-title abbr, .main-color .kleo_ajax_results h4 span, .main-color #buddypress .activity-read-more a { background: #fff; }
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
To can view all new registered members also under pmpro you should give a certain pmpro role once with registration, to can do that use the next code by pasting it in wp-content/themes/kleo-child/functions.php
1 from pmpro_changeMembershipLevel(1, $user_id); Represents PMpro role id and change with your desired one
COPY CODE/** * When registering, add the member to a specific membership level * @param integer $user_id **/ //Disables the pmpro redirect to levels page when user tries to register add_filter("pmpro_login_redirect", "__return_false"); function my_pmpro_default_registration_level($user_id) { //Give all members who register membership level 1 pmpro_changeMembershipLevel(1, $user_id); } add_action('user_register', 'my_pmpro_default_registration_level');
NOTE : Child theme needs to be installed and activated.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Actually there it’s a z-index problem, the search should be shown if you open the submenu, please use this CSS instead of the last one.
COPY CODE@media(max-width:991px){ .kleo-main-header, .kleo-main-header li.menu-item {z-index:1;} }
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorThe div main it’s always under the sections so it’s useless if you choose for certain sections background transparent if the section it’s wrapped in a white background div…
Only in this way, you can have what you need but you should add the white background for certain sections or set white background for main color but for alternate color choose background transparent.
The theme option works but, the main div has by default white background.
I’ve used this css
COPY CODEdiv#main {background:transparent;} .article-content section.alternate-color {background:transparent !important;} .article-content section.main-color { background: lightblue !important;}
To can have sections transparent to the background you should set for the main div transparent.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi
Just add this css to quick css area
COPY CODE@media (min-width: 768px) and (max-width: 991px) { .kleo-masonry-item, .kleo-isotope>li, .template-page.col-sm-12 .kleo-masonry-item, .template-page.col-sm-12 .kleo-isotope>li, .template-page.col-sm-12 .section-container.container-full .kleo-isotope>.kleo-masonry-item, .template-page.col-sm-12 .section-container.container-full .kleo-isotope>li { width: 100%; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorAdd also this css
COPY CODEsection.container-wrap { background:transparent; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
What plugins are you using?
Check in that plugin’s settings the count number should be between span tagsCOPY CODE<span>my count</span>
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
use this CSSCOPY CODEul.ubermenu-submenu { position: initial !important; }
The search will be below the expanded submenu
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
It’s the same from what I see on the demo, until theme update use this fix, add the next CSS.
COPY CODE.bp-uploader-window .moxie-shim.moxie-shim-html5 { width:100% !important; height:100% !important; position:absolute; display:block; top:0 !important; left:0 !important; }
The upload button it’s clickable as it should.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
All of those are correct but the issue was caused by the main div wich haves the background white
COPY CODEdiv#main { background: transparent; }
By adding this to quick CSS are all elements that haves background transparent will be transparent over the body image
All right now ?
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts