Skip to content

Commit

Permalink
Merge pull request woocommerce#988 from lukechilds/patch-1
Browse files Browse the repository at this point in the history
Fixing CSS slides class for no/before js when using custom slides selector
  • Loading branch information
Tyler Smith committed Jun 26, 2014
2 parents fe54140 + e3e8507 commit ad11048
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions flexslider.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides > * {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

Expand All @@ -47,9 +47,7 @@ html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
* include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}
.slides > *:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
Expand Down

0 comments on commit ad11048

Please sign in to comment.