-
IT café
WordPress tartalom kezelő rendszer (CMS) topik
Új hozzászólás Aktív témák
-
adatfalo
senior tag
Szia!
A style.css file-ban keresd meg a 803. sort és ezt a részt:
.featured-image {
position: relative;
height: 0;
padding-bottom: 50%;
background-position: 50%;
-webkit-background-size: cover cover;
background-size: cover;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transition: -webkit-transform 0.3s ease;
transition: transform 0.3s ease;
}cseréld ki erre:
.featured-image {
position: relative;
height: 0;
padding-bottom: 30%;
background-position: 50%;
-webkit-background-size: cover cover;
background-size: initial;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transition: -webkit-transform 0.3s ease;
transition: transform 0.3s ease;
background-repeat: no-repeat;
}Ez egy poszton belül hozza helyre a featured image méretét.
A főoldalon elhelyezetthez pedig ezt kell módosítani: 987. sor (szintén a style.css-ben)
@media (min-width: 56.25em)
.excerpt .featured-image {
-webkit-transform: translateZ(0);
transform: translateZ(0);
width: 50%;
width: calc(50% + 2px);
height: 100%;
padding-bottom: 0;
position: absolute;
right: -1px;
}Csere erre:
@media (min-width: 56.25em)
.excerpt .featured-image {
-webkit-transform: translateZ(0);
transform: translateZ(0);
width: 50%;
width: calc(35% + 2px);
height: 100%;
padding-bottom: 0;
position: absolute;
right: -1px;
}[ Szerkesztve ]
www.adatfalodesign.hu
Új hozzászólás Aktív témák
Állásajánlatok
Cég: Ozeki Kft.
Város: Debrecen
Cég: Promenade Publishing House Kft.
Város: Budapest