- This topic has 3 replies, 2 voices, and was last updated 8 years, 4 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Education Hub Pro › How to put the slider above menu
Tagged: slider and menu
Bought the pro version. Great theme!
Need some help, though:
1. How can I put the slider above the main menu and put the section with logo under the menu?
2. Is it possible to move the action button on the slider to a specified position ?
Thank you!
Hello @rd16
Thanks for the appreciation for the theme.
Query:
1. How can I put the slider above the main menu and put the section with logo under the menu?
Response:
For the solution you need to create and activate child theme.
Reference here for child theme. https://codex.wordpress.org/Child_Themes
After successfully creating child theme, now in your functions.php file in child theme you need to copy and paste following code as a whole.
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
function child_remove_parent_function() {
remove_action( 'education_hub_action_after_header', 'education_hub_add_primary_navigation', 20 );
remove_action( 'education_hub_action_before_content', 'education_hub_add_featured_slider', 5 );
}
add_action( 'wp_loaded', 'child_remove_parent_function' );
add_action( 'education_hub_action_before_header', 'education_hub_add_primary_navigation', 7 );
add_action( 'education_hub_action_before_header', 'education_hub_add_featured_slider', 6 );
Hope this will solve your issue.
If you have any confusion regarding this let me know.
Best Regards!!!
Thank you for the information! Good service. Will try that.
Best Regards!
Hello @rd16
Thanks for your appreciation for the service.
Let me know how it goes after you have tried the solution.
And for the Query no.2
Is it possible to move the action button on the slider to a specified position ?
As much as I would love to help you with this but just saying action button on the slider confused me.
Do you mean the caption section or the navigation??
Regards!!!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |