WordPress.org

Ready to get started?Download WordPress

Forums

WP Parallax Content Slider
[resolved] Add borders/frames to pictures? (4 posts)

  1. Andreas43
    Member
    Posted 1 year ago #

    Hey there!

    I have recently got this slider working and I like it a lot. But I have one question, would it be possible to add borders that will fit every picture in the slide? If so, how?

    As you can see in my site below I have tried to add borders with this code, but it doesn't adjust it self to the pictures...

    .da-slide .da-img{
    	text-align: center;
    	width: 30%; /* Change this if you want to change slide image width */
    	top: 70px;
    	height: 256px;
    	line-height: 320px;
    	left: 110%; /*60%*/
    	border: 3px solid #fff <------- I ADDED THIS LINE

    My site: http://www.lostinasia.se (I'm still working on it..)

    Regards,
    Andreas

    http://wordpress.org/extend/plugins/wp-parallax-content-slider/

  2. alex80ks
    Member
    Posted 1 year ago #

    Use firebug....

    fieldset, img {
        border: 2px solid #000000;
    }
  3. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for your answers alex80ks,
    indeed, this code should do the job :)

  4. Andreas43
    Member
    Posted 1 year ago #

    Thank you alex80ks! It worked, but where should I put it so it only affect the picture in the slider and not every picture on my site?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic