Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • in reply to: The correct CSS to float main menu to left side. #60058
     ahd904
    Participant

    At the moment i have applied back to the last CSS you have given me so that you dont get confused.

    COPY CODE
    .kleo-main-header .navbar-collapse {float:none !important;} 
    .kleo-main-header .nav.navbar-nav {float:none !important;}
    #header.header-color .navbar-nav li:last-child {float:right;}
    in reply to: video background removes links on texts or button #59041
     ahd904
    Participant

    Thank you sharmstr,

    I was expecting to see something relevant thread topic when the relevant issues are shown beside when i type the name of the topic in bbpress.

    I will do some manual search before opening a thread.

    COPY CODE
    .bg-full-video .container, .bg-full-video .container-full {
        pointer-events: auto;
    }

    this helped.

    Thank you for the kind support.

    in reply to: Is there any way to add an additional menu item ?? #33140
     ahd904
    Participant

    Also, additionally, i would like to ask if i can use the function below with a hook provided by a KLEO theme. This function is from using a plugin that allows to add address fields to buddypress groups.

    COPY CODE
    function gmw_get_group_location() {
    	global $groups_template, $wpdb;
    
    	$group_address = $wpdb->get_col( $wpdb->prepare( "
    		SELECT formatted_address FROM {$wpdb->prefix}gmw_groups_locator
    		WHERE id = %d", $groups_template->group->ID 
    	) );
    	
    	return $group_address[0];
    }
    
    function gmw_add_group_locaiton_to_the_loop() {
        echo gmw_get_group_location();
    }
    add_function( 'bp_directory_groups_item', 'gmw_add_group_locaiton_to_the_loop' );

    The function above allows to show the groups’ address in Buddypress loop.

    Would adding a below to the groups-loop.php in buddypress folder work or does KLEO theme have its own way of hooking ?
    echo gmw_get_group_location();

    Thank you in advance for the help.

Viewing 3 posts - 1 through 3 (of 3 total)

Log in with your credentials

Forgot your details?