Support » Theme: Clovemix » Remove Slide from other pages

  • independentformula

    (@independentformula)


    Please, I will like to have the slider/slide show only on the homepage and not any other pages apart from home, is it possible because every page a create I will see the slides. please help. Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hey there independentformula,

    Hope you’re well today 🙂

    This should be possible with some custom CSS and use of .home selector. Can you please post link to your site so I can take a look and try to help?

    Cheers,
    Bojan

    independentformula

    (@independentformula)

    Thanks boss, have figured it out

    Glad you did 🙂 Have a nice day!

    Cheers,
    Bojan

    Hi independentformula,
    Could you kindly help me on how ” you made a slider/slideshow show only on the homepage and not any other pages”

    Anyone else’s help is much welcome!

    Thanks

    Hey alan indipenda,

    As I mentioned above you can do this with CSS. You can target CSS for specific page so considering that you know the correct selector for the slider you can do something like this:

    .sliderclass {
    display: none;
    }
    
    .home .sliderclass {
    display: block;
    }

    Something like this would hide the slider everywhere and then override the same rule on home page and display it there. The above code will not work as this is just a dummy selector, if you want me to help you with this please post link to your site where I can see the slider.

    Cheers,
    Bojan

    Hi Bojan,
    Thanks for the help. The website is http://grajoh.com/easterfusion

    Hey again alan indipenda,

    Thanks for the link. Please try adding the following CSS code in the style.css file of your child theme or if your theme doesn’t have custom CSS tab add it in your site using the following plugin:

    http://wordpress.org/plugins/simple-custom-css

    .slider-wrapper.theme-default {
        display: none;
    }
    
    .home .slider-wrapper.theme-default {
        display: block;
    }

    The code should work as described above 🙂

    Cheers,
    Bojan

    Thanks Bojan,
    It worked perfectly well.
    Cheers,
    allan indipenda

    Glad I could help 🙂

    Cheers,
    Bojan

    Greetings members,
    This theme by default only accepts 3 pictures in the slider. I was able to go to customizer.php and made a few changes and from admin end, am able to add more pictures but unfortunately they are not able to show from front end.

    Is there any other way of adding more pictures. or since am able to add more from admin end, how can they show from front end?

    Kindly help.

    Thanks

    allan indipenda

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Remove Slide from other pages’ is closed to new replies.