Forums

Portfolio Slideshow
Add simple borders to "no navigation" slideshow (9 posts)

  1. edcroteau
    Member
    Posted 1 year ago #

    How can I add a simple 3 px white border to the images ?

    I'm using the autoplay - no navigation feature.

    Just wrapping the show in a div with the style="border ..." creates a box that is too wide.

    Thanks,

    Ed

  2. Dalton Rooney
    Member
    Posted 1 year ago #

    Hard to say exactly without seeing it, but I think you want to add the border directly to the images and not to the div you've wrapped around it. Like this

    .slideshow-content img {border:3px solid white}

  3. edcroteau
    Member
    Posted 1 year ago #

    Excellent !

    That's exactly what I needed. Added this to the .css and voilĂ !

    Thanks so much,

    Ed

  4. edcroteau
    Member
    Posted 1 year ago #

    This is no longer working ... Am I supposed to put the code in the portfolio-slideshow/portfolio-slideshow.css file ? If Yes, is it supposed to say INACTIVE (it does) ?

    Thanks,

    Ed

  5. Dalton Rooney
    Member
    Posted 1 year ago #

    Hi Ed,
    Did you update the plugin? If you add the CSS to the plugin & then later upgrade it, the changes will be overwritten. I would add it to your theme CSS if you have the ability to do so (keeping in mind the same issue with upgrades applies there as well).

    Dalton

  6. edcroteau
    Member
    Posted 1 year ago #

    I did update it. I'm sure that's what happened.

    So, I added your custom CSS (thanks!) in my theme's custom code section and it appears to work.

    2 questions :

    1. When editing the CSS in the "plugin editor" section it still shows that file to be INACTIVE, is this right ?
    2. I really would like to center the slideshow in the post. I had it working at one point but now I can't get it to center. Tried <div align="center> type options, used margin-left:auto, etc. that I found online but no luck. Do you have a quick suggestion to center the slideshow within a WP page ?

    Thanks so much,

    Ed

  7. Dalton Rooney
    Member
    Posted 1 year ago #

    There's currently no proper way to center the slideshow. Believe it or not, it's much harder than it seems, there's no simple CSS way to do it. I'm looking into a way to do it with JavaScript and CSS.

    Ignore the "inactive" thing, I have no idea what it means but it's not related to whether or not the file is loaded. I think its misleading, honestly.

  8. edcroteau
    Member
    Posted 1 year ago #

    Dalton,

    Thanks so much for your continued replies!

    Well, that's interesting - I tried hard to get centering to work (had it working somehow at some point - can't get it back now though). In a way I'm glad to hear it's not easy - I don't feel so bad.

    Ok, well, if you figure something out and remember this thread, please let me know. And thanks for the "inactive" assurance. I agree, misleading. No worries now that I know.

    I love the slideshow - easy to use and simple - that's what I was looking for.

    Ed

  9. Dalton Rooney
    Member
    Posted 1 year ago #

    Hi Ed,
    I promised a follow-up. We figured out the best way to do centering and have added it to the premium version of the plugin. Here's a demo: http://madebyraygun.com/blog/2011/centering-slideshows

    Regards,
    Dalton

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic