0 Пользователей и 1 Гость просматривают эту тему.
  • 7 Ответов
  • 3822 Просмотров
*

Xuga

  • Захожу иногда
  • 224
  • 122 / 0
  • Интернет-Маркетолог
Подскажите пожалуйста какая строка в CSS отвечает за стиль отображение текста в новостях?
вот таблица стилей
Код
#clr {
clear:both;
}
.bg_main {
background: url(../images/bg.gif);
padding : 0;
margin : 0px 0px 15px 0px;
text-align : center;
vertical-align : top;
}

#main_container {
padding : 0;
margin:0px auto;
text-align : center;
}

/* ******************************************* header */
#header {
width:760px;
height:55px;
margin:0px auto;
text-align:left;
padding:4px 0px 0px 0px;
border:0;
}

/* ******************************************* topnavi*/
#topnavi {
background: url(../images/bg_topnavi.gif) repeat-x;
width:100%;
height:41px;
margin:0px;
padding:2px;
text-align:center;
border:0;
}

#topnavi a.topnavi:link, a.topnavi:visited {
font-family: Verdana,Tahoma,Arial;
font-size: 10px;
font-weight: bold;
 letter-spacing : 1px;
color: #FFFFFF;
padding-left: 17px;
padding-right: 7px;
line-height:35px;
}

#topnavi a.topnavi:hover {
color: #FF6600;
border-bottom: none;
line-height:35px;
}

#topnavi a.topnavi:active {
color: #FF6600;
border-bottom: none;
line-height:35px;
}

/* ******************************************* pathway and SEARCH and xline*/
#xline_out {
margin : 8px 0;
padding : 0;
width : 736px !important;
height : 20px;
}


#xline {
float : left;
background : url(../images/xline.gif);
left : 0px;
margin : 0;
padding : 0;
width : 616px !important;
height : 20px;
}

#can_pathway {
margin : 0px auto;
padding : 0;
width : 760px !important;
height : 25px;
text-align : left;
text-indent : 8px;
color : #B3AFA1;
line-height : 20px;
}

#can_pathway img {
margin:14px 1px 1px 1px;
}

.pathway {
padding : 0px;
margin : 0px 0px 0px 0px;
border : 0;
line-height : 25px;
}

a.pathway:link, a.pathway:visited {
color : #B3AFA1;
font-size : 10px;
line-height : 22px;
}
a.pathway:hover {
color : #FFAE60;
}

#search {
float : right;
margin:0px;
padding : 0px;
left : 642px;
background-color: #E9DAB2;
width : 114px !important;
height : 20px !important;
text-indent : 8px;
text-align : center;
font-family : Arial, Verdana, Helvetica, sans-serif;
line-height : 19px;
}

.searchbox {
font : normal 10px Verdana, Arial, Helvetica, sans-serif;
color : #BF8349;
border : 0px;
background-color: #E9DAB2;
}

/* ******************************************* flashnews and flash */
#header2 {
padding : 0;
margin : 0;
width : 736px;
height : 154px;
text-align : left;
}

#flash {
float : left;
padding : 0;
margin : 0;
left : 0px;
border : 1px solid #C1AF7D;
width : 252px;
height : 154px;
text-align : center;
}

#newsflasharea {
float : right;
left : 262px;
margin : 0;
padding : 0;
width : 474px;
height : 154px;
text-align : left;
overflow : hidden;
}

#newsflash {
margin : 0;
padding : 0;
width : 470px;
height : 92px;
text-align : left;
overflow : auto;
}

#banner {
margin : 0;
padding : 0;
width : 100%;
height : 62px;
text-align : left;
}

#newsflash table.moduletable {
padding : 0px;
margin : 0px 0px 0px 0px;
border : 0;
}

#newsflash table.moduletable th {
background : transparent;
margin : 0;
padding : 0;
height:18px;
font : bold 10px Verdana, Arial, Helvetica, sans-serif;
color : #926546;
line-height : 15px;
text-align : left;
text-indent :0px;
}

#newsflash table.moduletable td {
font-family : Arial, Helvetica, sans-serif;
font-size : 11px;
color : #926546;
line-height : 16px;
text-align : left;
padding:0px;
}

#blocks {
width : 100%;
margin : 0px 0px 0px 0px;
text-align : left;
}
#blocks table.moduletable th {
background-color: transparent;
height:21px;
border-bottom:1px solid #C1AF7D;
font : bold 11px Arial, Verdana, sans-serif, Helvetica ;
color: #926546;
text-align: left;
text-indent: 4px;
padding: 0px;
margin: 0px;
line-height:19px;
}

