Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › WPLMS Custom Header
- This topic has 23 replies, 3 voices, and was last updated 2 years, 11 months ago by Anshuman Sahu.
-
AuthorPosts
-
April 10, 2021 at 11:07 pm #351772Kadous_263ParticipantIn 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?April 12, 2021 at 6:12 am #351870DianaParticipantYes, 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 sameApril 15, 2021 at 1:12 am #352498Kadous_263ParticipantSo I create a header template with elementor right? then how do i disable wplms header and enable the elementor header template to be the defaultApril 15, 2021 at 10:40 am #352614DianaParticipantSir, 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 onesApril 21, 2021 at 3:21 am #353654Kadous_263ParticipantOkay 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?April 21, 2021 at 8:01 am #353708DianaParticipantFirst 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 :
In the $link, you can pass the url which you want toadd_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'); }
April 21, 2021 at 3:46 pm #353784Kadous_263ParticipantNo 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 biggerApril 22, 2021 at 10:40 am #353928DianaParticipantThis will be the custom css to move it a bit down
Change the px value according to your requirement http://prntscr.com/11v7mwknav.menu-main-container { margin-top:10px !important; }
April 22, 2021 at 2:37 pm #354000Kadous_263ParticipantThe middle menu part got fixed but the ones on the right are still not aligned (https://prnt.sc/11vkqut)April 23, 2021 at 11:43 pm #354228Kadous_263ParticipantWere you guys able to check this?April 23, 2021 at 11:45 pm #354229Kadous_263ParticipantAlso, 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."April 24, 2021 at 12:17 pm #354354DianaParticipantFor right side items header.sleek .topmenu>li>a{margin-top:40px !important} Refer: http://prntscr.com/11z11e9April 24, 2021 at 1:17 pm #354367Kadous_263ParticipantThank 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)April 26, 2021 at 12:09 pm #354559DianaParticipantNeed FTP details and do mention the folder path of your customizer plugin in a private reply here to check the codeApril 28, 2021 at 12:35 pm #354952Kadous_263ParticipantThis reply has been marked as private. -
AuthorPosts
- The topic ‘WPLMS Custom Header’ is closed to new replies.