greenermountain is a small web design company located in Northern Vermont, that specializes in creating WordPress sites for local organizations and small companies. I can take your message to the web in a very affordable and friendly environment.

Creating a WordPress Slider – Part 3

29. Oct, 2009

cleaning it up

We left you last time with a functional but ugly slider. This post is about making it look nice, at least what I think looks nice. You will have to style it to your sites taste with custom CSS.

I added the following CSS to position the arrows to the side of the slider and give the content a better presentation.

.scroll-button {
 position: absolute;
 top: 180px;
 cursor:pointer;
 z-index: 100;
}

.leftb {
 left: 0px;

}

.rightb {
 right: 0px;
}

#utility-before-content, #utility-after-content, #utility-after-page, #utility-after-single {
 border: none;
}

#utility-before-content .thumbnail {
 height: 150px;
 width: 150px;
}

#utility-before-content .entry-meta {
 display: none;
}

That’s really all there is to finishing it up. You can watch me add the CSS below.

These are the sites that were instrumental in creating this slider and might be of interest to anyone who liked this series.

You can download the theme and working version below.

Download Hybrid Child Slider Theme

Categories: blog

11 Responses to “Creating a WordPress Slider – Part 3”

  1. Ron 02. Nov, 2009

    Great tutorial ~ thanks!
    I was up almost all night trying to figure out how to do this in a child theme I am building.
    You just made my day!

    Gotta love Hybrid!!!

    • rusti 02. Nov, 2009

      Excellent, that’s why I put it up.

  2. Bruno Brant 29. Nov, 2009

    Yes, Great Tutorial! Thanks for sharing your knowledge. Your videos (and codes) were very helpful.

    I’m beginning to enjoy this “screencast thing”… =D

    • rusti 29. Nov, 2009

      I really learn best by watching rather than reading, so I hope it helps others.

  3. Tammy 19. Feb, 2010

    Your tutorial saved me so much time and headache! I’m really grateful to you for taking the time to write this up and share it. You rock!

    • rusti 19. Feb, 2010

      No problem! I was hoping it would be useful for someone. When you get it working, drop a link.

    • Tammy 19. Feb, 2010

      It’s working now on my home page at http://lenski.com — a strange artifact showing on the right-hand side of the slider (looks to be part of a scrollbar but I can’t find what’s causing it … grrr!). Thanks!

  4. media 12. Mar, 2010

    I think I have done all tutorial … but why there’s no scrolling in the location? J Quary is not running :(

    • rusti 14. Mar, 2010

      “How long is a piece of string?”

      You must provide me with much more information if you wold like help. A link to the page would be a great start.

  5. Skip Savage 30. May, 2010

    Rather than slide posts, is it possible to slide images? If so, what needs to be changed?

    Thanks.

    • rusti 31. May, 2010

      There’s a million plugins for that, look at jCarousel for starters.


Leave a Reply