News:

Wondering if this will always be free?  See why free is better.

Main Menu

Dúvidas no tema Headline

Started by dannybm, March 08, 2011, 11:10:55 AM

Previous topic - Next topic

dannybm

Estou enviando o Style.css que é menor. O index. php é enorme, mando ele todo ou só algumas partes?

Obrigada.
/* Normal, standard links. */
a:link {
    color: #FF7800;
    text-decoration: none;
}
a:visited {
    color: #FF7800;
    text-decoration: none;
}
a:hover {
    color: #333333;
    text-decoration: underline;
}
/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited {
    color: #333;
    text-decoration: none;
}
a.nav:hover {
    color: #FF7800;
    text-decoration: underline;
}
/* Tables should show empty cells. */
table {
    empty-cells: show;
}
/* By default (td, body..) use verdana in black. */
body, td, th, tr {
    line-height: 125%;
    font-family: verdana, sans-serif;
    color: #333333;
    font-size: small;
}
/* The main body of the entire forum. */
body {
   background: url(images/fundo4.png) repeat-x #CFD4DA;
   font-family: Trebuchet MS, Lucida Grande, Verdana, Georgia, Serif;
   font-size: 76%;
   margin: 0;
   padding: 30px 0 0 0;
}
/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button {
   color: #000000;
   font-family: verdana, serif;
   background: #F8F8F4;
   border: 1px solid #F2F1E9;
}
input, button {
   font-size: 90%;
}
textarea {
   font-size: 100%;
   color: #000000;
   font-family: verdana, serif;
}
/* All input elements that are checkboxes or radio buttons. */
input.check {
}
/* Selects are a bit smaller, because it makes them look even better 8). */
select {
   font-size: 90%;
   font-weight: normal;
   color: #000000;
   font-family: verdana, sans-serif;
   background: #F8F8F4;
   border: 1px solid #F2F1E9;
}
/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor {
   height: 1px;
   border: 0;
   color: #666666;
   background-color: #666666;
}
/* No image should have a border when linked */
a img{
border: 0;
}
/* A quote, perhaps from another post. */
.quote {
   color: #000000;
   background-color: #DFDED6;
   border-top: 2px solid #D1C8BA;
   border-bottom: 2px solid #D1C8BA;
   margin: 2px;
   padding: 3px;
   font-family: Trebuchet MS, Lucida Grande, Verdana, Georgia, Serif;
   font-size: x-small;
   font-style: italic;
   line-height: 1.6em;
}
/* A code block - maybe even PHP ;). */
.code {
   color: #000000;
   background-color: #dddddd;
   font-family: "courier new", "times new roman", monospace;
   font-size: x-small;
   line-height: 1.3em;
   /* Put a nice border around it. */
   border: 1px solid #000000;
   margin: 1px auto 1px auto;
   padding: 1px;
   width: 99%;
   /* Don't wrap its contents, and show scrollbars. */
   white-space: nowrap;
   overflow: auto;
   /* Stop after about 24 lines, and just show a scrollbar. */
   max-height: 24em;
}
/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader {
   background: #fcfcfc;
   color: #333333;
   padding: 5px;
   text-decoration: none;
   font-style: normal;
   font-weight: bold;
   font-size: x-small;
   line-height: 1.2em;
}
/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help {
    cursor: help;
}
/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction {
    color: red;
}
/* The main post box - this makes it as wide as possible. */
.editor {
    width: 96%;
}
/* Highlighted text - such as search results. */
.highlight {
    background-color: #FFF000;
    font-weight: bold;
    color: #000;
}
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, .windowbg2, .windowbg3, #preview_body {
   background: #FFF url(images/winbg.png) 0 0 repeat-x;
}
/* the today container in calendar */
.calendar_today {
   color: #f0a118;
   font-weight: bolder;
   font-style: italic;
   text-align: center;
   background-color: #f5f5f5;
}
/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td {
    color: #333;
    font-style: normal;
    background: #EFEDE8 url(images/titlebg2.gif) repeat-x;
    padding-left: 10px;
    padding-right: 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited {
    font-weight: bold;
    color: #333;
    font-style: normal;
    font-size: 12px;
}
.titlebg a:hover {
    color: #666;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited {
    color: #333;
    font-style: normal;
    text-decoration: underline;
}
.titlebg2 a:hover {
    text-decoration: underline;
}
/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg, tr.catbg td, .catbg3, tr.catbg3 td {
    color: #333;
    padding-left: 10px;
    padding-right: 10px;
    background: #EAE9E1 url(images/catbg.gif) repeat-x;
}
.catbg2, tr.catbg2 td {
    color: #333;
    padding-left: 10px;
    padding-right: 10px;
    background: #EAE9E1 url(images/catbg.gif) repeat-x;
}
.catbg, .catbg2, .catbg3 {
   border-bottom: 1px solid #E0DFD7;
}
.catbg, .catbg2 {
    font-weight: bold;
    font-size: 12px;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited {
    font-size: 95%;
    color: #333;
    text-decoration: none;
}
.catbg a:link, .catbg a:visited, .catbg2 a:link, .catbg2 a:visited {
    color: #333;
    text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover {
    color: #666;
    text-decoration: underline;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
   background-color: #e6e6e6;
   padding: 0px;
}
/* This is used on tables that should just have a border around them. */
.tborder
{
   padding: 0;
   border: 1px solid #cfcfcf;
   background-color: #ffffff;
}
/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext {
    font-size: 90%;
    font-family: verdana, sans-serif;
}
.middletext {
    line-height: 18px;
    text-indent: 10px;
}
.normaltext {
    font-size: small;
}
.largetext {
    font-size: large;
}
/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage {
    width: 100%;
    overflow: auto;
    line-height: 1.3em;
}
/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature {
    width: 100%;
    overflow: auto;
    padding-bottom: 3px;
    line-height: 1.3em;
}
/* Sometimes there will be an error when you post */
.error {
    color: red;
}
/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last, .mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last {
    color: #070707;
    vertical-align: top;
    text-transform: uppercase;
}
.maintab_back, .maintab_active_back, .mirrortab_back, .mirrortab_active_back {
    color: #090909;
    text-decoration: none;
    font-size: 9px;
    font-family: tahoma, sans-serif;
    padding: 5px 10px 5px 10px;
}
.maintab_first,.mirrortab_first {
    display: none;
}
.maintab_back,.mirrortab_back {}

.maintab_last,.mirrortab_last {
    display: none;
}
.maintab_active_first, .mirrortab_active_first {
    display: none;
}
.maintab_active_back, .mirrortab_active_back {
    background: #efefef;
    border-left: 4px solid #D95300;
}
.maintab_active_last, .mirrortab_active_last {
    display: none;
}
/* how links behave in main tab. */
.maintab_back a:link, .maintab_back a:visited, .mirrortab_back a:link, .mirrortab_back a:visited {
    color: #252525;
    text-decoration: none;
    font-weight: bold;
}
.maintab_active_back a:link, .maintab_active_back a:visited, .mirrortab_active_back a:link, .mirrortab_active_back a:visited {
    color: #272727;
    text-decoration: none;
    font-weight: bold;
}
.maintab_back a:hover, .maintab_active_back a:hover, .mirrortab_back a:hover, .mirrortab_active_back a:hover {
   color: #D95300;
    text-decoration: underline;
}
/* The AJAX notifier */
#ajax_in_progress {
    background: #32CD32;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 18pt;
    padding: 3px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}
/* This is for the guests if they are not logged in. */
.Warn-guest {
   border: 1px solid #FEFEFE;
   background: #EAE9E1 url(images/catbg.gif) repeat-x;
   margin: 10px 0 4px 0;
   text-align: center;
   line-height: 30px;
   vertical-align: middle;
   color: #333;
}
.Warn-guest a:link, .Warn-guest a:visited, .Warn-guest a:active {
   color: #333;
   font-weight: normal;
   text-decoration: underline;
}
.Warn-guest a:hover {
   text-decoration: none;
   color: #FF7800;
}
#wrapper {
    width: 980px;
    min-width: 720px;
    margin: 0 auto;
    padding: 0;
}
#logo {
    position: absolute;
    float: left;
    top: 20px;
    left: 15px;
    display: block;
    width: 465px;
    height: 97px;
    cursor: pointer;
   background: url(./images/img/logo.png) no-repeat;
}
#header {
    position: relative;
    height: 128px;
    overflow: hidden;
    background: #fefefe url(images/img/header-bg.gif) 0 0 repeat-x;
}
#head-r {
    height: 128px;
    background: url(images/img/header-r.gif) 100% 0 no-repeat;
}
#head-l {
    background: url(images/img/header-l.gif) 0 0 no-repeat;
}
#userarea {
    height: 53px;
    float: right;
    padding: 12px 25px 0 0;
    text-align: right;
    font-size: 1.0em;
    color: #333;
    font-family: tahoma, sans-serif;
}
#userarea a:link, #userarea a:visited {
    color: #FF7800;
}
#userarea a:hover {
    text-decoration: underline;
}
#searcharea {
   position: absolute;
   bottom: 7px;
   right: 0px;
   height: 34px;
   width: 255px;
   background: url(images/img/search-bg.png) no-repeat;
   overflow: hidden;
}
#searcharea .inputbox {
   background: transparent;
   color: #a3a192;
   font-size: 12px;
   margin: 5px 0 0 10px;
   border: none;
   width: 180px;
   height: 30px;
}
#toolbar {
    margin: 0;
    padding: 0;
    height: 33px;
    background: #fffffe;
}
/*=== Top Menu ===*/
#topmenu{
   background: url(images/img/topmenu-bgr.gif) repeat-x top;
   height: 33px;
   margin: 0 0 20px;
   margin-bottom: -20px;
}
#topmenu li{
   background: url(images/img/topmenu-sep.gif) no-repeat left;
   float: left;
   line-height: 33px;
}
#topmenu li a{
   color: #333333;
   display: block;
   margin: 0 1px 0 0;
   padding: 0 15px;
}
#topmenu li a:hover,#topmenu li a.chosen{
   color: #ff7800;
   text-decoration: none;
}
/* Nav */
#nav, #nav ul{
   padding: 0;
   margin: 0;
   float:left;
   list-style: none;
}
#nav {
   padding: 0 0 0 25px;
   width:auto;
}
#nav a {
   display: block;
}
#nav li {
   float: left;
   line-height:33px;   
}
#nav li a:hover {
   background: none;
}
#nav li.chosen a {
   color: #ff7800;
   text-decoration: none;
}
#nav li ul {
   position: absolute;
   width: 15em;
   left: -999em;
}
#nav li:hover ul {
   left: auto;
   z-index:1000;   
}
#nav li ul li {
   background: url(images/img/topmenu-bgr.gif) repeat-x top;
   width:15em;
   border:1px solid #e5e4de;   
}
#nav li ul ul {
   margin: -34px 0 0 15em;
}
#nav li:hover ul ul {
   left: -999em;
}
#nav li:hover ul, #nav li li:hover ul {
   left: auto;
}
#nav li:hover ul ul, #nav li:hover ul ul ul {
   left: -999em;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul {
   left: auto;
}

