Forum Replies Created

Viewing 40 posts - 161 through 200 (of 1,218 total)
  • Author
  • in reply to: Favorite star media #97463
     sharmstr
    Moderator

    Try this in your quick css

    COPY CODE
    
    .button.fav.bp-secondary-action {
        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: My portfolio items are messed up #97459
     sharmstr
    Moderator

    Something you have installed is putting injecting css into the page that’s screwing it up. You can override with this.

    COPY CODE
    
    .portfolio-items .media {
        overflow: visible !important;
        margin-top: 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

    Attachments:
    You must be logged in to view attached files.
    in reply to: Logo image taller than menu bar #97383
     sharmstr
    Moderator

    There is no size requirement. Just make sure your text isnt all the way to the top and all the way to the bottom.

    Try this in your quick css

    COPY CODE
    
    @media (max-width: 991px) {
    .logo {
        text-align: center !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: Archive Link #97261
     sharmstr
    Moderator

    A few things to check.

    1 – By default, CPTs will not show up in standard WP archives. You need to tell WP to show them.

    COPY CODE
    
    function custom_post_author_archive( $query ) {
        if ( $query->is_author() ) {
            $query->set( 'post_type', array('your-cpt', 'post') );
        }
    }
    add_action( 'pre_get_posts', 'custom_post_author_archive' );
    

    2 – Is your CPT set up on the same on both servers? Specifically the publicly_queryable parameter?

    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

    You can hide the activity with this css

    COPY CODE
    
    #item-header #latest-update {
        display: none;
    }
    

    And you can add profile fields data with this. Put it in your child theme’s functions.php file.

    COPY CODE
    
    add_action( 'bp_profile_header_meta', 'display_user_info' );
    function display_user_info() {
    	echo "Field Name Here: " . bp_profile_field_data('field=Field Name Here');
    	echo "</br>";
    	echo "Another Field Name Here: ". bp_profile_field_data('field=Another Field Name 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: Colorize Buttons #96908
     sharmstr
    Moderator

    You can use these

    COPY CODE
    
    #buddypress form#whats-new-form #aw-whats-new-submit {
        background-color: red;
        color: white;
    }
    
    a.button.item-button.bp-secondary-action.delete-activity.confirm {
        background-color: red !important;
        color: white !important;
    }
    
    .button.acomment-reply {
        background-color: red !important;
        color: white !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 Shadow on Text #96712
     sharmstr
    Moderator

    add an Extra Class Name to the text block, then add the custom css to your quick css

    So, if your extra class name is dropshadow-me, your css would be

    COPY CODE
    
    .dropshadow-me {
        text-shadow: 2px 2px #000;
    }
    

    You can adjust it by changing the 2px and #000 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: Reordering Profile Navigation Items #96659
     sharmstr
    Moderator

    It works. You’re probably just not using the correct action which should be init.

    COPY CODE
    
    function my_change_profile_tab_order() {
        global $bp;
        $bp->bp_nav['profile']['position'] = 10;
        $bp->bp_nav['forums']['position'] = 15;
        $bp->bp_nav['activity']['position'] = 20;
        $bp->bp_nav['friends']['position'] = 30;
        $bp->bp_nav['groups']['position'] = 40;
        $bp->bp_nav['messages']['position'] = 60;
        $bp->bp_nav['settings']['position'] = 70;
    }
    add_action( 'init', 'my_change_profile_tab_order', 999 );
    
    
    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: Mobile submenu not visible #96632
     sharmstr
    Moderator

    Put this in your quick css

    COPY CODE
    
    @media (max-width: 991px) {
    #header .navbar-nav li .caret:after {
        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: removing icons from featured items #96628
     sharmstr
    Moderator

    You can use this to hide the icon

    COPY CODE
    
    .feature-icon {
        display: none !important;
    }
    

    If you’re only going to be hiding the icons on a single page (or a few pages), I’d use the VC gear icon (upper right) to add the css there instead of putting it in your quick css or child theme so that it doesnt hide them site-wide.

    For the lightbox, it depends on how/where you’re adding them. If you’re using VC to build the page, then you can use the single image shortcode and set the On Click Action to open prettyphoto.

    The video shortcode will allow the user to go into full screen mode.

    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 Forums styles error #96517
     sharmstr
    Moderator

    The code I gave you fixed it in a different section. Use this

    COPY CODE
    
    body.page .bbp-reply-form code, body.page .bbp-topic-form code, body.single-topic .bbp-reply-form code, body.single-forum .bbp-topic-form code, body.topic-edit .bbp-topic-form code, body.reply-edit .bbp-reply-form code {
        white-space: normal !important;
        width: 100% !important;
    }
    

    To answer your question about being in the next release. Yes, a fix will be provided though it might not be this exact css. Depend on how the developers want to handle 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: error user profile #96457
     sharmstr
    Moderator

    In your wp-config.php file, change

    COPY CODE
    
    define('WP_DEBUG', true);
    

    to

    COPY CODE
    
    define('WP_DEBUG', false);
    

    If that doesnt help, look for plugin conflicts.

    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: upload kleo theme #96445
     sharmstr
    Moderator

    Okay.

    Lets try increasing the memory.

    Add this to wp-config.php

    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: upload kleo theme #96437
     sharmstr
    Moderator

    Okay.

    Next, add the following to your wp-config.php file then try the install again. Hopefully you’ll see a detailed error message so we can figure out what’s going on.

    COPY CODE
    
    define('WP_DEBUG', true);
    define('WP_DEBUG_DISPLAY', 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: How do I disable comments count ? #96420
     sharmstr
    Moderator

    We ask that you give us up to 48 hours to respond. You are asking for help on an unsupported plugin which takes longer to respond to than other requests. There is no need to ask for an update. Your question isnt lost 🙂

    To hide the comments title, use this css

    COPY CODE
    
    #comments .hr-title.hr-long {
        display: none;
    }
    

    I installed Super Socializer on a clean install of Kleo and was able to type in the comments box. Perhaps its a plugin conflict on your site or custom code that you have or maybe even its not compatible with whatever wysiwyg pluging you’re using for the comments box.

    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: Justify all posts #96402
     sharmstr
    Moderator

    Try this

    COPY CODE
    
    .post .article-content p {
        text-align: justify;
    }
    
    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

    put this in your 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: Icons with popover not displaying #96398
     sharmstr
    Moderator

    That page is throwing jquery error on this code

    COPY CODE
    
    // rates for each day
    				var rates = [];
    
    				// available dates for booking
    				var availableDates = [];
    	
    				function available(date) {
    				  dateS = ("0" + date.getDate()).slice(-2);
    				  monthS = ("0" + (date.getMonth() + 1)).slice(-2);
    				  dmy = dateS + "-" + monthS + "-" + date.getFullYear();
    				  if (jQuery.inArray(dmy, availableDates) !== -1) {
    					return [true, "","Available"];
    				  } else {
    					return [false,"","unAvailable"];
    				  }
    				}
    				
    				var limit = 1000;
    				
    				jQuery(document).ready(function($){
    				
    					$( "#date" ).datepicker({
    						beforeShowDay: available,
    						dateFormat: "dd-mm-yy"
    					});
    					
    					// code to make form sticky
    					$(window).scroll(sticky_relocate);
    					sticky_relocate();
    					
    					limit = jQuery(".limit").offset().top - 1500;
    					console.log(limit);
    					
    					// set width
    					wid = jQuery(".booking-form").width();
    					console.log(wid);
    					jQuery(".book").css("width",wid+"px");
    					
       				});
       				
       				function sticky_relocate() {
    					var window_top = jQuery(window).scrollTop();
    					var div_top = jQuery(".sticky-anchor").offset().top;
    					
    					adjuster = 200;
       				
    					if( jQuery(window).width() < 1200 ){
    						adjuster = 280;
    					}
    					
    					if( jQuery(window).width() < 990 ){
    						adjuster = 110;
    					}
    					
    					if( jQuery(window).width() < 768 ){
    						adjuster = 0;
    					}
    					
    					if ( adjuster!=0 && window_top + adjuster > div_top && window_top < 2100 ) {
    						jQuery(".book").addClass("stick");
    						jQuery(".book").css("top",adjuster+"px");
    					} else {
    						jQuery(".book").removeClass("stick");
    					}
    				}
    
    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: Forgot Password #96362
     sharmstr
    Moderator

    The issue is that they recently added a check for the nonce field, but failed to add it to the ajax call. I’ll add a fix for this in the next update. In the meantime, go to /buddyapp/functions.php and comment out the nonce check. Around line 905 look for

    COPY CODE
    
    check_ajax_referer( 'kleo-ajax-lost-pass-nonce', 'security-lost-pass' );
    

    and change it to

    COPY CODE
    
    //check_ajax_referer( 'kleo-ajax-lost-pass-nonce', 'security-lost-pass' );
    
    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: Visual editor problem #96357
     sharmstr
    Moderator

    you’re on a very old version of Kleo. So old in fact that you no longer receive auto update notifications. You’ll need to upgrade via FTP to get current, then auto upgrade notifications will work again if you have it set up in theme options. https://archived.seventhqueen.com/forums/topic/steps-to-update-kleo-theme

    After you upgrade Kleo, make sure you also upgrade the required plugins by going to Appearance > Install Plugins.

    To fix the Theme Options saving issue, put this in your child theme’s functions.php file

    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: Kleo Forums styles error #96356
     sharmstr
    Moderator

    Try this in your quick css

    COPY CODE
    
    body.single-forum .bbp-topic-form code {
        white-space: normal !important;
        width: 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: rtmedia attachments #96265
     sharmstr
    Moderator

    Try this in your quick css

    COPY CODE
    
    li.rtm-bbp-thumb-view {
        max-width: 150px;
        border: 1px solid #e5e5e5;
        margin: 5px !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 specific links to blue #96207
     sharmstr
    Moderator

    Try this in your quick css

    COPY CODE
    
    #buddypress #subnav ul li a {
        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: Change background color in each menu item #96185
     sharmstr
    Moderator

    Go into your menu item and add a css class. If you dont see this option, click on Screen Options in the upper right hand corner and enable it. Also, make sure its something unique (blog-menu instead of blog). Then add the appropriate css to Theme Options > General > Quick Css.

    Example

    CSS Class: blog-menu

    Quick CSS:

    COPY CODE
    
    .blog-menu {
        background-color: red;
    }
    
    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: Problem with embed code #95203
     sharmstr
    Moderator

    I added the following css to that page using the gear icon in VC

    COPY CODE
    
    .tableauViz { height:100%;}
    .fluid-width-video-wrapper {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: Layout Template Size #95141
     sharmstr
    Moderator

    You cant. You’ll have to set the sizes with custom css.

    Left sidebar

    COPY CODE
    
    @media (min-width: 768px) {
        .sidebar.sidebar-main.col-sm-3.sidebar-left.col-sm-pull-9 {
            width: 10%;
        }
        .template-page.col-sm-9.col-sm-push-3.tpl-left {
            width: 90%;
        }
        .template-page.col-sm-push-3 {
            left: calc(10% - 1px);
        }
        .col-sm-pull-9 {
            right:90%;
        }
    }
    

    Right Sidebar

    COPY CODE
    
    @media (min-width: 768px) {
    .template-page.col-sm-9.tpl-right {
    width:90%;
    }
    .sidebar.sidebar-main.col-sm-3.sidebar-right {
        width: 10%;
    }
    }
    

    Two sidebars

    COPY CODE
    
    @media (min-width: 768px) {
        .sidebar.sidebar-extra.col-sm-3.sidebar-3lr {
            width: 10%;
        }
        .sidebar.sidebar-main.col-sm-3.col-sm-pull-6.sidebar-3lr {
            width: 10%;
            right: 80%;
        }
        .template-page.col-sm-6.col-sm-push-3.tpl-3lr.posts-listing.masonry-listing.with-meta {
            left: calc(10% - 1px);
            width: 80%;
        }
    
    }
    
    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: Revolution Slider Butons #95083
     sharmstr
    Moderator

    Edit the button shortcode and add ‘bigger’ to the style parameter. Then in your quick css, add this.

    COPY CODE
    
    .bigger {
        width: 500px;
        height: 100px;
        font-size: 50px;
    }
    

    Adjust the sizes to suit you.

    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 new footer Area above the current one. #95078
     sharmstr
    Moderator

    I saw the image, but needed clarification on what you wanted there. Thank you for that.

    Create a new sidebar: Appearance > Sidebars. Call it Footer 5

    Copy /kleo/sidebar-footer.php to your child theme

    Around line 24, just under <div class=”wrap-content”> add this

    COPY CODE
    
    <div class="row">
    					<div class="col-sm-12">
    						<div id="footer-sidebar-5" class="footer-sidebar widget-area" role="complementary">
    							<?php
    							if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('footer-5')):
    							endif;
    							?>
    						</div>
    					</div>
    				</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: Remove the Content Sidebar? #95068
     sharmstr
    Moderator

    That’s not a sidebar. 🙂

    That’s the buddypress profile header. You might try this

    COPY CODE
    
    #buddypress #item-header-wrap {
        display: none !important;
    }
    @media only screen and (min-width: 768px) {
        #buddypress #item-body {
            margin-left: 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: Mobile Menu #95040
     sharmstr
    Moderator

    Try this in your quick css

    COPY CODE
    
    @media (max-width: 991px) {
    .header-color a {
       color: #ffffff !important;
    }
    }
    

    Not sure if this will work or not, but I found this topic on making the mobile menu sticky: https://archived.seventhqueen.com/forums/topic/main-menu-disappears-in-mobile-view#post-91929

    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 category on catalog page #94986
     sharmstr
    Moderator

    I put this in your quick css to hide the categories.

    COPY CODE
    
    .woocommerce ul.products li.product .posted_in, .woocommerce ul.products li.product .posted_in a {
    display: none !important;
    }
    

    There’s no hook into that location, but you can use this to put the description just below the price. Put it in your child theme’s functions.php file.

    COPY CODE
    
    add_action( 'woocommerce_after_shop_loop_item_title', 'add_product_description' );
    function add_product_description() {
        global $post;
        echo $post->post_content;
    }
    
    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: Portfolio gallery images don't link #94900
     sharmstr
    Moderator

    You only have to click once if you click in the correct spot. This is usually not an issue, but in your case it is because your portfolio items are so small. The only thing that’s not linked is the excerpt, but again, because your items are so small, the excerpt takes up almost half of the item.

    Copy /kleo/page-parts/portfolio-masonry.php to your child theme /kleo-child/page-parts/portfolio-masonry.php and change this line (near the bottom)

    COPY CODE
    
     <?php echo kleo_excerpt( 60, false ); ?>
    

    to this

    COPY CODE
    
    <a href="<?php the_permalink();?>"><?php echo kleo_excerpt( 60, false ); ?></a>
    
    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: Demo Content cannot be loaded into WordPress #94892
     sharmstr
    Moderator

    Post size and upload size probably arent the issue. The issue is probably allocated memory size. Put this in wp-config.php

    COPY CODE
    
    define( 'WP_MEMORY_LIMIT', '256M' );
    

    If that doesnt work, check your server error logs for the cause of the 500 error.

    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: Modif title #94883
     sharmstr
    Moderator

    Since you have it in buddyapp-child the changes wont be lost when you update Buddyapp. Buddyapp updates only change files in /themes/buddyapp, not /themes/buddyapp-child. That’s the whole point of using a child theme 🙂

    With that said, you should NOT put buddypress.php into your child theme. There are way too many functions in there and you’ll end up screwing up your site.

    To change the h1 to h2 in the bp titles, put this in your child theme’s functions.php file

    COPY CODE
    
    add_action( 'bp_init', 'change_bp_titles' );
    function change_bp_titles(){
        remove_action('bp_before_member_body', 'kleo_bp_member_title', 1);
        add_action('bp_before_member_body', 'custom_bp_member_title', 1);
        remove_action('bp_before_group_body', 'kleo_bp_group_title', 1);
        add_action('bp_before_group_body', 'custom_bp_group_title', 1);
    }
    
    function custom_bp_member_title() {
        ?>
        <div class="bp-title-section">
            <h2 class="bp-page-title"><?php echo ucfirst(bp_current_component());?></h2>
            <?php kleo_breadcrumb( array( 'container' => 'ol', 'separator' => '', 'show_browse' => false ) ); ?>
        </div>
        <?php
    }
    
    function custom_bp_group_title() {
        ?>
        <div class="bp-title-section">
            <h2 class="bp-page-title"><?php echo ucwords(str_replace('-', ' ', bp_current_action()));?></h2>
            <?php kleo_breadcrumb( array( 'container' => 'ol', 'separator' => '', 'show_browse' => false ) ); ?>
        </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: How can I change the font color for my Forums #94853
     sharmstr
    Moderator

    1 – try this in your quick css. change the color to whatever you want

    COPY CODE
    
    .status-closed .bbp-reply-content > p {
        color: #000 !important;
    }
    

    2 – There’s a sticky topic on this: https://archived.seventhqueen.com/forums/topic/what-plugin-are-you-using-to-show-ticket-status

    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 the home page color #94843
     sharmstr
    Moderator

    You can use this css

    COPY CODE
    
    .home-page {
        background-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: Top bar Dropdown menu toggle issue #94770
     sharmstr
    Moderator

    Try this

    COPY CODE
    
    .social-header.header-color {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    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

    The choosing thumbnail issue has already been fixed and will be available in the next update. Until then, do the following to fix.

    Add the following function to the very bottom of /kleo/kleo-framework/lib/function-core.php

    COPY CODE
    
    if ( ! function_exists( 'sq_remove_img_srcset' ) ) {
    
    	function sq_remove_img_srcset( $attr ) {
    		if (! empty($attr)) {
    			unset($attr['srcset']);
    			unset($attr['sizes']);
    		}
    
    		return $attr;
    	}
    
    }
    

    In /kleo/woocommerce/single-product/product-image.php replace the following lines

    COPY CODE
    
    $image_title 		= esc_attr( get_the_title( get_post_thumbnail_id() ) );
    			$image_link  		= wp_get_attachment_url( get_post_thumbnail_id() );
    			$image       		= get_the_post_thumbnail( $post->ID, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ), array(
    				'title' => $image_title
    				) );
    			$attachment_count   = count( $product->get_gallery_attachment_ids() );
    

    with this

    COPY CODE
    
    $image_title 		= esc_attr( get_the_title( get_post_thumbnail_id() ) );
    			$image_link  		= wp_get_attachment_url( get_post_thumbnail_id() );
    
    			add_filter( 'wp_get_attachment_image_attributes', 'sq_remove_img_srcset');
    
    			$image       		= get_the_post_thumbnail( $post->ID, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ), array(
    				'title' => $image_title
    				) );
    
    			remove_filter( 'wp_get_attachment_image_attributes', 'sq_remove_img_srcset');
    
    			$attachment_count   = count( $product->get_gallery_attachment_ids() );
    

    I’m not seeing greyed out thumbnails on your site. Once the carousel finishes loading, the images look fine.

    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: Revolution Slider Butons #94541
     sharmstr
    Moderator

    Why do you have php code in your child theme’s styles.css file? I removed it.

    This is the code I removed. If you want this code to run properly, it should be in functions.php

    COPY CODE
    
    // Group buttons
    if ( bp_is_active( 'vines' ) ) {
    	add_action( 'bp_group_header_actions', 'bp_group_join_button', 5 );
    

    What’s more concerning is the “Main files 3” folder in your child theme. Why?

    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

    Copy the kleo_custom_comments function from /kleo/functions.php (around line 675) to your child theme’s functions.php file.

    You’ll see the comment date is using

    COPY CODE
    
     human_time_diff( get_comment_time('U'), current_time('timestamp') ) . ' ' . __("ago", "kleo_framework")
    

    Change that to whatever you want.
    http://hitchhackerguide.com/2011/02/12/get_comment_time/

    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 - 161 through 200 (of 1,218 total)

Log in with your credentials

Forgot your details?