Black Friday Sale! Get up to $30 off GP Premium! Learn more ➝

Reply To: php & shortcode help

Home Forums Support php & shortcode help Reply To: php & shortcode help

Home Forums Support php & shortcode help Reply To: php & shortcode help

#106377
Tom
Lead Developer
Lead Developer

That is strange – not sure what would cause that.

You can wrap the slider in a div which you can add spacing to:

<?php if ( is_front_page() ) : ?>
      <div class="slider-spacing">
            [advps-slideshow optset="1"]
      </div>
<?php endif; ?>

Then add this CSS:

.slider-spacing {
      margin-bottom: 20px; /* or whatever */
}