#bodyarea {
    padding: 10px;
    margin: 0;
    background: #fff url(images/img/t-main.gif) 0 0 repeat-x;
}
#footer {
    background: url(images/img/bot-bg.gif) 0 100% repeat-x;
}
#foot-r {
    height: 45px;
    background: url(images/img/bot-r.gif) 100% 100% no-repeat;
}
#foot-l {
    background: url(images/img/bot-l.gif) 0 100% no-repeat;
}
#footerarea {
    text-align: center;
    padding: 10px;
    color: #333
}
#footerarea a:link, #footerarea a:visited {
    color: #333;
}
#footerarea a:hover {
    color: #FF7800;
    text-decoration: underline;

TaijovuNeji

Amigo ao clicar no botão "responder" vai aparecer para vc digitar a mensagem do post, e abaixo um botão de "+" escrito na frente "Opções Adicionais..." clique nisto.

Aparecerá uma opção "anexar" clique no botão "selecionar arquivo" e selecione o arquivo index.template.php do seu theme, não precisa ficar colocando parte do código nos posts, é só anexar o arquivo todo fazendo como eu acabei de dizer..
Hospedagem 20GB, Cpanel, Windows ou Linux, com suporte a PHP ou ASP, R$ 30,00 por mes ou 290 por ano


meu site: http://www.dungeonmakers.com.br/forum
Não atendo PM para pedidos de suporte/ajuda. Para isso existe o forum!!!

dannybm

Ah sim, segue o arquivo index.template, será que anexei corretamente?

obrigada!

Spectrum..!!

#23
Quote from: TaijovuNeji on March 09, 2011, 10:56:32 PM
Creio eu que onde chama o logo do seu theme é na página index.template.php, mas tem como vc anexar esse arquivo e tambem o board.temlate.php para darmos uma olhada?

Eu não entendo, basta copiar a nova imagem na pasta /images/img do tema, que por sua vez já é linkada por padrão....

Existem pessoas que deixam de buscar algo que dura a vida toda, para somente conquistar algo que dura alguns momentos...
Ser humilde; não é ser menos que alguém. É saber que não somos mais que ninguém!
SMF 2.0.4 | Meu site -->
Dell Vostro 3560 + AMD Radeon™ HD 7670M 1GB| Windows 8 Pro | Fedora 18 | IE10 | Google Chrome

Não atendo PM para pedidos de suporte/ajuda

dannybm

A imagem do logo já está na pasta imagens. Quando eu clico em cima dela, nada acontece. O meu fórum está dentro de um site, eu preciso que, quando clique na logo, seja direcionado para a home-page do site.

Se você quiser entender melhor, dá uma olhadinha no site: www.fairycut.com.br [nofollow] e vá na página do fórum. Uma vez lá dentro você não tem como voltar para o site....

