• Resolved PlatinumBay

    (@platinumbay)


    I hardcoded my slider banner into my homepage theme… and I need to add a border to it.

    My current hardcoding is:
    <?php echo do_shortcode(‘<center>[promoslider width=”960px” margin = “0” height=”400px”]</center>’) ?>

    I tried adding a border with this:
    <?php echo do_shortcode(‘<center>[promoslider width=”960px” margin = “0” height=”400px” style=”border-width: 2px; border-color: black; border-style: solid”]</center>’) ?>

    And it didn’t work… can anyone help me with this simple request? I’d appreciate it!!

    Thank you,
    Sara

    https://www.ads-software.com/extend/plugins/promotion-slider/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Micah Wood

    (@woodent)

    @platinumbay,

    This should work:

    <div style="width:960px; margin: 0 auto; border: 2px solid black;">
        <?php echo do_shortcode('[promoslider width="960px" height="400px"]') ?>
    </div>
    Thread Starter PlatinumBay

    (@platinumbay)

    Hi Micah,
    Thanks for your fast reply! It did add the border, however, now there is a space gap between the top and bottom portion of the images to the slider border. Any ideas on how to fix this?

    Thank you!

    Plugin Author Micah Wood

    (@woodent)

    Ah, yes. I forgot about that bit. Just add this to the end of your active theme’s style.css file:

    div.promo_slider_wrapper { margin: 0; }

    Thread Starter PlatinumBay

    (@platinumbay)

    Perfect!! That worked! Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add border to slider’ is closed to new replies.