WP style.css фон новости

12
S4
На сайте с 28.01.2013
Offline
3
1036

ребят, помогите изменить цвет фона новости, не могу найти где прописать это

Например вот новость http://sait.bamboocha.16mb.com/?p=7

нужно сделать её не на темно сером фоне, а на белом например где прописать это?

вот css

/**


* Content
************************************************/

.hfeed {
margin: 0 auto;
box-sizing: border-box;
color: #000;
-ms-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-webkit-box-sizing: border-box;
max-width: 960px;
padding: 40px 0;
position: relative;
}

.singular .hfeed {
padding-left: 20px;
padding-right: 20px;
}
.page-template-home .hfeed {
padding-left: 0;
padding-right: 0;
}

.hentry {
background: url(images/opacity-85.png);
border-radius: 5px;
-khtml-border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box;
-webkit-box-sizing: border-box;
float: left;
margin: 20px 0;
padding: 18px 40px;
width: 100%;
}

.entry-title {
font-size: 22px;
line-height: 30px;
padding: 11px 0;
}

.byline {
color: #999;
font-size: 10px;
line-height: 14px;
padding: 0 0 16px;
text-transform: uppercase;
}
.byline a {
color: #fff;
}
.byline span.author {
background: url(images/icon-person.png) 0 9px no-repeat;
display: inline-block;
margin-right: 15px;
padding-top: 9px;
padding-left: 23px;
}
.byline abbr {
background: url(images/icon-calendar.png) 0 10px no-repeat;
display: inline-block;
margin-right: 15px;
padding-top: 9px;
padding-left: 21px;
}

.entry-content {
clear: both;
font-size: 14px;
line-height: 22px;
}

/* Entry content captions */

.gallery-caption,
.wp-caption-text {
border: 0;
display: block;
font-size: 12px;
line-height: 18px;
margin: 0;
padding: 10px 20px 0;
}

.gallery {
clear: both;
float: left;
width: 100%;
}
.gallery-row:after{
clear: both;
content: ".";
display: block;
font-size: 0;
height: 0;
line-height: 0;
visibility: hidden;
}

.gallery-item, .gallery-icon, .gallery-caption {
background: transparent;
border: 0;
margin: 0;
padding: 0;
}
.gallery-item {
display: block;
float: left;
margin: 16px 0;
position: relative;
width: 33%;
}

.gallery-icon {
text-align: center;
}
.gallery-icon img {
display: block;
height: auto !important;
margin: 0 auto;
max-width: 100% !important;
width: auto !important;
}
.gallery-caption {
padding: 10px 20px 0;
}

.gallery .col-0,
.gallery .col-1 {width: 100%;}
.gallery .col-2 {width: 50%;}
.gallery .col-3 {width: 33%;}
.gallery .col-4 {width: 25%;}
.gallery .col-5 {width: 20%;}
.gallery .col-6 {width: 16%;}
.gallery .col-7 {width: 14%;}
.gallery .col-8 {width: 12.5%;}
.gallery .col-9 {width: 11%;}

.gallery .col-6 .gallery-caption,
.gallery .col-7 .gallery-caption,
.gallery .col-8 .gallery-caption,
.gallery .col-9 .gallery-caption {display: none;}

.entry-content .page-links {
clear: both;
margin: 5px 0 16px;
padding: 0;
}
.entry-content .page-links a {
background: #000;
border: 1px solid #111;
border-radius: 16px;
-moz-border-radius: 16px;
-khtml-border-radius: 16px;
-webkit-border-radius: 16px;
display: inline-block;
margin: 11px 5px 0 5px;
padding: 4px 10px;
}
.entry-content .page-links a:hover {
background: #111;
}

.entry-meta {
clear: both;
font-size: 14px;
line-height: 22px;
padding: 16px 0;
}

.hentry span.edit {
display: block;
padding: 11px 0;
}

/* Archive content */

ul.loop-entries {
float: left;
margin: 0;
padding: 0;
width: 100%;
}
ul.loop-entries li {
margin: 20px;
padding: 0 20px;
width: 280px;
}
.entry-preview {}
.entry-preview .thumbnail {
background: #fff;
cursor: pointer;
float: right;
margin: 20px 0 20px 20px;
padding: 5px;
}
.entry-preview .entry-title {
color: #fff;
cursor: pointer;
font-size: 18px;
line-height: 30px;
padding: 11px 0 8px;
}
.entry-preview .entry-summary {
font-size: 12px;
line-height: 21px;
}
.entry-preview .entry-summary p {
padding: 8px 0 14px;
}
ul.loop-entries li.large .entry-preview {
display: none;
}

ul.loop-entries li.large {
padding: 18px 40px;
width: 600px;
}
.entry-full {
display: none;
}
ul.loop-entries li.large .entry-full {
display: block;
}
.entry-full .comments-link {
background: url(images/icon-comment-bubble-large.png) no-repeat;
display: block;
float: right;
font-size: 17px;
font-weight: bold;
height: 45px;
line-height: 30px;
margin-left: 40px;
padding: 3px 0 0;
text-align: center;
text-shadow: 0 1px 0 #87c100;
-moz-text-shadow: 0 1px 0 #87c100;
-o-text-shadow: 0 1px 0 #87c100;
-webkit-text-shadow: 0 1px 0 #87c100;
width: 66px;
}
.entry-full .entry-title,
.entry-full .byline {
margin-right: 106px;
}

#infscr-loading {
clear: both !important;
padding: 20px;
text-align: center;
}

/* Pagination */

.loop-nav {
box-sizing: border-box;
-ms-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-webkit-box-sizing: border-box;
float: left;
margin: 0 20px 20px;
width: 100%;
}
.singular .loop-nav {
margin: 0 0 20px;
}
.loop-nav a {
background: #fff;
border-radius: 5px;
-moz-border-radius: 5px;
-khtml-border-radius: 5px;
-webkit-border-radius: 5px;
color: #fff;
display: inline-block;
font: bold 13px/20px LatoWeb, Helvetica, Arial, sans-serif;
margin: 20px 10px 0 0;
padding: 8px 20px;
text-shadow: 0 1px 0 #87c100;
-moz-text-shadow: 0 1px 0 #87c100;
-o-text-shadow: 0 1px 0 #87c100;
-webkit-text-shadow: 0 1px 0 #87c100;
}

/**


---------- Добавлено 29.01.2013 в 20:55 ----------

помогите пожалуйста) никак не получается найти
S4
На сайте с 28.01.2013
Offline
3
#1

ребят, ну что никто не сталкивался с этим?

TaediumVitae
На сайте с 22.09.2011
Offline
41
#2

.hentry{background:#цвет;}

А тому, кто такой лесенкой оформляет css, я бы с удовольствием пожал... горло.

S4
На сайте с 28.01.2013
Offline
3
#3
TaediumVitae:
.hentry{background:#цвет;}
А тому, кто такой лесенкой оформляет css, я бы с удовольствием пожал... горло.

Огроменное спасибо дружище!! выручил!! перерыл все цвета никак не мог найти, уже разочаровался, 3 сутки пошли не спамши) тупо с кофе) спасибо огромнейшее!!!

---------- Добавлено 30.01.2013 в 09:08 ----------

опять столкнулся с проблемой вот сайт http://sait.bamboocha.16mb.com/

5 блоков которые выводят новости не имеют ссылки на саму новость и по высоте почему то разные, не могу найти где поставить одинаковую высоту и что бы была ссылка на полную новость типа: read more... помогите пожалуйста, мне кажется менять где то здесь либо в коде который в 1 посте выше

/* Entry content captions */




.gallery-caption,

.wp-caption-text {

border: 0;

display: block;

font-size: 12px;

line-height: 18px;

margin: 0;

padding: 10px 20px 0;

}



.gallery {

clear: both;

float: left;

width: 100%;

}

.gallery-row:after{

clear: both;

content: ".";

display: block;

font-size: 0;

height: 0;

line-height: 0;

visibility: hidden;

}



.gallery-item, .gallery-icon, .gallery-caption {

background: transparent;

border: 0;

margin: 0;

padding: 0;

}

.gallery-item {

display: block;

float: left;

margin: 16px 0;

position: relative;

width: 33%;

}



.gallery-icon {

text-align: center;

}

.gallery-icon img {

display: block;

height: auto !important;

margin: 0 auto;

max-width: 100% !important;

width: auto !important;

}