Spectrum..!!

Quote from: dannybm on March 10, 2011, 03:41:55 PM
O meu fórum está dentro de um site, eu preciso que, quando clique na logo, seja direcionado para a home-page do site.

Faltou esta importante informação na criação do post.......

Existem pessoas que deixam de buscar algo que dura a vida toda, para somente conquistar algo que dura alguns momentos...
Ser humilde; não é ser menos que alguém. É saber que não somos mais que ninguém!
SMF 2.0.4 | Meu site -->
Dell Vostro 3560 + AMD Radeon™ HD 7670M 1GB| Windows 8 Pro | Fedora 18 | IE10 | Google Chrome

Não atendo PM para pedidos de suporte/ajuda

dannybm

Eu achei que vocês tinham entendido, desculpa......

Mas e aí? Alguém tem alguma pista?

Obrigada,
dannybm

TaijovuNeji

O correto não seria adicionar um botão no menu com o nome "Portal"? Ae ao clicar neste botão o membro volta para o site inicial, na minha opinião fica estranho clicar no logo do forum e ir parar em outro lugar..

Mas se é isso que vc quer eu editei o index.template.php para vc e coloquei para levar ao portal e não ao forum, qualquer problema avise, pois não tive como testar, o arquivo está em anexo
Hospedagem 20GB, Cpanel, Windows ou Linux, com suporte a PHP ou ASP, R$ 30,00 por mes ou 290 por ano


meu site: http://www.dungeonmakers.com.br/forum
Não atendo PM para pedidos de suporte/ajuda. Para isso existe o forum!!!

Spectrum..!!

Quote from: TaijovuNeji on March 10, 2011, 10:43:35 PM
O correto não seria adicionar um botão no menu com o nome "Portal"? Ae ao clicar neste botão o membro volta para o site inicial, na minha opinião fica estranho clicar no logo do forum e ir parar em outro lugar..

Mas se é isso que vc quer eu editei o index.template.php para vc e coloquei para levar ao portal e não ao forum, qualquer problema avise, pois não tive como testar, o arquivo está em anexo


Antes de continuarmos precisamos ver se estamos falando da mesma versão do SMF.

Taijo, este index é do 1.1x?

Existem pessoas que deixam de buscar algo que dura a vida toda, para somente conquistar algo que dura alguns momentos...
Ser humilde; não é ser menos que alguém. É saber que não somos mais que ninguém!
SMF 2.0.4 | Meu site -->
Dell Vostro 3560 + AMD Radeon™ HD 7670M 1GB| Windows 8 Pro | Fedora 18 | IE10 | Google Chrome

Não atendo PM para pedidos de suporte/ajuda

dannybm

Amigos, consegui! Muito obrigada!!

Instalei o arquivo enviado pelo Taijo e deu certo!!!!!!!!!

Obrigada pela paciência!

dannybm

TaijovuNeji

Quote from: Spectrum..!!☻ on March 11, 2011, 04:43:19 AM
Quote from: TaijovuNeji on March 10, 2011, 10:43:35 PM
O correto não seria adicionar um botão no menu com o nome "Portal"? Ae ao clicar neste botão o membro volta para o site inicial, na minha opinião fica estranho clicar no logo do forum e ir parar em outro lugar..

Mas se é isso que vc quer eu editei o index.template.php para vc e coloquei para levar ao portal e não ao forum, qualquer problema avise, pois não tive como testar, o arquivo está em anexo


Antes de continuarmos precisamos ver se estamos falando da mesma versão do SMF.

Taijo, este index é do 1.1x?

Não não spectrum o arquivo é o que a danny tinha anexado ^^

Opa disponha danny, estamos ae para ajudar ^.^
Hospedagem 20GB, Cpanel, Windows ou Linux, com suporte a PHP ou ASP, R$ 30,00 por mes ou 290 por ano


meu site: http://www.dungeonmakers.com.br/forum
Não atendo PM para pedidos de suporte/ajuda. Para isso existe o forum!!!

Spectrum..!!

Perfeito então.

Tópico solucionado.

abçs,

Existem pessoas que deixam de buscar algo que dura a vida toda, para somente conquistar algo que dura alguns momentos...
Ser humilde; não é ser menos que alguém. É saber que não somos mais que ninguém!
SMF 2.0.4 | Meu site -->
Dell Vostro 3560 + AMD Radeon™ HD 7670M 1GB| Windows 8 Pro | Fedora 18 | IE10 | Google Chrome

Não atendo PM para pedidos de suporte/ajuda

Advertisement: