Viewing 2 replies - 1 through 2 (of 2 total)
  • You’ll need to copy the following code from the 2010 theme files into the new theme CSS file:

    twentyten/style.css:
    #content .gallery {
    	margin: 0 auto 18px;
    }
    #content .gallery .gallery-item {
    	margin-top: 0;
    	text-align: center;
    	width: 33%;
    }
    #content .gallery img {
    	border: 2px solid #cfcfcf;
    }
    #content .gallery .gallery-caption {
    	color: #888;
    	font-size: 12px;
    	margin: 0 0 12px;
    }
    #content .gallery dl {
    	margin: 0;
    }
    #content .gallery img {
    	border: 10px solid #f1f1f1;
    }
    #content .gallery br+br {
    	display: none;
    }
    
    /twentyten/rtl.css:
    #content .gallery .gallery-caption {
    	margin-right: 0;
    }
    
    #content .gallery .gallery-item {
    	float: right;
    }

    *Note that this might not work 100% if the new theme uses different xhtml class and id names.

    Thread Starter Dobida

    (@dobida)

    Thanks! but..
    It didn’t work.
    I’m not sure it something that in the theme’s css file.. because it happens on those who works with version 3, too.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Gallery changes after changing a theme’ is closed to new replies.