.gallery-caption {

padding: 10px 20px 0;

}



.gallery .col-0,

.gallery .col-1 {width: 100%;}

.gallery .col-2 {width: 50%;}

.gallery .col-3 {width: 33%;}

.gallery .col-4 {width: 25%;}

.gallery .col-5 {width: 20%;}

.gallery .col-6 {width: 16%;}

.gallery .col-7 {width: 14%;}

.gallery .col-8 {width: 12.5%;}

.gallery .col-9 {width: 11%;}



.gallery .col-6 .gallery-caption,

.gallery .col-7 .gallery-caption,

.gallery .col-8 .gallery-caption,

.gallery .col-9 .gallery-caption {display: none;}



.entry-content .page-links {

clear: both;

margin: 5px 0 16px;

padding: 0;

}

.entry-content .page-links a {

background: #000;

border: 1px solid #222;

border-radius: 16px;

-moz-border-radius: 16px;

-khtml-border-radius: 16px;

-webkit-border-radius: 16px;

display: inline-block;

margin: 11px 5px 0 5px;

padding: 4px 10px;

}

.entry-content .page-links a:hover {

background: #222;

}



.entry-meta {

clear: both;

font-size: 14px;

line-height: 22px;

padding: 16px 0;

}



.hentry span.edit {

display: block;

padding: 11px 0;

}


S4
На сайте с 28.01.2013
Offline
3
#4

на всякий случай заливаю полностью свой style.css

Скачать

Надеюсь на вашу помощь

TaediumVitae
На сайте с 22.09.2011
Offline
41
#5

.hentry {height:XXXpx;}

Ну а "читать далее" добавляется где-нибудь в index.php, например, добавлением в основной цикл строчки <a href="<?php the_permalink(); ?>">Читать далее</a>

S4
На сайте с 28.01.2013
Offline
3
#6

TaediumVitae я просто не знаю как вас благодарить! Вы волшебник! дай вам бог здоровья!!

Smiritel
На сайте с 25.12.2012
Offline
69
#7

Как мало-то для счастья надо :)

Дали мне заказ, чтоб отвез я глаз. А я все сижу, глаз не отвожу.
Cygnus
На сайте с 19.08.2012
Offline
45
#8

Ну чуваки, ну даете :-) если нужна будет помощь - пишите, я из Липецка.

iOS приложения Оптимизация затрат на их создание
S4
На сайте с 28.01.2013
Offline
3
#9

Cygnus О) земляки) добавь с скайп пожалуйста make.websait буду очень благодарен

S4
На сайте с 28.01.2013
Offline
3
#10

пфф, опять столкнулся с проблемой.. наверное надоел я вам уже))

в общем проблема заключается в том что при наведении на верхнее меню навигации должен выпадать список, а у меня на сайте, он почему то прячется куда-то меню выводиться в хедере так <div id="main_menu" role="navigation"><?php wp_nav_menu(); ?></div>

в style.css вот так

/* =Menu


-------------------------------------------------------------- */



#main_menu {

clear: both;

font-size: 16pt;

height: 20px;

padding: 14px 50px;

overflow: hidden;

background: #dad9e9;

border: 3px solid #000;

border-bottom: solid;

border-radius: 4px 4px 0 0;

-moz-border-radius: 4px 4px 0 0;

-webkit-border-radius: 4px 4px 0 0;

}



#main_menu ul {

clear: both;

margin: 0;

padding: 0px;

}



#main_menu ul li {

float: left;

list-style: none;

padding: 0 10px;

}



#main_menu a {

color: #FF8C00;

padding: 0 10px;

text-decoration: none;

}



#main_menu .sub-menu {

display: none;

position: absolute;

margin: 0;

padding: 10px !important;

border-radius: 0 0 4px 4px;

-moz-border-radius: 0 0 4px 4px;

-webkit-border-radius: 0 0 4px 4px;

z-index: 999999;

}



#main_menu ul li:hover .sub-menu {

display: block;

clear: both;

position: absolute;

background: #dad9e9;

}



#main_menu .sub-menu li {

clear: both;

}



#main_menu a:hover {

text-decoration: underline;

}
12

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий