Space between articles
-
Hi,
I can’t get rid of the space between my articles. Specifically the gallery format. (thestilton.wordpress.com)
If I put this code in my css file it doesn’t change anything. With any px I want.
body:not(.single) .content-area .format-gallery.has-post-thumbnail, body:not(.single) .content-area .format-image.has-post-thumbnail {
padding-top: 90px;This is everything I put in my CSS
.site-header {
background: #fff;
}.header-image {
border: none;
}.submit {
display: none;
}.comments-area {
display: none;
}.site-footer {
display: none;
}.site-main {
border: none;
}.widget-area {
border: none;
}.entry-footer {
display: none;
}h1.site-title {
color: #333;
margin-top: -1%;
margin-bottom: -1%;
}h1.site-title {
max-width: 1000px;
font-size: ;
font-family: playfair display;
}.post-thumbnail {
background-position: 50% 50%;
}.search-navigation {
padding-top: 5px;
margin-bottom: -25px;
}.blog-info {
display: none;
}.featured-content .post-thumbnail {
background-size: cover;
margin: 0;
opacity: .9;
position: absolute;
top: 0;
}.secondary-navigation {
font-size: 16px;
line-height: 1.45;
padding: 0 15px 0 0;
text-align: center;
}.page .entry-title, .single .entry-title {
font-size: 39px;
line-height: 1.54;
margin: 0;
}.archive .hentry, .blog .hentry, .search .hentry {
margin-bottom: 20px;
padding-top: 30px;
}.footer-widget {
display: none;
}.archive .infinite-wrap .hentry:first-of-type, .blog .infinite-wrap .hentry:first-of-type, .search .infinite-wrap .hentry:first-of-type {
border-top: none;body:not(.single) .content-area .format-gallery.has-post-thumbnail, body:not(.single) .content-area .format-image.has-post-thumbnail {
padding-top: -90px;
}Many thanks!
The blog I need help with is: (visible only to logged in users)
-
- The topic ‘Space between articles’ is closed to new replies.