This topic has 20 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #195855
     emmanuel
    Participant

    hi they have four footers at the bottom of the pages can another footer be added which will make it five see the attachment, i think the texts size will have to be a little more smaller for it to happen

    Attachments:
    You must be logged in to view attached files.
    #195927
     Radu
    Moderator

    Hi,

    Go via FTP to wp-content/themes/sweetdate-child/ and create a file named footer.php

    in that you will paste : https://pastebin.com/raw/Yzz9aWKC

    Then paste this code in child theme functions.php

    COPY CODE
    
    function register_sidebar_col5()
    {
        register_sidebar(array(
            'name' => 'Footer Widget 5',
            'id' => 'footer-5',
            'before_widget' => '<div id="%1$s" class="widgets clearfix %2$s">',
            'after_widget' => '</div>',
            'before_title' => '<h5>',
            'after_title' => '</h5>',
        ));
    
    }
    
    add_action('widgets_init', 'register_sidebar_col5');
    

    Let me know

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #195932
     emmanuel
    Participant

    hi thanks but the footer widget 5 is appearing at the bottom of the rest of the footer widgets could it be in the same line with the other footer widgets see attachment to see what i am speaking about.

    Attachments:
    You must be logged in to view attached files.
    #195972
     Kieran_SQ
    Moderator

    Hi,

    Please try adding the below custom CSS to change the footer row width from 25% (4) to 20% (5).

    COPY CODE
    #footer .three, .row .three {
        width: 20%;
    }

    Make sure to clear your cache(s) to see changes.

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    Attachments:
    You must be logged in to view attached files.
    #196008
     emmanuel
    Participant

    hi thanks what is the file path to a page via cpanel for example i would like to know the file path to this page that i created see attachment

    Attachments:
    You must be logged in to view attached files.
    #196052
     Radu
    Moderator

    Are you referring to that menu item “Message” ? this it’s added from wp-admin -> appearance -> menus

    It’s rendered trough this file : wp-content/themes/sweetdate/page-parts/general-header.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
    #196204
     emmanuel
    Participant

    thanks on the profile page could half of the fields go to the right side like this see attachment

    Attachments:
    You must be logged in to view attached files.
    #196272
     Radu
    Moderator

    Hi,

    Not sure if those can be like that without code alteration

    There it’s a single UL generated there and it’s only one column if you want to you will need to make a php condition if there are more than 10 fields from example to generate another UL

    here’s the file : wp-content/themes/sweetdate/custom_buddypress/class-bp-tabs.php

    You can overwrite that by copying this function (it’s marked in screenshot in large rectangle)

    COPY CODE
    
    if (!class_exists('BpMembersTab')):
    class BpMembersTab
    {
        /* tabs instance */
        public $tabs_instance;
        public $args;
        
        public function __construct($args) 
        {
            $this->tabs_instance = BpMembersTabs::get_instance();
            
            $this->args = $args;
        }
        
        public function title()
        {
            $active = '';
            if($this->tabs_instance->active_tab === FALSE || $this->tabs_instance->active_tab == $this->args["name"] ) 
            { 
                $active = 'active';  
                $this->tabs_instance->active_tab = esc_attr(str_replace("%", "",sanitize_title_with_dashes($this->args["name"])));
            }
            
            return '<dd class="'.$active.'"><a href="#'.esc_attr(str_replace("%", "",sanitize_title_with_dashes($this->args["name"]))).'">'.$this->args["name"].'</a></dd>';
        }
        
        public function has_profile_data($name)
        {
            $this->tabs_instance->has_data[$name] = false;
            $this->tabs_instance->fields_data[$name] = '';
            
            if ( bp_is_active( 'xprofile' ) && get_group_id_by_name($name) ) :
                if ( bp_has_profile( 'profile_group_id='.get_group_id_by_name($name ) ) ) : 
                    
                    while ( bp_profile_groups() ) : bp_the_profile_group();
                        if ( bp_profile_group_has_fields() ) :
                            
                            $this->tabs_instance->fields_data[$name] .= '<dl class="dl-horizontal">';
                            while ( bp_profile_fields() ) : bp_the_profile_field();
                                if ( bp_field_has_data() ) :
                                    $this->tabs_instance->has_data[$name] = true;
                                    $this->tabs_instance->fields_data[$name] .= '<dt class="bp-field-name bp-field-id-' . __(bp_get_the_profile_field_id(), 'kleo_framework') . '">'. __(bp_get_the_profile_field_name(), 'kleo_framework') .'</dt>';
                                    $this->tabs_instance->fields_data[$name] .= '<dd class="bp-field-value bp-field-id-' . __(bp_get_the_profile_field_id(), 'kleo_framework') . '">'. __(bp_get_the_profile_field_value(), 'kleo_framework') .'</dd>';
                                endif;
                            endwhile; 
                            $this->tabs_instance->fields_data[$name] .= '</dl>';
                            
                        endif;
                    endwhile;  
                    
                endif; 
            endif;
            
            if ($this->tabs_instance->has_data[$name] == true) 
                return true;
        }
    }
    endif;
    

    Into functions.php from child theme and to make your desired changes for that.

    I don’t have a pre-maded solution for that.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #196448
     emmanuel
    Participant

    ok could you do it please how would be the charge for that to be done

    #196542
     emmanuel
    Participant

    hi i am just checking to see if you got my last reply

    #196600
     Radu
    Moderator

    Hi,

    There is no specific guide to achieve exactly what you need i’ve just tell you where are the code and how it could be overwritten safely.

    There it’s a little advanced and cannot be done by the support it’s a custom code change.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #196610
     emmanuel
    Participant

    Ok I understand but I am ask you if I can hire your service to do the custom changes for me and how much would I have to pay for you to do that

    #196696
     Radu
    Moderator
    This reply has been set as private.
    #197071
     emmanuel
    Participant
    This reply has been set as private.
    #197106
     Radu
    Moderator

    Hi,

    there it’s a conflict with the theme js, as a workaround use an accordion from elementor plugin

    So practically it’s generate a similar thing an accordion that expand at click showing the information.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #197110
     emmanuel
    Participant

    hi same issue is occurring when using the accordion widget in elementor it is not opening to see the text see attachment

    https://www.eumello.com/faq/

    Attachments:
    You must be logged in to view attached files.
    #197205
     Radu
    Moderator

    Just de-activate that plugin that you had installed ultimate faq

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #197285
     emmanuel
    Participant

    hi i have de-activate the ultimate faq plugin and it is still not dropping down when clicked to see the text see attachment
    https://www.eumello.com/faq/

    Attachments:
    You must be logged in to view attached files.
    #197338
     Radu
    Moderator

    Hi,

    This might be the reason

    There are some js errors on the page, set all plugins off except elementor see if it works.

    Cheers

    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #197385
     emmanuel
    Participant

    thanks i got it to work

    #197421
     Radu
    Moderator

    Good
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 21 posts - 1 through 21 (of 21 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?