Forum Replies Created
-
Author
-
sharmstrModerator
Got it. I’m submitting the fix to the devs now. In the meantime, go to /kleo/buddypress/groups/single/members.php and change line 1 from
COPY CODE<?php if ( bp_group_has_members( 'exclude_admins_mods=0&per_page='.sq_option('bp_members_perpage', 12) ) ) : ?>
to
COPY CODE<?php if ( bp_group_has_members( bp_ajax_querystring( 'group_members' ) . '&exclude_admins_mods=0&per_page='.sq_option('bp_members_perpage', 12) ) ) : ?>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorYour minify css is screwing it up. Put this in your quick css
COPY CODE.page-id-7343 .template-page.col-sm-12.tpl-no { padding-top: 0 !important; }
Your site is also throwing jquery errors. Probably for the same minify reasons.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorThe are overriding the .btn class in wpe-common.css. Specifically they are adding a gradient background image.
Anyhow, put this in your quick css.
COPY CODEa.btn.btn-see-through.btn-animated { background-image: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorClick on the gear icon in vc and try this css. Change to suit your needs
COPY CODEa.btn.btn-default { color: red; background-color: pink; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorTry this in your quick css
COPY CODE.news-widget-wrap .news-time { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 10, 2016 at 12:55 in reply to: Is there a way to remove thumbnails from the Categories page #103077sharmstrModeratorYou can try this css for specific categories
COPY CODE.post-type-archive-product .product_cat-gun-manual figure.product-transition-single { display: none !important; }
Or you can try this for all category pages
COPY CODE.post-type-archive-product figure.product-transition-single { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 9, 2016 at 15:55 in reply to: Remover border/underline styling from custom menu – Footer widget #102890sharmstrModeratorTry this
COPY CODE.vc_wp_custommenu li a { border-width: 0px !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorThat’s not a post. That’s a topic. They dont work in topics.
A bit confusing because Kleo adds the shortcode selector to all backend text editors, but 99% of the time, topic will be created on the front-end where it doesnt show up.
Alternatively, you can add button html.
<a class="btn btn-default" href="">Button text</a>
But bbpress overrides link styling (buttons are actually links), so you’ll also need some custom css to make it look like a button
COPY CODE.main-color .btn-default { background-color: #f7f7f7 !important; border: 1px solid #eeeeee !important; padding: 10px 10px !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorYou can try this
COPY CODE.share-links span a { color: #fff !important; } .share-links .hr-title { color: #fff !important; } section.main-color.container-wrap.social-share-wrap { 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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorAdd this
COPY CODE#header .is-sticky .kleo-main-header { margin-top: 40px !important;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorThe menu color is set in Theme Options > Styling > Header: Link color and Link Hover color.
You can set the header background color in the same section as above. If you want your main menu background to be semi-transparent, you can try this in your quick css and change ‘2’ to adjust the darkness.
COPY CODE.kleo-main-header.header-normal { background-color: rgba(0,0,0,0.2) !important; }
The transparency in that demo during page scroll is set up by editing the page you want that to happen on, scroll down theme general settings and enabling transparent main menu. You should only do that on pages where you have an image or slider that will sit under the menu.
You can highlight text in 1 of 2 ways. Either by wrapping the title in em tags
COPY CODE<em>highlight</em>
or by using the btn-highlight class in the css class field
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorYou cant “move” them. You can create links to different sections of the profile using ##profile_link## as detailed in the Kleo documentation.
You can hide the BP navigation tabs using this css
COPY CODE.bp-user #buddypress #item-nav { display: none !important; }
Keep in mind that you’ll have to remember to add new link to the main menu if you install a plugin that adds a bp profile tab.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorOne of two reasons
1 – You need to clear your server cache or purge your cdn if you have those in place.
2 – You need to put this in your child theme’s functions.php file and resave your theme options
COPY CODEadd_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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorIt does support levels. Add this to your quick css
COPY CODE#header .navbar-nav li .caret:after { color: #fff !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorThose aren’t social sharing (just to be clear). Not sure why you want to change the icons to black since you wont be able to see them. But in any case, try this.
COPY CODE#footer .kleo-social-icons li { display: inline; font-size: 40px; padding-right: 20px; } #footer .kleo-social-icons i { color: #000 !important; } #footer .kleo-social-icons i:hover { color: orange !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorTry this css
COPY CODE@media (max-width: 991px) { .small-listing .post-image { display: none !important; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorTheme Options > Header Options.
– Choose the center menu style.
– Set main menu height to whatever you want.Theme Options > General
– Add this to your quick css to hide the logoCOPY CODE.navbar-header .logo { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorYou dont have to do that in Kleo 4.0.
In the meantime, you can just do this
COPY CODEadd_action('geodir_details_main_content', 'add_social_sharing', 35); function add_social_sharing() { get_template_part( 'page-parts/posts-social-share' ); }
or this
COPY CODEadd_action('geodir_article_close','kleo_geodir_social_share'); function kleo_geodir_social_share() { get_template_part( 'page-parts/posts-social-share' ); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorThat’s not the correct code. That’s the form code, not the code that actually sends the email. This is the code that sends it
COPY CODEfunction kleo_sendmail() { if(isset($_POST['action'])) { $error_tpl = "<span class='mail-error'>%s</span>"; //contact name if(trim($_POST['contact_name']) === '') { printf($error_tpl, __('Please enter your name.','kleo_framework') ); die(); } else { $name = trim($_POST['contact_name']); } ///contact email if(trim($_POST['contact_email']) === '') { printf($error_tpl, __('Please enter your email address.','kleo_framework') ); die(); } elseif (!preg_match("/^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+.[a-z]{2,4}$/i", trim($_POST['contact_email']))) { printf($error_tpl, __('You entered an invalid email address.','kleo_framework') ); die(); } else { $email = trim($_POST['contact_email']); } //message if(trim($_POST['contact_content']) === '') { printf($error_tpl, __('Please enter a message.','kleo_framework') ); die(); } else { if(function_exists('stripslashes')) { $comment = stripslashes(trim($_POST['contact_content'])); } else { $comment = trim($_POST['contact_content']); } } $emailTo = sq_option('contact_form_to',''); if (!isset($emailTo) || ($emailTo == '') ) { $emailTo = get_option('admin_email'); } $subject = __( 'Contact Form Message', 'kleo_framework' ); apply_filters( 'kleo_contact_form_subject', $subject ); $body = __("You received a new contact form message:", 'kleo_framework') . "\n"; $body .= __("Name: ", 'kleo_framework') . $name . "\n"; $body .= __("Email: ", 'kleo_framework') .$email . "\n" ; $body .= __("Message: ", 'kleo_framework') . $comment . "\n"; $headers[] = "Content-type: text/html"; $headers[] = "Reply-To: $name <$email>"; apply_filters('kleo_contact_form_headers',$headers); if(wp_mail($emailTo, $subject, $body, $headers)) { echo '<span class="mail-success">' . __("Thank you. Your message has been sent.", 'kleo_framework').' <i class="icon-ok icon-large"></i></span>'; do_action('kleo_after_contact_form_mail_send', $name, $email, $comment); } else { printf($error_tpl, __("Mail couldn't be sent. Please try again!",'kleo_framework') ); } } else { printf($error_tpl, __("Unknown error occurred. Please try again!",'kleo_framework') ); } die(); }
Change $emailTo to whatever emails address you want. https://developer.wordpress.org/reference/functions/wp_mail/
I will say the better way to do this is set up a forwarding address on your email server that will forward a copy of the email to whoever you want.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorTry this in your quick css
COPY CODE.share-links div.hr-title { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorPut this in your quick css
COPY CODEh1, h2, h3 { text-transform: uppercase !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorPut this in your child theme’s functions.php file.
COPY CODEfunction prepend_excerpt( $content ) { if ( is_singular('post') ) { global $post; $content = "<h1>" . $post->post_excerpt . "</h1>" . $content; } return $content; }
Seems odd that if this was such a big SEO deal that WP would do this automatically or have a switch in the settings. I wonder why big news sites dont have excerpts before their content and the article page. Is this a new thing?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 2, 2016 at 15:52 in reply to: Code to hide blog posts from buddypress activity stream #101726sharmstrModeratorThat’s not a bug. Buddypress deprecated those in BP 2.2
Try this
COPY CODE//Block certain activity types from being added function bp_activity_dont_save( $activity_object ) { $exclude = array( 'new_blog_comment', 'new_blog_post' ); // if the activity type is empty, it stops BuddyPress BP_Activity_Activity::save() function if( in_array( $activity_object->type, $exclude ) ) { $activity_object->type = false; } } add_action('bp_activity_before_save', 'bp_activity_dont_save', 10, 1 );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorOne of two things
1 – Clear your server cache and/or purge your cdn if you have those in place.
2 – Put this in your child theme’s functions.php file, then resave your theme options.
COPY CODEadd_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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorThere’s nothing special. Use the standard WP way of control excerpt length.
COPY CODEfunction custom_excerpt_length( $length ) { return 20; } add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorTry this css
COPY CODE.kleo-notifications-nav { z-index: 9000 !important; } .kleo-mobile-switch { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorChange portfolio to your cpt name
COPY CODEif ( is_admin() ) { add_action('do_meta_boxes', 'remove_cpt_meta_boxes'); } function remove_cpt_meta_boxes() { if ( get_post_type() == 'portfolio' ) { remove_action('edit_form_advanced', array('sidebar_generator', 'edit_form')); remove_action('edit_page_form', array('sidebar_generator', 'edit_form')); } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorProbably a caching issue. Clear your cache. If that doesnt work, try putting this in your child theme’s functions.php file, then resave your permalinks.
COPY CODEadd_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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorClick on the gear icon in VC and add this css
COPY CODE.navbar-transparent .navbar .kleo-main-header { background-color: rgba(0,0,0,0.4); }
The image is a background, so you dont make it smaller. You can adjust how much is showing using the padding fields in the row settings.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorMight be one of the plugins you’re using thats causing it. But you can fix with this in your quick css
COPY CODEol { overflow-wrap: break-word; } p { overflow-wrap: break-word; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorThis isnt a bug since you’re using a plugin to produce the share buttons. There’s no setting that can be toggle because again, this is a plugin that you’ve added.
You can try this css
COPY CODE#main div.sharedaddy, div.sharedaddy { max-width: 1280px; margin-left: auto; }
Otherwise, please refer to their documentation on how to modify where the share icons are displayed: https://jetpack.me/support/sharing/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 29, 2016 at 17:59 in reply to: Unable to hide social icons from top menu when enabled #101202sharmstrModeratorStrange.
What files do you have in your child theme? I cant tell since you’ve disabled theme editor access. Do you have anything in your child theme’s functions.php file?You can always hide them with this css
COPY CODE.kleo-social-icons { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorBy default its set to 93%. You can change it with
COPY CODE.sidebar { font-size: 93% !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorSee if this works…
Copy /kleo/page-parts/posts-related.php to your child theme (/kleo-child/page-parts/posts-related.php) and add the orderby date parameter to the argument list like…
replace
COPY CODE$args['tax_query'][] = array( 'taxonomy' => $tax, 'field' => 'id', 'terms' => $terms );
with this
COPY CODE$args['tax_query'][] = array( 'taxonomy' => $tax, 'field' => 'id', 'terms' => $terms, 'orderby' => 'date' );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorYes, they are h1. If its an actual page, you can turn off titles by editing the page and scrolling down to Theme General Settings > Title section
If its a plugin/wp generated page (like when you set your homepage to display posts), you can use this css
COPY CODE.home-page .page-title { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 29, 2016 at 15:37 in reply to: How to remove tags, dates and user from Posts in NEWS Highlight #101152sharmstrModeratorYou can choose which meta to show in Theme Options > Blog. You can use this css class to change the meta font in the news shortcode (use the bigger-text method that I explained in your other topic)
COPY CODE.bigger-text .article-meta a { font-size: 15px; color: #fff; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 29, 2016 at 15:30 in reply to: Choosing Images to Appear for Posts in NEWS Highlight or Focus #101151sharmstrModerator3 – To change the text size, edit the shortcode and add bigger-text to the css box. Then click on the gear icon in vc and add this css (or you can put it in your quick css)
COPY CODE.bigger-text { font-size: 20px; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 29, 2016 at 15:27 in reply to: Choosing Images to Appear for Posts in NEWS Highlight or Focus #101149sharmstrModerator1 – If you dont want the images to be pulled from the text, then you need to set a featured image and the post format must be Standard or Image. You can put the text underneath by changing your shortcode settings so that the number of Featured posts to show big is equal to the number of posts you’re displaying (post count in build query).
2 – You can use this css to change the sidebar images
COPY CODE.news-widget-wrap img { width: 60px !important; height: 60px !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
January 29, 2016 at 14:58 in reply to: Unable to hide social icons from top menu when enabled #101144sharmstrModeratorClear your server cache or cdn if you have one in place. If that doesnt solve the issue, try adding this to your child theme’s functions.php file and resave your Theme Options
COPY CODEadd_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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstrModeratorPut this in your quick css
COPY CODE.home-page .page-title { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts