WPLMS Custom Header

Home Forums Legacy Support Support queries How-to & Troubleshooting WPLMS Custom Header

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #351772
    Kadous_263
    Participant
    In WPLMS, can I make a custom header? if that's possible, can I add the shortcode of Vibe BP profile menu for instructors and students in the custom header?
    #351870
    Diana
    Participant
    Yes, you can create custom header via Elementor, but Elementors do not support wordpress default feature such as "Submenus". So you cannot create submenus And on any menu, if you will add vibebp_login class then that menu item will open a Vibebp login popup, and the rest of the process will be same
    #352498
    Kadous_263
    Participant
    So I create a header template with elementor right? then how do i disable wplms header and enable the elementor header template to be the default
    #352614
    Diana
    Participant
    Sir, As I mentioned, you will not be able to create submenus, and because Elementor Pro has some conflicts with Buddypress so the Elementor Header won't work in Members ARea(the only option you are left with to disable the header there) And if you created the Elementor Pro, this is already enabled their own header style by overwriting the wordpress default ones
    #353654
    Kadous_263
    Participant
    Okay I have 2 things in mind. First, as you can see in the header (https://prnt.sc/11s8m7y), i want to drag the part in red, down a bit so it can be aligned with the logo text. How do I do that/ Second, I want to add a custom link to the logo so it can direct to somewhere else. Because I have a multisite, my main home page is on another instance, so I want to add that link to WPLMS Header logo. How do I do that?
    #353708
    Diana
    Participant
    First Question The menu items are more there, remove some of the items and it will be aligned with the logo Second Question Please try adding the given code in your wplms-customizer.php file at the end before ” ?> ” in wplms customizer plugin :
    
    add_filter('wplms_login_widget_action','login_widget_fix');
    
    function login_widget_fix(){
    
      if (is_multisite()) {
    
            //return network_site_url($url);
    
            $link = home_url($url);
    
        } else {
    
            $link = site_url($url);
    
        }
    
        return apply_filters('wplms_site_link',$link.'/wp-login.php');
    
    }
    
    In the $link, you can pass the url which you want to
    #353784
    Kadous_263
    Participant
    No I don't want to remove some parts of the menu. you gave me a css fix before to move the part in red a bit to the right. Now I just want to push it down a little bit without making the header space bigger
    #353928
    Diana
    Participant
    This will be the custom css to move it a bit down
    
    nav.menu-main-container {
        margin-top:10px !important;
    }
    
    Change the px value according to your requirement http://prntscr.com/11v7mwk
    #354000
    Kadous_263
    Participant
    The middle menu part got fixed but the ones on the right are still not aligned (https://prnt.sc/11vkqut)
    #354228
    Kadous_263
    Participant
    Were you guys able to check this?
    #354229
    Kadous_263
    Participant
    Also, I tried putting the above code (https://prnt.sc/11xnfcf) to add a custom link to the logo but I started getting these errors after putting the code: "There has been a critical error on this website. Please check your site admin email inbox for instructions. Learn more about debugging in WordPress."
    #354354
    Diana
    Participant
    For right side items header.sleek .topmenu>li>a{margin-top:40px !important} Refer: http://prntscr.com/11z11e9
    #354367
    Kadous_263
    Participant
    Thank you for the header code. Also, where you able to check the other issue with the error code I got after inputting this ?(https://prnt.sc/11xnfcf)
    #354559
    Diana
    Participant
    Need FTP details and do mention the folder path of your customizer plugin in a private reply here to check the code
    #354952
    Kadous_263
    Participant
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 24 total)
  • The topic ‘WPLMS Custom Header’ is closed to new replies.