You are here

contentslider.css in Featured Content Slider 7.2

.sliderwrapper{
position: relative; /*leave as is*/
overflow: hidden; /*leave as is*/
border: 10px solid navy;
border-bottom-width: 6px;
width: 400px; /*width of featured content slider*/
height: 250px;
}



.sliderwrapper .contentdiv{
visibility: hidden; /*leave as is*/
position: absolute; /*leave as is*/
left: 0;  /*leave as is*/
top: 0;  /*leave as is*/
padding: 5px;
background: white;
width: 390px; /*width of content DIVs within slider. Total width should equal slider's inner width (390+5+5=400) */
height: 100%;
filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
-moz-opacity: 1;
opacity: 1;
}

.pagination{
width: 400px; /*Width of pagination DIV. Total width should equal slider's outer width (400+10+10=420)*/
text-align: right;
background-color: navy;
padding: 5px 10px;
}

.pagination a{
padding: 0 5px;
text-decoration: none; 
color: #00007D;
background: white;
}

.pagination a:hover, .pagination a.selected{
color: #000;
background-color: #FEE496;
}

File

css/contentslider.css
View source
  1. .sliderwrapper{
  2. position: relative; /*leave as is*/
  3. overflow: hidden; /*leave as is*/
  4. border: 10px solid navy;
  5. border-bottom-width: 6px;
  6. width: 400px; /*width of featured content slider*/
  7. height: 250px;
  8. }
  9. .sliderwrapper .contentdiv{
  10. visibility: hidden; /*leave as is*/
  11. position: absolute; /*leave as is*/
  12. left: 0; /*leave as is*/
  13. top: 0; /*leave as is*/
  14. padding: 5px;
  15. background: white;
  16. width: 390px; /*width of content DIVs within slider. Total width should equal slider's inner width (390+5+5=400) */
  17. height: 100%;
  18. filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
  19. -moz-opacity: 1;
  20. opacity: 1;
  21. }
  22. .pagination{
  23. width: 400px; /*Width of pagination DIV. Total width should equal slider's outer width (400+10+10=420)*/
  24. text-align: right;
  25. background-color: navy;
  26. padding: 5px 10px;
  27. }
  28. .pagination a{
  29. padding: 0 5px;
  30. text-decoration: none;
  31. color: #00007D;
  32. background: white;
  33. }
  34. .pagination a:hover, .pagination a.selected{
  35. color: #000;
  36. background-color: #FEE496;
  37. }