• Resolved debabratsharma

    (@debabratsharma)


    I want to hide the featured image slider on the post page…How can i do that?
    I have made changes to the functions.php page but the slider is now showing only on homepage but in the post page the featured images are showing in big size ….How can i remove it??

Viewing 11 replies - 1 through 11 (of 11 total)
  • Theme Author Richie KS

    (@rkcorp)

    try add this to theme option->custom css

    body.single #featuredbox,body.page #featuredbox { display:none !important; }

    Thread Starter debabratsharma

    (@debabratsharma)

    this css indeed helped me…slider is now showing only in post page and not in the homepage…but i want the slider to be displayed only in homepage and not in post page…how can i do that???

    Theme Author Richie KS

    (@rkcorp)

    hmm..are you using frontpage as homepage in wp-admin->setting->reading?
    try remove body.page #featuredbox

    Thread Starter debabratsharma

    (@debabratsharma)

    yes..i ‘m using the static page option in theme options where i have a page as homepage and the blog page is used as post page…my problem is the slider which i need only in front page and not in post page….help me on this regard….i tried what you said but it didn’t worked..

    Theme Author Richie KS

    (@rkcorp)

    ok remove the previous added css i mention earlier in thread. and add this to functions.php or wp-content/meso-custom-functions.php

    <?php
    function meso_remove_slider_action() {
    remove_action('bp_before_blog_entry','mesocolumn_add_featured_slider');
    }
    add_action('init','meso_remove_slider_action');
    
    function meso_add_frontpage_featured_slider() {
    if( is_front_page() && get_theme_option('slider_on') == 'Enable') {
    get_template_part( 'lib/sliders/jd-gallery-slider' );
    }
    }
    add_action('bp_before_blog_entry','meso_add_frontpage_featured_slider');
    ?>
    Thread Starter debabratsharma

    (@debabratsharma)

    thank you it worked out…

    Hi
    my slider images are enlarging greater than slider size
    my slider size is 300
    actually my images are less than 300 in hight
    I how to reduce the slider image size as per slider size
    please help me…

    Theme Author Richie KS

    (@rkcorp)

    the slider height is adjustable in theme option->slider height

    slider hight is ok no problems

    but image size in the slider enlarging bigger than that of original size
    how can i solve this issue please help me…

    Theme Author Richie KS

    (@rkcorp)

    maybe try add this to theme option->custom css

    #custom .jdGallery .slideElement {
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
    }

    thanks……..
    Now its working…..

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