#blocks table.moduletable td {
font-family : Arial, Verdana, Helvetica, sans-serif;
font-size : 11px;
color : #5C5649;
line-height : 16px;
text-align : left;
padding:0p 2px 4px 2px;
}

#blocks .moduletable a:link, #blocks .moduletable a:visited {
font-family : Arial, Verdana, Helvetica, sans-serif;
font-size : 11px;
color : #C17327;
text-decoration : none;
line-height:17px;
font-weight:bolder;
}

#blocks .moduletable a:hover {
font-size : 10px;
color : #D0965D;
text-decoration : underline;
}

#botnavi table.moduletable {
width : 100%;
padding : 0px;
margin : 0px 0px 0px 0px;
border : 0;
}

/* ******************************************* leftside and rightside*/
#leftside {
margin : 0px 5px 0px 0px;
padding:0;
text-align: left;
}

#leftside table.moduletable th {
background-color: transparent;
height:21px;
border-bottom:1px solid #C1AF7D;
font : bold 11px Arial, Verdana, sans-serif, Helvetica ;
color: #926546;
text-align: left;
text-indent: 4px;
padding: 0px;
margin: 0px;
line-height:19px;
}

#leftside table.moduletable td {
font-family : Arial, Helvetica, sans-serif;
font-size : 11px;
color: #926546;
line-height : 16px;
text-align : left;
padding : 2px 0px 2px 0px;
}

/* ******************************************* main body */
#content_area {
left : 0px;
margin : 0px;
padding : 0;
text-align : left;
}

#rightside {
margin : 0px 0px 0px 5px;
padding : 0;
text-align : left;
}

#rightside table.moduletable th {
background-color: transparent;
height:21px;
border-bottom:1px solid #C1AF7D;
font : bold 11px Arial, Verdana, sans-serif, Helvetica ;
color: #926546;
text-align: left;
text-indent: 4px;
padding: 0px;
margin: 0px;
line-height:19px;
}

#rightside table.moduletable td {
font-family : Arial, Helvetica, sans-serif;
font-size : 11px;
color: #91561D;
line-height : 16px;
text-align : left;
}

/* ******************************************* Footer */
#footer {
padding : 6px 20px 0px 0px;
margin : 0px auto;
width : 760px;
text-align : right;
vertical-align : middle;
font : bold 10px Verdana, Arial, Helvetica, sans-serif;
color : #A49881;
line-height : 15px;
}

#footer a, #footer a:link, #footer a:visited {
color : #D4522D;
text-decoration :underline;
}

#footer a, #footer a:hover {
color :#5E776B;
text-decoration :none;
}

/* ******************************************* General CSS Styles */

body {
background : #ffffff;
padding : 0;
margin : 0;
vertical-align : top;
scrollbar-face-color: #C1AF7D;
 scrollbar-shadow-color: #624633;
 scrollbar-darkshadow-color: #E9DAB2;
 scrollbar-highlight-color: #E9DAB2;
 scrollbar-3dlight-color: #624633;
 scrollbar-track-color: #624633;
 scrollbar-arrow-color: #C1AF7D;
}

td, div, p {
color:#926546;
font-family : Arial, Verdana, sans-serif, Helvetica ;
font-size : 11px;
line-height : 16px;
}


