Images Other Than First Appear Lower (or Smaller in Height) in Spite of Actually Being the Same Size

From IThemes Codex
Revision as of 15:35, July 16, 2013 by Elise (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Add the following at the end of your theme's style.css:

#rotating-images-rotator_1 img {
   margin-top: 0;
}

If you add additional rotating image groups you may need to change the 1 above to 2, 3, 4 and so on for each instance.

For an explanation, see http://ithemes.com/forum/index.php?/topic/3935-image-size-changes-despite-images-being-same-size/

Update: If the above CSS code doesn't work, use the following:

#ithemesrotatingimages-1 img {
   margin-top: 0;
}

Source: http://ithemes.com/forum/index.php?/topic/8989-rotating-images-position-bug/#p44454


← Back to Rotating Images Codex Home

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox