• Hello,
    I habe a problem with the slider.
    At the moment the slider shows the title and text, but I want only the title. Where can I adjust this?
    Hope you can help me.

    thank you
    regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    For the slider to display only title and no content you will have to create a child theme for the theme and then you will have to modify the slider code on the child theme.
    Since theme is fairly compatible with child theme you can easily override the slider function with you own modified function.

    You will have to mainly modify the education_hub_render_featured_slider on inc/hook/slider.php
    where you will have to find and remove nothing other than the below given line of code

    <?php echo esc_attr( $slide['excerpt'] ); ?>

    I hope this helps.
    If you want more dedicated and swift support on the theme, please visit the theme’s official support forum where the theme’s official support team are stand by to answer each and every one of your questions.
    https://themepalace.com/forum/education-hub/

    Best regards.
    Have a good week ahead.

    Thread Starter mhxhxhx

    (@mhxhxhx)

    Hello,
    thank you, that helps me alot.
    One last question, how can I move the slider box to the bottom left?

    thank you for your help

    Hello,

    Please add the following custom css to
    Dashboard -> Appearance -> Customize -> Theme Options -> Advanced Options

    #main-slider .cycle-caption {
         left: 58.5%;
         top: 61%;
    }

    Adjust the values accordingly.

    Hope this helps.
    If you want more dedicated and swift support on the theme, please visit the theme’s official support forum where the theme’s official support team are stand by to answer each and every one of your questions.
    https://themepalace.com/forum/education-hub/

    Best regards.
    Have a good week ahead.

    Thread Starter mhxhxhx

    (@mhxhxhx)

    Hello,
    if I change the inc/hook/slider.php how can I add the slider.php into the child-theme?
    I tried this way education-hub-child/inc/hook but it didnt work.

    thank you
    regards

    Hello,

    If you are talking about the above custom css, you can just put it on the style.css of the child theme, You will not be needed to put it on slider.php

    But if you want to change the functions of slider.php you will have to see if the function is changeable on the child theme or not by checking, if your required function is wrapped around

    if (function_exists('your_required_function')):

    If it is, then you will just have to copy the function to the child theme’s function.php and modify it there.

    Hope it helps.
    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Slider problem’ is closed to new replies.