Модератор форума: Yuri_G |
Сообщество uCoz » Вебмастеру » Раскрутка сайта » SEO » Теги h1-h6 (как использовать и как прописывать) |
Теги h1-h6 |
Хочу обратиться за помощью к админам.
На сайте стоит шаблон 829 и в нем почему-то на странице несколько раз встречается h1. Вот в этом месте Код <h1 id="uCozHeaderText" style="$UHEADER_STYLE$">$SITE_LOGO$</h1> И еще вот тут Код <?if($MODULE_NAME$)?><h1>$MODULE_NAME$</h1><?endif?> Итого получилось 3 кода h1 на странице. Скажите, что мне делать кодами h1, которые я указала выше? Они стоят в модуле Каталог Файлов. Если их просто удалить, выходит черти-то, особенно, если это делать с первым кодом, который отвечает за шапку сайта. Подскажите, их можно как-то заменить или еще что-то сделать, чтобы h1 был только в $ENTRY_TITLE$ и все? |
akula-z, Дайте адрес сайта Ну вот этот код стоит сто пудов на главной странице модуля Цитата <?if($MODULE_NAME$)?><h1>$MODULE_NAME$</h1><?endif?> это стоит на странице материала и коментария к нему Цитата <h1>$ENTRY_TITLE$ </h1> Так что по любому h1 не пересикаеться два раза. Единственное, что с лого только. Но на мой взгляд сдесь нет не чо страшного. Встречал много успешных сайтов юкозовских, где h1 прописан 2 раза, лого и модуль (к примеру) точно не помню. Но в любом случае нужен адрес сайта, чтоб оценить ситуацию и шапку вашу посмотреть. Лого ваще можно закрыть в h2 Цитата <h2 id="uCozHeaderText" style="$UHEADER_STYLE$">$SITE_LOGO$</h2> Сообщение отредактировал _VITALIK_ - Среда, 11 Мар 2015, 06:46:52
|
|
|
|
Не могу понять, как убрать H1 из лого и прописать свой текст.
Вот код CSS, стиля под LOGO или H1 нет. Код /* General Style */ form {padding:0px;margin:0px;} .copy {font-size:7pt;} a.noun:visited {text-decoration:none; color:#4D6D91} hr {color:#ACC6E5;height:1px;border-top:0px;} label {cursor:pointer;cursor:hand} /* ------------- */ /* Menus */ ul.uz, ul.uMenuRoot {list-style: none; margin: 0 0 0 0; padding-left: 0px;} li.menus {margin: 0; padding: 0 0 0 13px; background: url('/.s/t/101/11.gif') no-repeat 0px 3px; margin-bottom: .6em;} /* ----- */ /* Module Part Menu */ .catsTd {padding: 0 0 3px 13px; background: url('/.s/t/101/13.gif') no-repeat 0px 4px;} .catName {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;font-weight:bold;} .catNameActive {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;font-weight:bold;} .catNumData {font-size:7pt;color:#4D6D91;} .catDescr {font-size:7pt; padding-left:10px;} a.catName:link {text-decoration:none; color:#4D6D91;} a.catName:visited {text-decoration:none; color:#4D6D91;} a.catName:hover {text-decoration:underline; color:#000000;} a.catName:active {text-decoration:underline; color:#000000;} a.catNameActive:link {text-decoration:underline; color:#4D6D91;} a.catNameActive:visited {text-decoration:underline; color:#4D6D91;} a.catNameActive:hover {text-decoration:underline; color:#000000;} a.catNameActive:active {text-decoration:underline; color:#000000;} /* ----------------- */ /* Entries Style */ .eBlock {} .eMessage {text-align:justify;padding-bottom:5px;} .eText {text-align:justify;padding-bottom:5px;padding-top:5px;border-top:1px solid #ACC6E5} .eDetails2 {border-bottom:1px dashed #DDDDDD;font-family:Tahoma,Arial,Sans-Serif;color:#1A1A1A;padding-bottom:5px;padding-top:3px;text-align:left;font-size:8pt;} .eRating {font-size:7pt;} .eAttach {margin: 16px 0 0 0; padding: 0 0 0 15px; background: url('/.s/t/101/15.gif') no-repeat 0px 0px;} /* ------------- */ /* Entry Manage Table */ .manTable {} .manTdError {color:#FF0000;} .manTd1 {} .manTd2 {} .manTd3 {} .manTdSep {} .manHr {} .manTdBrief {} .manTdText {} .manTdFiles {} .manFlFile {} .manTdBut {} .manFlSbm {} .manFlRst {} .manFlCnt {} /* ------------------ */ /* Comments Style */ .cAnswer {padding-left:15px;padding-top:4px;font-style:italic;} .cBlock1 {border:1px solid #ACC6E5;background:#FFFFFF;} .cBlock2 {border:1px solid #ACC6E5;background:#F3F7FC;} /* -------------- */ /* Comments Form Style */ .commTable {} .commTd1 {color:#4D6D91;font-weight:bold;} .commTd2 {} .commFl {width:100%;} .smiles {border:1px inset;background:#FAFCFE;} .commReg {padding: 10 0 10 0px; text-align:center;} .commError {color:#FF0000;} /* ------------------- */ /* Archive Menu */ .archUl {list-style: none; margin:0; padding-left:0;} .archActive {font-weight:bold;} /* ------------ */ /* Archive Style */ .archiveCalendars {text-align:center;color:#0000FF;} .archiveDateTitle {font-weight:bold;color:#4D6D91;padding-top:15px;} .archEntryHr {width:250px;color:#DDDDDD;} .archiveeTitle li {margin-left: 15px; padding: 0 0 0 15px; background: url('/.s/t/101/11.gif') no-repeat 0px 4px; margin-bottom: .6em;} .archiveEntryTime {width:65px;font-style:italic;} .archiveEntryComms {font-size:9px;color:#C3C3C3;} a.archiveDateTitleLink:link {text-decoration:none; color:#4D6D91} a.archiveDateTitleLink:visited {text-decoration:none; color:#4D6D91} a.archiveDateTitleLink:hover {text-decoration:underline; color:#4D6D91} a.archiveDateTitleLink:active {text-decoration:underline; color:#4D6D91} .archiveNoEntry {text-align:center;color:#0000FF;} /* ------------- */ /* -------------- */ /* Poll styles */ .pollBut {width:110px;} .pollBody {padding:7px; margin:0px; background:#FFFFFF} .textResults {background:#D0DFF0} .textResultsTd {background:#FFFFFF} .pollNow {border-bottom:1px solid #D0DFF0; border-left:1px solid #D0DFF0; border-right:1px solid #D0DFF0;} .pollNowTd {} .totalVotesTable {border-bottom:1px solid #D0DFF0; border-left:1px solid #D0DFF0; border-right:1px solid #D0DFF0;} .totalVotesTd {background:#FFFFFF} /* ---------- */ /* User Group Marks */ a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:blue;} a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:red;} a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:green;} /* ---------------- */ /* Other Styles */ .replaceTable {background:#F5F9FD;height:100px;width:300px;border:1px solid #597798;} .legendTd {font-size:7pt;} /* ------------ */ /* ------------------------ */ /* Forums Styles */ .forumNameTd,.forumLastPostTd {padding:2px;} .forumIcoTd,.forumThreadTd,.forumPostTd {padding:2px;} .forumLastPostTd,.forumArchive {padding:2px;font-size:7pt;} .lastPostGuest,.lastPostUser,.threadAuthor {font-weight:bold} .archivedForum{font-size:7pt;color:#FF0000;font-weight:bold;} /* ------------- */ /* forum Titles & other */ .forum {font-weight:bold;font-size:9pt;} .forumDescr,.forumModer {color:#858585;font-size:7pt;} .forumViewed {font-size:9px;} a.forum:link, a.lastPostUserLink:link, a.forumLastPostLink:link, a.threadAuthorLink:link {text-decoration:none;} a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {text-decoration:none; } a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {} a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {} /* -------------------- */ /* forum Navigation Bar */ .forumNamesBar {font-weight:bold;font-size:7pt;} .forumBarKw {font-weight:normal;} a.forumBarA:link {text-decoration:none; color:#000000;} a.forumBarA:visited {text-decoration:none; color:#000000;} a.forumBarA:hover {text-decoration:none; color:#4D6D91;} a.forumBarA:active {text-decoration:underline; color:#4D6D91;} /* -------------------- */ /* forum Fast Navigation Blocks */ /* ---------------------------- */ /* forum Fast Navigation Menu */ .fastNavMain {background:#C7D7EF;} .fastNavCat {background:#E7EEF8;} .fastNavCatA {background:#E7EEF8;color:#0000FF} .fastNavForumA {color:#0000FF} /* -------------------------- */ /* forum Page switches */ .switches {background:#B4CBE7;} .pagesInfo {background:#FFFFFF;font-size:7pt;} .switch {background:#FFFFFF;width:15px;font-size:7pt;} .switchActive {background:#E7EEF8;font-weight:bold;color:#4D6D91;width:15px} a.switchDigit:link,a.switchBack:link,a.switchNext:link {text-decoration:none; color:#000000;} a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {text-decoration:none; color:#000000;} a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {text-decoration:underline; color:#FF0000;} a.switchDigit:active,a.switchBack:active,a.switchNext:active {text-decoration:underline; color:#FF0000;} /* ------------------- */ /* forum Threads Style */ .threadNametd,.threadAuthTd,.threadLastPostTd {padding:2px;padding:2px;background:#FFFFFF} .threadIcoTd,.threadPostTd,.threadViewTd {padding:2px;background:#EFF3FE} .threadLastPostTd {padding:2px;font-size:7pt;} .threadDescr {color:#858585;font-size:7pt;} .threadNoticeLink {font-weight:bold;} .threadsType {padding:2px;background:#EFF3FE;height:25px;font-weight:bold;font-size:7pt;color:#4D6D91;padding-left:40px;} .threadsDetails {padding:2px;background:#EFF3FE;height:25px;color:#4D6D91;} .forumOnlineBar {padding:2px;background:#EFF3FE;height:25px;color:#4D6D91;} a.threadPinnedLink:link {text-decoration:none; color:#0000FF;} a.threadPinnedLink:visited {text-decoration:none; color:#0000FF;} a.threadPinnedLink:hover {text-decoration:none; color:#FF0000;} a.threadPinnedLink:active {text-decoration:underline; color:#FF0000;} a.threadLink:link {text-decoration:none; color:#4D6D91;} a.threadLink:visited {text-decoration:none; color:#4D6D91;} a.threadLink:hover {text-decoration:underline; color:#000000;} a.threadLink:active {text-decoration:underline; color:#000000;} .postpSwithces {font-size:7pt;} .thDescr {font-weight:normal;} .threadFrmBlock {font-size:7pt;text-align:right;} /* ------------------- */ /* forum Posts View */ .postTable {} .postPoll {background:#EEF2F7;text-align:center;} .postFirst {background:#F5F9FD;border-bottom:3px solid #597798;} .postRest1 {} .postRest2 {background:#F5F9FD;} .postSeparator {height:3px;background:#8394B2;} .postTdTop,.postBottom {background:#D1DCEB;height:20px} .postUser {font-weight:bold;} .postTdInfo {text-align:center;padding:5px;} .postRankName {margin-top:5px;} .postRankIco {margin-bottom:5px;margin-bottom:5px;} .reputation {margin-top:5px;} .signatureHr {margin-top:20px;color:#597798;} .posttdMessage {padding:5px;} .postPoll {padding:5px;} .pollQuestion {text-align:center;font-weight:bold;} .pollButtons,.pollTotal {text-align:center;} .pollSubmitBut,.pollreSultsBut {width:140px;font-size:7pt;} .pollSubmit {font-weight:bold;} .pollEnd {text-align:center;height:30px;} .codeMessage {background:#FFFFFF;font-size:9px;} .quoteMessage {background:#FFFFFF;font-size:9px;} .signatureView {font-size:7pt;} .edited {padding-top:30px;font-size:7pt;text-align:right;color:gray;} .editedBy {font-weight:bold;font-size:8pt;} .statusBlock {padding-top:3px;} .statusOnline {color:#0000FF;} .statusOffline {color:#FF0000;} /* ------------------ */ /* forum AllInOne Fast Add */ .newThreadBlock {background: #F9F9F9;border: 1px solid #B2B2B2;} .newPollBlock {background: #F9F9F9;border: 1px solid #B2B2B2;} .newThreadItem {padding: 0 0 0 8px; background: url('/.s/t/101/27.gif') no-repeat 0px 4px;} .newPollItem {padding: 0 0 0 8px; background: url('/.s/t/101/27.gif') no-repeat 0px 4px;} /* ----------------------- */ /* forum Post Form */ .codeButtons {font-size:7pt;background:#FAFCFE;border:1px solid #ACC6E5;} .codeCloseAll {font-size:7pt; color:#4D6D91;font-weight:bold;background:#FAFCFE;border:1px solid #ACC6E5;} .postNameFl,.postDescrFl {background:#FAFCFE;border:1px solid #ACC6E5;width:400px} .postPollFl,.postQuestionFl {background:#FAFCFE;border:1px solid #ACC6E5;width:400px} .postResultFl {background:#FAFCFE;border:1px solid #ACC6E5;width:50px} .postAnswerFl {background:#FAFCFE;border:1px solid #ACC6E5;width:300px} .postTextFl {background:#FAFCFE;border:1px solid #ACC6E5;width:550px;height:150px} .postUserFl {background:#FAFCFE;border:1px solid #ACC6E5;width:300px} .pollHelp {font-weight:normal;font-size:7pt;padding-top:3px;} .smilesPart {padding-top:5px;text-align:center} /* ----------------- */ .opt { display: block; clear: left; } .shop-options-li { display: block; padding: 10px 0; height: 49px; clear: left; } .shop-options-li .option-link { margin-left: -1px; float: left; position: relative; text-align: center; height: 35px; line-height: 35px; text-decoration: none; white-space: nowrap; vertical-align: middle; cursor: pointer; border: 1px solid #ccc; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; display: inline-block; padding: 6px 12px; color: #333; background-color: #fff; } .shop-options-li a:hover { background-color: #ebebeb; border-color: #adadad; } .shop-options-li .active { background-color: #ebebeb; border-color: #adadad; box-shadow: inset 0 3px 5px rgba(0,0,0,0.125); } .shop-options-li >.option-link:first-child { border-top-left-radius: 4px; border-bottom-left-radius: 4px; } .shop-options-li >.option-link:last-child { border-top-right-radius: 4px; border-bottom-right-radius: 4px; } /* ====== forum End ====== */ Подскажите, как заменить вместо кода h1 поставить div, и где прописать к нему стили, а код h1 использовать по назначению?? Сайт www.razstore.ru Сообщение отредактировал pasishnikov - Среда, 08 Апр 2015, 00:24:54
|
В шаблоне в дизайне страниц находите эту конструкцию и меняете <h1> на <div class='mylogo'> после чего в стилях прописываете нужные параметры для mylogo При возникновении вопросов как все оформлять используйте интернет, например htmlbook |
Кстати, кому надо, вот код, по вопросу выше:
Код .header .mylogo { float:left; display:block; text-decoration:none !important; font-size: 40px; font-weight: bold; color: #fd6a56; text-transform: uppercase; } .header a.mylogo {} .header .mylogo span { font-size: 24px; font-weight: 300; color: #2c2c2c; display: block; margin-top: 10px; } .header .mylogo:hover {color: #fd6a56;} А то тут помощи не дождешься.... Форум этот, для того что-бы помочь, а не тыкать носом в учебник. Сам разобрался - помоги другому, я так считаю. Сообщение отредактировал pasishnikov - Пятница, 10 Апр 2015, 22:20:51
|
Помогите скрыть тег H1 (см. скрин)
В редакторе стилей CSS нет прописанного стиля для тега H1. При просмотре страницы через хром "просмотр кода элемента", нахожу такой код: Код h1 { font-size:20px; font-weight:normal; line-height:1.15; margin-bottom:0px; font-family: 'Roboto',sans-serif; } Но в стилях его нет! При прописывании стиля для H1, ни чего не меняется на странице, тег скрыть тоже не выходит. Ткните носом, где в CSS уже прописаны стили для H1 или может где ещё его разработчик шаблона засунул. Вот мой CSS: Код /* General Style */ form {padding:0px;margin:0px;} .copy {font-size:7pt;} a.noun:visited {text-decoration:none; color:#4D6D91} hr {color:#ACC6E5;height:1px;border-top:0px;} label {cursor:pointer;cursor:hand} /* ------------- */ /* Menus */ ul.uz, ul.uMenuRoot {list-style: none; margin: 0 0 0 0; padding-left: 0px;} li.menus {margin: 0; padding: 0 0 0 13px; background: url('/.s/t/101/11.gif') no-repeat 0px 3px; margin-bottom: .6em;} /* ----- */ /* Module Part Menu */ .catsTd {padding: 0 0 3px 13px; background: url('/.s/t/101/13.gif') no-repeat 0px 4px;} .catName {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;font-weight:bold;} .catNameActive {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;font-weight:bold;} .catNumData {font-size:7pt;color:#4D6D91;} .catDescr {font-size:7pt; padding-left:10px;} a.catName:link {text-decoration:none; color:#4D6D91;} a.catName:visited {text-decoration:none; color:#4D6D91;} a.catName:hover {text-decoration:underline; color:#000000;} a.catName:active {text-decoration:underline; color:#000000;} a.catNameActive:link {text-decoration:underline; color:#4D6D91;} a.catNameActive:visited {text-decoration:underline; color:#4D6D91;} a.catNameActive:hover {text-decoration:underline; color:#000000;} a.catNameActive:active {text-decoration:underline; color:#000000;} /* ----------------- */ /* Entries Style */ .eBlock {} .eMessage {text-align:justify;padding-bottom:5px;} .eText {text-align:justify;padding-bottom:5px;padding-top:5px;border-top:1px solid #ACC6E5} .eDetails2 {border-bottom:1px dashed #DDDDDD;font-family:Tahoma,Arial,Sans-Serif;color:#1A1A1A;padding-bottom:5px;padding-top:3px;text-align:left;font-size:8pt;} .eRating {font-size:7pt;} .eAttach {margin: 16px 0 0 0; padding: 0 0 0 15px; background: url('/.s/t/101/15.gif') no-repeat 0px 0px;} /* ------------- */ /* Entry Manage Table */ .manTable {} .manTdError {color:#FF0000;} .manTd1 {} .manTd2 {} .manTd3 {} .manTdSep {} .manHr {} .manTdBrief {} .manTdText {} .manTdFiles {} .manFlFile {} .manTdBut {} .manFlSbm {} .manFlRst {} .manFlCnt {} /* ------------------ */ /* Comments Style */ .cAnswer {padding-left:15px;padding-top:4px;font-style:italic;} .cBlock1 {border:1px solid #ACC6E5;background:#FFFFFF;} .cBlock2 {border:1px solid #ACC6E5;background:#F3F7FC;} /* -------------- */ /* Comments Form Style */ .commTable {} .commTd1 {color:#4D6D91;font-weight:bold;} .commTd2 {} .commFl {width:100%;} .smiles {border:1px inset;background:#FAFCFE;} .commReg {padding: 10 0 10 0px; text-align:center;} .commError {color:#FF0000;} /* ------------------- */ /* Archive Menu */ .archUl {list-style: none; margin:0; padding-left:0;} .archActive {font-weight:bold;} /* ------------ */ /* Archive Style */ .archiveCalendars {text-align:center;color:#0000FF;} .archiveDateTitle {font-weight:bold;color:#4D6D91;padding-top:15px;} .archEntryHr {width:250px;color:#DDDDDD;} .archiveeTitle li {margin-left: 15px; padding: 0 0 0 15px; background: url('/.s/t/101/11.gif') no-repeat 0px 4px; margin-bottom: .6em;} .archiveEntryTime {width:65px;font-style:italic;} .archiveEntryComms {font-size:9px;color:#C3C3C3;} a.archiveDateTitleLink:link {text-decoration:none; color:#4D6D91} a.archiveDateTitleLink:visited {text-decoration:none; color:#4D6D91} a.archiveDateTitleLink:hover {text-decoration:underline; color:#4D6D91} a.archiveDateTitleLink:active {text-decoration:underline; color:#4D6D91} .archiveNoEntry {text-align:center;color:#0000FF;} /* ------------- */ /* -------------- */ /* Poll styles */ .pollBut {width:110px;} .pollBody {padding:7px; margin:0px; background:#FFFFFF} .textResults {background:#D0DFF0} .textResultsTd {background:#FFFFFF} .pollNow {border-bottom:1px solid #D0DFF0; border-left:1px solid #D0DFF0; border-right:1px solid #D0DFF0;} .pollNowTd {} .totalVotesTable {border-bottom:1px solid #D0DFF0; border-left:1px solid #D0DFF0; border-right:1px solid #D0DFF0;} .totalVotesTd {background:#FFFFFF} /* ---------- */ /* User Group Marks */ a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:blue;} a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:red;} a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:green;} /* ---------------- */ /* Other Styles */ .replaceTable {background:#F5F9FD;height:100px;width:300px;border:1px solid #597798;} .legendTd {font-size:7pt;} /* ------------ */ /* ------------------------ */ /* Forums Styles */ .forumNameTd,.forumLastPostTd {padding:2px;} .forumIcoTd,.forumThreadTd,.forumPostTd {padding:2px;} .forumLastPostTd,.forumArchive {padding:2px;font-size:7pt;} .lastPostGuest,.lastPostUser,.threadAuthor {font-weight:bold} .archivedForum{font-size:7pt;color:#FF0000;font-weight:bold;} /* ------------- */ /* forum Titles & other */ .forum {font-weight:bold;font-size:9pt;} .forumDescr,.forumModer {color:#858585;font-size:7pt;} .forumViewed {font-size:9px;} a.forum:link, a.lastPostUserLink:link, a.forumLastPostLink:link, a.threadAuthorLink:link {text-decoration:none;} a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {text-decoration:none; } a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {} a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {} /* -------------------- */ /* forum Navigation Bar */ .forumNamesBar {font-weight:bold;font-size:7pt;} .forumBarKw {font-weight:normal;} a.forumBarA:link {text-decoration:none; color:#000000;} a.forumBarA:visited {text-decoration:none; color:#000000;} a.forumBarA:hover {text-decoration:none; color:#4D6D91;} a.forumBarA:active {text-decoration:underline; color:#4D6D91;} /* -------------------- */ /* forum Fast Navigation Blocks */ /* ---------------------------- */ /* forum Fast Navigation Menu */ .fastNavMain {background:#C7D7EF;} .fastNavCat {background:#E7EEF8;} .fastNavCatA {background:#E7EEF8;color:#0000FF} .fastNavForumA {color:#0000FF} /* -------------------------- */ /* forum Page switches */ .switches {background:#B4CBE7;} .pagesInfo {background:#FFFFFF;font-size:7pt;} .switch {background:#FFFFFF;width:15px;font-size:7pt;} .switchActive {background:#E7EEF8;font-weight:bold;color:#4D6D91;width:15px} a.switchDigit:link,a.switchBack:link,a.switchNext:link {text-decoration:none; color:#000000;} a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {text-decoration:none; color:#000000;} a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {text-decoration:underline; color:#FF0000;} a.switchDigit:active,a.switchBack:active,a.switchNext:active {text-decoration:underline; color:#FF0000;} /* ------------------- */ /* forum Threads Style */ .threadNametd,.threadAuthTd,.threadLastPostTd {padding:2px;padding:2px;background:#FFFFFF} .threadIcoTd,.threadPostTd,.threadViewTd {padding:2px;background:#EFF3FE} .threadLastPostTd {padding:2px;font-size:7pt;} .threadDescr {color:#858585;font-size:7pt;} .threadNoticeLink {font-weight:bold;} .threadsType {padding:2px;background:#EFF3FE;height:25px;font-weight:bold;font-size:7pt;color:#4D6D91;padding-left:40px;} .threadsDetails {padding:2px;background:#EFF3FE;height:25px;color:#4D6D91;} .forumOnlineBar {padding:2px;background:#EFF3FE;height:25px;color:#4D6D91;} a.threadPinnedLink:link {text-decoration:none; color:#0000FF;} a.threadPinnedLink:visited {text-decoration:none; color:#0000FF;} a.threadPinnedLink:hover {text-decoration:none; color:#FF0000;} a.threadPinnedLink:active {text-decoration:underline; color:#FF0000;} a.threadLink:link {text-decoration:none; color:#4D6D91;} a.threadLink:visited {text-decoration:none; color:#4D6D91;} a.threadLink:hover {text-decoration:underline; color:#000000;} a.threadLink:active {text-decoration:underline; color:#000000;} .postpSwithces {font-size:7pt;} .thDescr {font-weight:normal;} .threadFrmBlock {font-size:7pt;text-align:right;} /* ------------------- */ /* forum Posts View */ .postTable {} .postPoll {background:#EEF2F7;text-align:center;} .postFirst {background:#F5F9FD;border-bottom:3px solid #597798;} .postRest1 {} .postRest2 {background:#F5F9FD;} .postSeparator {height:3px;background:#8394B2;} .postTdTop,.postBottom {background:#D1DCEB;height:20px} .postUser {font-weight:bold;} .postTdInfo {text-align:center;padding:5px;} .postRankName {margin-top:5px;} .postRankIco {margin-bottom:5px;margin-bottom:5px;} .reputation {margin-top:5px;} .signatureHr {margin-top:20px;color:#597798;} .posttdMessage {padding:5px;} .postPoll {padding:5px;} .pollQuestion {text-align:center;font-weight:bold;} .pollButtons,.pollTotal {text-align:center;} .pollSubmitBut,.pollreSultsBut {width:140px;font-size:7pt;} .pollSubmit {font-weight:bold;} .pollEnd {text-align:center;height:30px;} .codeMessage {background:#FFFFFF;font-size:9px;} .quoteMessage {background:#FFFFFF;font-size:9px;} .signatureView {font-size:7pt;} .edited {padding-top:30px;font-size:7pt;text-align:right;color:gray;} .editedBy {font-weight:bold;font-size:8pt;} .statusBlock {padding-top:3px;} .statusOnline {color:#0000FF;} .statusOffline {color:#FF0000;} /* ------------------ */ /* forum AllInOne Fast Add */ .newThreadBlock {background: #F9F9F9;border: 1px solid #B2B2B2;} .newPollBlock {background: #F9F9F9;border: 1px solid #B2B2B2;} .newThreadItem {padding: 0 0 0 8px; background: url('/.s/t/101/27.gif') no-repeat 0px 4px;} .newPollItem {padding: 0 0 0 8px; background: url('/.s/t/101/27.gif') no-repeat 0px 4px;} /* ----------------------- */ /* forum Post Form */ .codeButtons {font-size:7pt;background:#FAFCFE;border:1px solid #ACC6E5;} .codeCloseAll {font-size:7pt; color:#4D6D91;font-weight:bold;background:#FAFCFE;border:1px solid #ACC6E5;} .postNameFl,.postDescrFl {background:#FAFCFE;border:1px solid #ACC6E5;width:400px} .postPollFl,.postQuestionFl {background:#FAFCFE;border:1px solid #ACC6E5;width:400px} .postResultFl {background:#FAFCFE;border:1px solid #ACC6E5;width:50px} .postAnswerFl {background:#FAFCFE;border:1px solid #ACC6E5;width:300px} .postTextFl {background:#FAFCFE;border:1px solid #ACC6E5;width:550px;height:150px} .postUserFl {background:#FAFCFE;border:1px solid #ACC6E5;width:300px} .pollHelp {font-weight:normal;font-size:7pt;padding-top:3px;} .smilesPart {padding-top:5px;text-align:center} /* ----------------- */ .opt { display: block; clear: left; } .shop-options-li { display: block; padding: 10px 0; height: 49px; clear: left; } .shop-options-li .option-link { margin-left: -1px; float: left; position: relative; text-align: center; height: 35px; line-height: 35px; text-decoration: none; white-space: nowrap; vertical-align: middle; cursor: pointer; border: 1px solid #ccc; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; display: inline-block; padding: 6px 12px; color: #333; background-color: #fff; } .shop-options-li a:hover { background-color: #ebebeb; border-color: #adadad; } .shop-options-li .active { background-color: #ebebeb; border-color: #adadad; box-shadow: inset 0 3px 5px rgba(0,0,0,0.125); } .shop-options-li >.option-link:first-child { border-top-left-radius: 4px; border-bottom-left-radius: 4px; } .shop-options-li >.option-link:last-child { border-top-right-radius: 4px; border-bottom-right-radius: 4px; } /* ====== forum End ====== */ /* Logo ================================================================================ */ .header .mylogo { float:left; display:block; text-decoration:none !important; font-size: 40px; font-weight: bold; color: #fd6a56; text-transform: uppercase; } .header a.mylogo {} .header .mylogo span { font-size: 24px; font-weight: 300; color: #2c2c2c; display: block; margin-top: 10px; } .header .mylogo:hover {color: #fd6a56;} /* ================================================================================ */ сайт: http://razstore.ru Прикрепления:
8165671.jpg
(82.8 Kb)
|
pasishnikov, первое в bootstrap.css: {margin: .67em 0; font-size: 2em;} — это то же, что по умолчанию, можно удалить; в этом же файле некоторые другие стили для h1.
Для обведённого действуют последние из style.css (папка css). Не меняется, потому что системная CSS подгружается первой, поэтому или чистить код или !important. |
Заметила, что у меня на некоторых страница сайта 2 раза по H1. Например:
<div id="sideb"><h1 class="pagename">Бесплатные уроки</h1> <div class="newsblock"> <h1 class="newsblock-name">Germanwings A-320 crash in the Alps (pre-intermediate+)<span style="float:right"><img style="cursor:pointer;" align="absmiddle" title="Открыть" onclick="if(document.getElementById('mn25').style.display=='none'){document.getElementById('mn25').style.display='';this.src='http://s39.ucoz.net/img/fr/EmnAR_.gif';this.title='Закрыть';}else{document.getElementById('mn25').style.display='none';this.src='http://s39.ucoz.net/img/fr/EmnAR.gif';this.title='Открыть';}" border="0" src="http://s39.ucoz.net/img/fr/EmnAR.gif" width="6" height="16" /><span id="mn25" style="display:none;"><a href="javascript://" rel="nofollow" onclick="new _uWnd('TgEd',' ',-450,-100,{autosize:1,closeonesc:1,resize:0},{url:'/index/52-2-25'});return false;"><img border="0" title="Теги материала" src="http://s39.ucoz.net/img/fr/EmnTg.gif" onmouseover="this.src='http://s39.ucoz.net/img/fr/EmnTg_.gif'" onmouseout="this.src='http://s39.ucoz.net/img/fr/EmnTg.gif'" align="absmiddle" width="16" height="16" /></a><a href="javascript://" rel="nofollow" onclick="new _uWnd('cntEd',' ',-280,-100,{autosize:1,closeonesc:1,resize:0},{url:'/index/87-2-25'});return false;"><img border="0" title="Управление счетчиками" src="http://s39.ucoz.net/img/fr/EmnC.gif" onmouseover="this.src='http://s39.ucoz.net/img/fr/EmnC_.gif'" onmouseout="this.src='http://s39.ucoz.net/img/fr/EmnC.gif'" align="absmiddle" width="16" height="16" /></a><a href="http://www.webrepetitor.org/news/0-0-0-25-10"><img border="0" align="absmiddle" src="http://s39.ucoz.net/img/fr/EmnE.gif" onmouseover="this.src='http://s39.ucoz.net/img/fr/EmnE_.gif'" onmouseout="this.src='http://s39.ucoz.net/img/fr/EmnE.gif'" width="16" height="16" title="Редактировать" /></a><a href="javascript://" rel="nofollow" onclick="_entrRem('dib25','http://www.webrepetitor.org/index/92-4-25-xIiFAyK3','http://s39.ucoz.net','Вы подтверждаете удаление?');return false;"><img border="0" id="dib25" align="absmiddle" src="http://s39.ucoz.net/img/fr/EmnD.gif" onmouseover="if (this.src!='http://s39.ucoz.net/img/fr/EmnAjax.gif')this.src='http://s39.ucoz.net/img/fr/EmnD_.gif'" onmouseout="if (this.src!='http://s39.ucoz.net/img/fr/EmnAjax.gif')this.src='http://s39.ucoz.net/img/fr/EmnD.gif'" width="16" height="16" title="Удалить" /></a><img align="absmiddle" border="0" src="http://s39.ucoz.net/img/fr/Emn.gif" width="1" height="16" /></span></span></h1> <p align="center"><strong>Germanwings Plane Crash</strong></p>Может, просто тупо второй h1 заменить на h2? Или же в этом случае можно все оставить? Т.к. первый h1 оносится к блоку новости, переделанному под бесплатные уроки, которые вместо новостей, а второй h2 относится к каждому подгружаемому уроку.. |
| |||