WordPress.org

Ready to get started?Download WordPress

Forums

Promotion Slider
White Space? (5 posts)

  1. isign4jc
    Member
    Posted 1 year ago #

    This slider is adding a sliver of white space above my slides. Any ideas why?

    http://wordpress.org/plugins/promotion-slider/

  2. Markd23
    Member
    Posted 10 months ago #

    Mine is doing the same thing but it is under the slider. Did you ever resolve the issue?

  3. Micah Wood
    Member
    Plugin Author

    Posted 10 months ago #

    @isign4jc & @markd23,

    Most likely, your theme's css is adding margin or border around images across the board. You could easily fix this by adding a more specific rule that only applies to images in the slider, but I couldn't tell you what rule(s) would be necessary without actually looking at the site.

  4. fritserasmus
    Member
    Posted 8 months ago #

    Micah, I have white spaces above and below the slider images as well as some very light horisontal grey bars, 2 above and three below the image.

    I am using the "Hueman" theme

    I scaled the images to 50% width like so:
    [promoslider width="50%"], which is exactly how I want it.
    How do I centre the image display? I could not find a centre, or left start shortcode.
    Since this site is still in dev phase I can provide you login details if you need, or just send you CSS or whatever you need.

    Your help to resolve it would be really appreciated.

    Frits

  5. CSEngineer13
    Member
    Posted 7 months ago #

    Go to wp-content -> plugins -> promotion-slider -> index.php

    Change:

    <div class="panel panel-<?php echo $i; ?>">

    To:

    <div class="panel panel-<?php echo $i; ?>" style="margin:0; padding:0;">

    That did the trick for me. If it doesn't for you, the border you're seeing was likely applied to a different element.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.