Forum Replies Created

Viewing 40 posts - 201 through 240 (of 2,990 total)
  • Author
  • in reply to: Formatting in single column single page post page #206282
     Radu
    Moderator

    Hi,

    I see, at this moment using visual composer in posts, having fill width it’s not possible because it may break the layout.

    At this moment you can use this css workaround

    COPY CODE
    
    .single .container-full .with-meta .article-content, .posts-listing.standard-listing.with-meta .article-content {
        display:none !important;
    }
    

    Will hide that and the layout will no more breaked.

    We will take this into consideration i will speak with the core developer to find a solution for this.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Adding the css code on breadcrumbs #205903
     Radu
    Moderator
    Not marked as solution
    in reply to: Show subcategory, hide category in meta #205858
     Radu
    Moderator

    Hi,

    Tried a workaround and cannot remove only that tried with css to target all links from there that contains the main category slug but it removes also the second one.

    So there is no easy way to remove only that… another workaround may be this… but i’m not sure how will behaves when you have only a category there.

    COPY CODE
    
    
    article .post-header .post-meta .meta-category a:first-child{
    display:none !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 solution
    in reply to: Implementing Membership Search Functionalities #205849
     Radu
    Moderator
    Not marked as solution
    in reply to: Class or ID please #205798
     Radu
    Moderator

    Hi,

    Use this css

    COPY CODE
    
    div#login_panel ul.inline-list a {color:red;font-weight:bolder;}
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Implementing Membership Search Functionalities #205762
     Radu
    Moderator
    Not marked as solution
     Radu
    Moderator

    Hi,

    1.
    The limit can be changed by addind the next codes to /wp-content/themes/kleo-child/functions.php

    Replace 350 with your desired number or characters

    Code below:

    COPY CODE
    
    if ( ! function_exists( 'kleo_excerpt' ) ) {
        function kleo_excerpt( $limit = 50, $words = false ) {
            /*Force excerpt length*/
            $limit = 350;
            $from_content    = false;
            $excerpt_initial = get_the_excerpt();
    
            if ( $excerpt_initial == '' ) {
                $excerpt_initial = get_the_content();
                $from_content    = true;
            }
            $excerpt_initial = preg_replace( '<code>\[[^\]]*\]</code>', '', $excerpt_initial );
            $excerpt_initial = strip_tags( $excerpt_initial );
    
            /* If we got it from get_the_content -> apply length restriction */
            if ( $from_content ) {
                $excerpt_length  = apply_filters( 'excerpt_length', $limit );
                $excerpt_initial = wp_trim_words( $excerpt_initial, $excerpt_length, '' );
            }
    
            if ( $words ) {
                $excerpt = explode( ' ', $excerpt_initial, $limit );
                if ( count( $excerpt ) >= $limit ) {
                    array_pop( $excerpt );
                    $excerpt = implode( " ", $excerpt ) . '...';
                } else {
                    $excerpt = implode( " ", $excerpt ) . '';
                }
            } else {
                $excerpt = substr( $excerpt_initial, 0, $limit ) . ( strlen( $excerpt_initial ) > $limit ? '...' : '' );
            }
    
            return '<p>' . $excerpt . '</p>';
        }
    }
    
    function kleo_new_excerpt_length( $length ) {
        return 350;
    }
    
    

    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 solution
    in reply to: Sidebar background color #205560
     Radu
    Moderator

    Hi,

    Just add also this css and let me know

    COPY CODE
    
    @media (min-width: 992px) {
        #main-container {
           max-width: 1200px !important;
        }
    
    }
    

    You can remove the last Kieran CSS

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: The Protfolio section from my WP admin panel is gone #205550
     Radu
    Moderator
    Not marked as solution
    in reply to: Sidebar background color #205346
     Radu
    Moderator

    Hi,

    Just use this css and change the red color with you desired color code or color name

    COPY CODE
    
    .sidebar.sidebar-right {
        background: red !important;
    }
    

    For the left sidebar here’s the code

    COPY CODE
    
    .sidebar.sidebar-left {
        background: green !important;
    }
    

    The css will be added to wp-admin -> theme options -> General settings -> Quick CSS

    Let me know

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Kleo rounded #205341
     Radu
    Moderator
    Not marked as solution
    in reply to: Sweet Date membership registration process #205324
     Radu
    Moderator

    Hi,

    I see the redirection it’s handled by that plugin “Buddypress Members Only” and this redirect english to french version.

    A workaround my be to de-activate that plugin and to use two snippets that handles the redirection for every language from example, so that plugin should be compat with wpml.

    Homepage french : domain.com/fr/ -> will redirect guests to domain.com/fr/register
    Homepage english : domain.com/en/ -> will redirect guests to domain.com/en/register

    This snippet should handle both of them cuz it’s using relative urls

    COPY CODE
    
    function sqr_prevent_search_guest_user() {
        if ( class_exists( 'BuddyPress' ) ) {
            if (!is_user_logged_in() && bp_is_directory() && is_front_page()) {
                wp_redirect(home_url() . '/register/');
                exit;
            }
        }
    }
    add_action('template_redirect', 'sqr_prevent_search_guest_user');
    
    

    The snippet may be added to wp-content/themes/sweetdate-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 solution
    in reply to: Diveded screen #205320
     Radu
    Moderator

    If certain CSS rule and value doesn’t work add them !important at the end.

    example

    div a {
    font-size:12px;
    }

    try with important

    COPY CODE
    
    div a {
    font-size:12px !important;
    }
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Problem with the search form #205179
     Radu
    Moderator

    Hi,

    Just add this css to wp-admin -> theme options -> styling options -> quick css

    COPY CODE
    
    .register div#main-content {
        width: 100%;
    }
    
    .register aside.four.columns {
        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 solution
    in reply to: The Protfolio section from my WP admin panel is gone #205155
     Radu
    Moderator
    Not marked as solution
    in reply to: Restrict members profile to logged in users #205004
     Radu
    Moderator

    Hi,

    Using the next snippet simply all guests will be redirected to /register/ page but allow the homepage to be viewed also for guests

    COPY CODE
    
    function sqr_prevent_search_guest_user() {
        if ( class_exists( 'BuddyPress' ) ) {
            if (!is_user_logged_in() && !is_front_page() ) {
                wp_redirect(home_url() . '/register/');
                exit;
            }
        }
    }
    add_action('template_redirect', 'sqr_prevent_search_guest_user');
    

    Code will be added to wp-contnet/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 solution
    in reply to: do not show Instant Booking in iphone #204788
     Radu
    Moderator

    Hi,

    Did you had modified something there ? (css,html,js) ? If yes we cannot debug that since they are custom non-default

    Try to use this CSS

    COPY CODE
    
    .property-sticky-box-wrapper .sticky-element { height:85 !important; }
    .burger-modal-styles:not(body) {bottom:0 !important}
    

    Did you see the same issue on our demo ?

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: WPML #204522
     Radu
    Moderator
    Not marked as solution
    in reply to: WPML #204521
     Radu
    Moderator
    Not marked as solution
    in reply to: CSS not working on site #204502
     Radu
    Moderator
    Not marked as solution
    in reply to: Several issues for a Profile Search #204494
     Radu
    Moderator
    Not marked as solution
    in reply to: CSS not working on site #204378
     Radu
    Moderator
    Not marked as solution
    in reply to: CSS not working on site #204358
     Radu
    Moderator
    Not marked as solution
     Radu
    Moderator
    Not marked as solution
    in reply to: Several issues for a Profile Search #204281
     Radu
    Moderator
    Not marked as solution
    in reply to: CSS not working on site #204260
     Radu
    Moderator
    Not marked as solution
    in reply to: How to erase “Forum” from breadcrumbs #204162
     Radu
    Moderator
    Hi, Just use this css
    .kleo_framework.breadcrumb a[href="https://cute8.net/bs/"] {display:none !important;}
    .kleo_framework.breadcrumb .sep:nth-child(2) { display: none !important; }
    
    The css will be added to wp-admin -> theme options -> General settings -> Quick CSS Cheers R
     Radu
    Moderator
    Not marked as solution
    in reply to: Buddypress Icons #204155
     Radu
    Moderator

    Ah, sorry

    Use this one

    COPY CODE
    
    .bp-light-icons #buddypress div#item-nav ul li a {
        padding: 20px 10px;
    }
    

    To can make additional space change 10px to 5px or lower

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Several issues for a Profile Search #204108
     Radu
    Moderator
    Not marked as solution
    in reply to: Using a Search Icon in the search box #204090
     Radu
    Moderator
    Not marked as solution
    in reply to: Buddypress Icons #203995
     Radu
    Moderator

    Hi,

    Use the next css to make there for few icons then the more button will be displayed highlited.

    COPY CODE
    
    @media(max-width:991px) {
        
        #buddypress div.item-list-tabs ul {width: auto !important;}
        #buddypress div#item-nav {padding: 0;}
        #buddypress div#item-nav ul li {opacity:1 !important;}
        #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 a {padding: 0 7px;font-size:10px;}
        #buddypress div#item-nav ul li a:before {font-size:44px;}
        #buddypress div#item-nav  a.dropdown-toggle:before {
            background-color: #777 !important;
            color: #fff !important;
        }
    
    }
    

    The last selector targets only the more button so if you need to highlite only more button copy and paste only that css

    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 solution
    in reply to: CSS not working on site #203979
     Radu
    Moderator
    Not marked as solution
    in reply to: Article issues #203969
     Radu
    Moderator

    Hi again

    1. I saw your homepage and the cards and they are displayed as it should and they shown the back when you hover so what’s the issue ?

    2.
    There might me some conflifct with other plugins or child so you will have to de-activate all plugins and child theme off then check if they are displayed as it should, if you had done eny kinf of speed optimizations from cloudflare, from server cpanel, frmo htaccess or any caching cnd plugin can cause that switch all off and test. On our demo cannot see similar.

    Also you can use this snoippet to make all animations visible directly !

    COPY CODE
    
    .animated,.wpb_animate_when_almost_visible  {
     /*CSS transitions*/
     -o-transition-property: none !important;
     -moz-transition-property: none !important;
     -ms-transition-property: none !important;
     -webkit-transition-property: none !important;
     transition-property: none !important;
     /*CSS transforms*/
     -o-transform: none !important;
     -moz-transform: none !important;
     -ms-transform: none !important;
     -webkit-transform: none !important;
     transform: none !important;
     /*CSS animations*/
     -webkit-animation: none !important;
     -moz-animation: none !important;
     -o-animation: none !important;
     -ms-animation: none !important;
     animation: none !important;
     opacity: 1 !important;
     filter:none !important;
     
     }
    

    3.

    Replace this file content : wp-content/themes/kleo/vc_templates/vc_row.php

    with the content of this one : https://pastebin.com/raw/1m5KbcWK

    It’s a bug that it will be fixed in next theme update

    4. The theme comes with no plugin installed, the theme suggest you to install the used one in our demos, so you are free to delete it and to re-install it using latest fresh version.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Several issues for a Profile Search #203963
     Radu
    Moderator
    Not marked as solution
    in reply to: embed Google Fonts locally #203786
     Radu
    Moderator

    Hi,
    You can add the next function into child theme functions.php file

    COPY CODE
    
    /* Deqeue the google fonts */
    function sq7r_deque_kleo_gogole_fonts() {
        if( function_exists('bp_is_active') && !bp_is_members_component()) {
            wp_deregister_style('kleo-google-fonts', $google_link, array(), '', 'all' );
            wp_dequeue_style('kleo-google-fonts');
        }
    }
    add_action('wp_enqueue_scripts', 'sq7r_deque_kleo_gogole_fonts',999);
    
    

    It will prevent google fonts loading also you can go to wp-admin -> theme options -> fonts -> and to set for every heading Arial font a standard one.

    Then, you can load and set any font you want to following this method follow this : https://archived.seventhqueen.com/forums/topic/how-can-register-japanese-font/#post-106881

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: Several issues for a Profile Search #203668
     Radu
    Moderator
    Not marked as solution
    in reply to: CSS not working on site #203591
     Radu
    Moderator
    Not marked as solution
    in reply to: Facebook Login Error #203566
     Radu
    Moderator

    Hi,

    There is a fix for wordpress to allow russian / ukrainian characters on username, if you will check to create a new user with russian you will cannot do that cuz the wordpress it not allow, please test the function and let me know

    this it’s a old function that some users used in the past, just replace the characters with your specific greek ones

    COPY CODE
    
    
    function kleo_translate_special_chars($str){
        $tr = array(
            "А"=>"a", "Б"=>"b", "В"=>"v", "Г"=>"g", "Д"=>"d",
            "Е"=>"e", "Ё"=>"yo", "Ж"=>"zh", "З"=>"z", "И"=>"i",
            "Й"=>"j", "К"=>"k", "Л"=>"l", "М"=>"m", "Н"=>"n",
            "О"=>"o", "П"=>"p", "Р"=>"r", "С"=>"s", "Т"=>"t",
            "У"=>"u", "Ф"=>"f", "Х"=>"kh", "Ц"=>"ts", "Ч"=>"ch",
            "Ш"=>"sh", "Щ"=>"sch", "Ъ"=>"", "Ы"=>"y", "Ь"=>"",
            "Э"=>"e", "Ю"=>"yu", "Я"=>"ya", "а"=>"a", "б"=>"b",
            "в"=>"v", "г"=>"g", "д"=>"d", "е"=>"e", "ё"=>"yo",
            "ж"=>"zh", "з"=>"z", "и"=>"i", "й"=>"j", "к"=>"k",
            "л"=>"l", "м"=>"m", "н"=>"n", "о"=>"o", "п"=>"p",
            "р"=>"r", "с"=>"s", "т"=>"t", "у"=>"u", "ф"=>"f",
            "х"=>"kh", "ц"=>"ts", "ч"=>"ch", "ш"=>"sh", "щ"=>"sch",
            "ъ"=>"", "ы"=>"y", "ь"=>"", "э"=>"e", "ю"=>"yu",
            "я"=>"ya", " "=>"-", "."=>"", ","=>"", "/"=>"-",
            ":"=>"", ";"=>"","—"=>"", "–"=>"-"
        );
        return strtr($str, $tr);
    }
    
    function kleo_extra_validate_username($valid, $username){
        if( !$valid ){
            $sanitized = sanitize_user( $username, true );
            $valid = ( ! empty( $sanitized ) );
        }
        return $valid;
    }
    add_filter('validate_username', 'kleo_extra_validate_username', 10, 2);
    
    
    function kleo_extra_sanitize_user($user, $raw_user, $strict) {
        $user = kleo_translate_special_chars($raw_user);
        return $user;
    }
    add_filter('sanitize_user', 'kleo_extra_sanitize_user', 10, 3);
    
    

    It should work

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    in reply to: CSS not working on site #203500
     Radu
    Moderator
    Not marked as solution
Viewing 40 posts - 201 through 240 (of 2,990 total)

Log in with your credentials

Forgot your details?