a, a:link, a:visited {
color : #926546;
text-decoration : none;
}
a:hover {color: #DEC298; text-decoration:none}

h1 {font: bold 16px Georgia, "Times New Roman", Times, serif; color: #333; margin: 0px; padding: 0px;}
h2 {font: bold 15px Georgia, "Times New Roman", Times, serif; color: #333; margin: 0px; padding: 0px;}
h3 {font: bold 14px Georgia, "Times New Roman", Times, serif; color: #333; margin: 0px; padding: 0px;}
h4 {font: bold 12px Georgia, "Times New Roman", Times, serif; color: #333; margin: 0px; padding: 0px;}

ol {list-style: decimal outside; }
ul {
 margin: 0;
 padding: 0;
 list-style: none;
}

li {
 line-height: 17px;
 text-indent: 13px;
 padding-top: 0px;
background : url(../images/bg_title.gif) no-repeat;
background-position: 0px 5px;
}
blockquote {
margin : 10px;
margin-left : 30px;
padding : 0 20px 0 10px;
border-left : 5px solid #ccc;
}

form {
margin : 0;
padding : 0;
}

select {
font-size : 12px;
font-weight : bold;
color : #333;
}
input {
padding : 0;
margin : 0;
}

th.pagenav_prev, th.pagenav_next, a.pagenav_next:link, a.pagenav_next:visited {
font-size : 10px;
color : #ffffff;
background-color:#FFFFFF;
font-weight : normal;
}
a.pagenav_next:hover {
font-size : 12px;
color : #2A95FA;
text-decoration : none;
}


/* ******************************************* MODULES */
table.moduletable {
width : 100%;
padding : 0px;
margin : 0px 0px 0px 0px;
border : 0;
}
table.moduletable th {
background-color: transparent;
height:21px;
border-bottom:1px solid #C1AF7D;
font : bold 11px Arial, Verdana, sans-serif, Helvetica ;
color: #926546;
text-align: left;
text-indent: 4px;
padding: 0px;
margin: 0px;
line-height:19px;
}

table.moduletable td {
font-family : Arial, Helvetica, sans-serif;
font-size : 11px;
color: #91561D;
line-height : 16px;
text-align : left;
}

table.pollstableborder td {
 padding: 2px;
}

table.moduletable ul {
padding : 0;
margin : 0 0 0 3px;
}

.button {
font : normal 11px Arial, Helvetica, sans-serif;
padding-top : 2px 2px 0px 2px;
margin:3px 0;
color : #C17327;
border : 0px;
background-color: #EBDBBA;
}
.inputbox, .search {
font : normal 11px Arial, Helvetica, sans-serif;
color : #C17327;
border : 1px solid #C1AF7D;
background-color: #ffffff;
}
.poll {
font : 12px Arial, Helvetica, sans-serif;
color : #666666;
font-weight : normal;
border : 0;
padding : 0;
}

/* ******************************************* CONTENT STYLES */
.contentpane, .contentpaneopen {
width : 100%;
text-align : left;
color : #926546;
padding : 0px;
}

.contentdescription {
width : 100%;
text-align : left;
color : #926546;
padding : 4px;
}
.contentpane td, .contentpaneopen td {
padding : 0px;
}
a.contentpane:link, a.contentpane:visited, a.contentpaneopen:link, a.contentpaneopen:visited {
color : #C17327;
text-decoration : none
}
a.contentpane:hover, a.contentpaneopen:hover {
color : #2A95FA;
text-decoration : underline;
}

.contentheading {
width:100%;
font : bold 11px Verdana, Arial, Helvetica, sans-serif;
color : #BF6000;
line-height : 21px;
text-align : left;
text-indent : 5px;
background-color:#FFFBF2;
}

.componentheading {
width:100%;
font : bold 11px Verdana, Arial, Helvetica, sans-serif;
color : #926546;
line-height : 21px;
text-align : left;
text-indent : 5px;
background-color: transparent;
border-bottom:1px solid #C1AF7D;
}


.contentpagetitle, a.contentpagetitle:link, a.contentpagetitle:visited {
color : #234;
}
a.contentpagetitle:hover {
color : #567;

}

.back_button {
float:right;
width:45px;
font-size : 11px;
color : #C17327;
text-decoration : none;
font-weight : normal;
test-align:right;
vertical-align : middle;
margin : 0 6px;
padding : 1px 4px 1px 4px;
background-color:#EBDBBA;
border:0px;
}

.small {
font-size : 10px;
color : #C18449;
text-decoration : none;
font-weight : normal;
line-height:15px;
}

.createdate, .modifydate {
font-size : 10px;
font-weight : normal;
color : #C18449;
}
a.readon:link, a.readon:visited {
font-family : Arial, Verdana, Helvetica,sans-serif;
font-size : 11px;
font-weight : bold;
color : #A96B16;
}

a.readon:hover {
color : #A96B16;
text-decoration : underline overline;
}

.blog {
margin : 0px;
padding : 0px;
width :100%;
}

a.blogsection:link, a.blogsection:visited {
font-size : 11px;
color : #A96B16;
text-decoration : none;
font-weight : normal;
font-weight : bolder;
}
a.blogsection:hover {
font-size : 11px;
color : #A96B16;
text-decoration : underline overline;
font-weight : bolder;
}

.blog_more {
padding : 18px 8px;
margin : 0px;
font-size : 14px;
font-weight : bold;
color : #333;
}
.blog_more ul {
padding : 0px;
margin : 0px;
}

table.contenttoc {
border : 1px solid #DEC298;
  padding : 1px;
margin-left : 7px;
margin-bottom : 2px;
}
table.contenttoc th {
color : #fff;
text-align : left;
padding : 4px;
font-weight : bold;
font-size : 10px;
text-transform : uppercase;
background : #DEC298;
}
table.contenttoc td {
font-size : 10px;
}

/* ******************************************* STYLES CONTACT PAGE */
table.contact {
background : transparent;
}
table.contact td.icons {
background : #89a;
}
table.contact td.details {
background : #FFFBF2;
margin : 5px;
padding : 5px;
border : 1px dotted #ccc;
}
.contact_email {
background : #FFFBF2;
margin : 5px;
padding : 5px;
border : 1px dotted #ccc;
}

/* ******************************************* MAIN AND SUB MENU SYSTEM */
.mainlevel {
font : bold 12px Arial, Verdana, Helvetica, sans-serif;
line-height:20px;
}
a.mainlevel:link, a.mainlevel:visited {
display: block;
background : url(../images/bg_submenu.gif) no-repeat;
background-position: 0px 5px;
padding : 0;
border-bottom:1px solid #C1AF7D;
height:20px;
line-height:20px;
color : #926546;
font : normal 11px Arial, Verdana, Helvetica, sans-serif;
text-decoration : none;
text-indent : 15px;
}
a.mainlevel:hover {
font-weight : normal;
color : #FF6600;
background : url(../images/bg_submenu.gif) no-repeat;
text-decoration : none;
padding : 0px 0px;
text-align:right;
}

.sublevel {
width:94%;
color : #FFA554;
padding : 0px 0px;
text-indent : 5px;
border : 0;
height:18px;
line-height:20px;
text-decoration : none;
}
a.sublevel:link, a.sublevel:visited {
color : #FFA554;
text-decoration : none;
}
a.sublevel:hover {
color : #FF6600;
text-decoration : none;
}
a.sublevel#active_menu {
background : url(../images/indent1.png) no-repeat;
border : 0;
color : #FF6600;
text-decoration : none;
}

/* ******************************************* TOP MENU SYSTEM */
ul#mainlevel-nav {
font : bold 10px Verdana, Arial, Helvetica, sans-serif;
list-style : none;
padding : 0;
margin : 0;
}

ul#mainlevel-nav li
{
display : block;
background : transparent;
padding : 0;
margin : 0;
float : left;

white-space : nowrap;
border-right : 2px solid #F6EAC7;
}

ul#mainlevel-nav li a {
display : block;
height : 14px !important;
height : 17px;
padding : 1px 1px 1px 4px;
margin : 0;
width : 75px !important;
width : 80px;
text-decoration : none;
color : #BF7300;
background : #FFF5E5;
}

ul#mainlevel-nav li a:hover
{
color: #BF7300;
background: #DEC298;
}

a.mainlevel-nav:link, a.mainlevel-nav:visited {
color : #7B7261;
}

a.mainlevel-nav:hover {
color : #5E776B;
}

/* ******************************************* CATEGORY (text format and links) */
.category {
color : #5A3600;
font-size : 11px;
font-weight : bold;
text-decoration : none;
}
a.category:link, a.category:visited {
color : #5A3600;
font-weight : bold;
}
a.category:hover {
color : #C1AF7D;
}

/* ******************************************* STYLES LISTING CONTENT PAGE */
td.sectiontableheader, td.sectiontablefooter {
background-color: #D0C39E;
color : #ffffff;
font-weight : bold;
font-size : 11px;
padding : 2px 3px 3px 2px;
}
.sectiontableentry1 {
background-color: #FFFBF2;
color : #926546;
font-weight : normal;
padding : 2px 0px 2px 2px;
}
.sectiontableentry2 {
background : #E8E1CE;
color : #926546;
font-weight : normal;
padding : 2px 0px 2px 2px;
}

.pagenavbar {
text-align : center;
vertical-align : middle;
padding : 2px;
width : 100%;
}
.pagenav {
color : #926546;
font-size : 10px;
font-weight : bold;
text-decoration : none;
marging : 0;
padding : 0 2px;
border : 0;
}
a.pagenav:link, a.pagenav:visited {
color : #926546;
background-color: #f8f2df;
}
a.pagenav:hover {
color : #926546;
background : transparent;
text-decoration : underline;
}


hr {
background : transparent;
height : 1px;
border : 1px solid #DEC298;
width : 100%;
}

Просто мне нужно изменить размер шрифта на сайте, а я не понимаю где :(
Рекламное агентство: Medianation
Skype: ibarchenkov

Группа по digital-маркетингу:
http://vk.com/dmarketing
*

kilo123

  • Осваиваюсь на форуме
  • 22
  • 4 / 0
Для Firefox есть дополнение Firebug ставишь, запускаешь. Нажимаешь Inspect и тыкаешь мышью в картику, текст, таблицу и пр.... И Firebug тебе все рассказывает, показывает.

Ну или тут попробуй

#newsflash table.moduletable td {
   font-family : Arial, Helvetica, sans-serif;
   font-size      : 11px;
   color         : #926546;
   line-height      : 16px;
   text-align      : left;
   padding:0px;
*

Xuga

  • Захожу иногда
  • 224
  • 122 / 0
  • Интернет-Маркетолог
kilo123 не помогло это изменение (((( вот адрес сайта http://worldofjapan.ru вдруг пригодится
Рекламное агентство: Medianation
Skype: ibarchenkov

Группа по digital-маркетингу:
http://vk.com/dmarketing
*

Xuga

  • Захожу иногда
  • 224
  • 122 / 0
  • Интернет-Маркетолог
установил плагин, он говорит, что за данный участок текста отвечает строки начиная с 359 вроде, я нашел это значение, исправил его, но ничего не изменилось (((( и новые новости как создавались так и создаются.
Рекламное агентство: Medianation
Skype: ibarchenkov

Группа по digital-маркетингу:
http://vk.com/dmarketing
*

fatalerror

  • Захожу иногда
  • 444
  • 48 / 2
  • Уполномоченный по правам чайников
Код
td, div, p {
color:#926546;
font-family : Arial, Verdana, sans-serif, Helvetica ;
font-size : 11px;
line-height : 16px;
}
Расстреляно форумчан за нецензурщину: 1 (один).  Дерьмо случается...
*

Xuga

  • Захожу иногда
  • 224
  • 122 / 0
  • Интернет-Маркетолог
Всем огромное сспасибо!!! решил проблему :) всем по +
Рекламное агентство: Medianation
Skype: ibarchenkov

Группа по digital-маркетингу:
http://vk.com/dmarketing
*

Blizzart

  • Новичок
  • 9
  • 0 / 0
Xuga, объясни мне, пожалуйста, как решается эта проблема.
joomla 1.5.14 Мне нужно изменить, здесь http://www.cherniy-znak.ru/, размер шрифта, в правой колонке "объявления"
Я писал такой код:

.newsflash {
   color : #E4E4E4;
   font-size : 10px;
}


Без изменений...

Попробовал с теми что здесь указаны

#newsflash table.moduletable td

ничего не меняет...

А этот код, к сожалению, меняет все шрифты на странице
td, div, p {
   color:#926546;
   font-family : Arial, Verdana, sans-serif, Helvetica ;
   font-size   : 11px;
   line-height: 16px;
}


Скомбинировать их не получилось...

 !
« Последнее редактирование: 08.11.2009, 11:16:38 от Blizzart »
*

Xom9lk

  • Осваиваюсь на форуме
  • 11
  • 4 / 0
Xuga, объясни мне, пожалуйста, как решается эта проблема.
joomla 1.5.14 Мне нужно изменить, здесь http://www.cherniy-znak.ru/, размер шрифта, в правой колонке "объявления"
Я писал такой код:

.newsflash {
   color : #E4E4E4;
   font-size : 10px;
}


Без изменений...

Попробовал с теми что здесь указаны

#newsflash table.moduletable td

ничего не меняет...

А этот код, к сожалению, меняет все шрифты на странице
td, div, p {
   color:#926546;
   font-family : Arial, Verdana, sans-serif, Helvetica ;
   font-size   : 11px;
   line-height: 16px;
}


Скомбинировать их не получилось...

 !

1 шаг: открываешь CSS твоего шаблона (template_css)
2. добавляешь в него к примеру
Код: css
.rightmodule {
color : #E4E4E4;
font-size : 10px;
}
3. Идешь в админ панель сайта в раздел Модули, выбираешь свой модуль Объявлений и в поле "Суффикс класса модуля" прописываешь -rightmodule
Если не получится отпишись...
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Выравнивание текста по центру

Автор Nvinb

Ответов: 0
Просмотров: 1601
Последний ответ 04.12.2020, 10:27:39
от Nvinb
Не работают окна для заполнения текста

Автор stein9115

Ответов: 0
Просмотров: 3930
Последний ответ 15.09.2015, 11:30:10
от stein9115
Как изменить отображение?

Автор aprelika

Ответов: 1
Просмотров: 2504
Последний ответ 14.11.2013, 11:10:01
от aprelika
Две колонки текста в материале статьи

Автор Trok

Ответов: 7
Просмотров: 8859
Последний ответ 25.03.2011, 13:37:44
от klubnichkaaa
DatsoGalleryCategoryLink - отображение 3 картинок и ссылки на категорию галереи

Автор smart

Ответов: 18
Просмотров: 9805
Последний ответ 04.01.2011, 12:31:23
от psg