Alexandre
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twelve] vertical space between posts in front pageI got. I played with the following part of the style.css file
.site-content article {
border-bottom: 4px double #ededed;
margin-bottom: 36px!important;
margin-bottom: 5.142857143rem;
padding-bottom: 0px!important;
padding-bottom: 1.714285714rem;
word-wrap: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
I changed the margin-bottom and padding-bottom values. The respective default values are 72px and 24px. I am not sure why I need the “!important”. Anyway, it is done and that is what matters. Final comment: that also affects the positioning of the double line at the end of each post page.Hi Rui,
We posted our solutions with less than 10 seconds difference. They are quite similar (if not identical). I want it to change the color for the entire site, so I not use the “.page-id-53 #page” part. Thank you very much for your help.I got it. I used the code below in plugin CSS box.
===========
@media only screen and (max-width : 599px){
body {
background-color: #ffffff !important;
}
}
==========
599 is equal to 600 – 1, where 600 is the trigger width I set to display the mobile menu.