Archived topic
Image Slider below header, before posts?
9 replies · Started by Pete Baker on March 23, 2017
Hi,
Can anyone advise the best way to add a image slider below the header but before the post excerpts on my landing page?
site here - campervanandmotorhome.co.uk
Hi Pete,
Looks like you already did it?
Let me know if you still need help :)
Hi Leo,
Yes, I used 'Huge It Slider' plugin and added it using GPhooks. The only problem I have now is the mobile view, for some reason it spaces the slider leaving a big gap between the header. Any ideas?
Hi Pete,
GP hooks is definitely the way to go :)
I'm not sure if that slider is responsive...beside the gap you can also see that the arrows are off too.
Can you try using Smart Slider 3? I know this one should be good on mobile too. It also got super good review rating.
https://en-ca.wordpress.org/plugins/smart-slider-3/
Wow! Thanks Leo. Smart Slider 3 is a mile better than my previous slider. Great tip, thanks again
One further question. Is there a way for me to add this slider so it only appears the post excerpt pg? I don't want it to show on category and individual post pages if poss.
Yeah Smart Slider 3 is pretty good. Glad you like it!
Try this in GP hooks:
<?php if ( is_front_page() && is_home() ) { ?>
Smart Slider Shortcode here
<?php } ?>
Make sure execute PHP is checked.
Let me know.
You're a star Leo, that works a treat!
Glad I could help :)