Menu no Topo
+2
[K]oke
TheJokerGFR
6 participantes
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre a aparência do fórum :: Questões resolvidas sobre a aparência do fórum
Página 1 de 1
Menu no Topo
Detalhes da dúvida
Versão do fórum : PunBBNível de acesso : Fundador
Navegador usado : Google Chrome
Membros afetados : Todos os membros do fórum
Problema começou : Hoje
Endereço do fórum : http://brasilplaydiscovery.forumeiros.com/
Descrição do problema
Queria este menu do topo no meu forum.https://imgur.com/smI2XLQ
Forum aonde encontrei este menu no topo:
http://upforum.forumeiros.com/
Desde então, Grato.
Obrigado pela atenção.
TheJokerGFR- ****
- Membro desde : 22/09/2012
Mensagens : 316
Pontos : 473
Re: Menu no Topo
Olá, Coloque o código no seu templage
Até Mais!
- Código:
<div id="branding" class="fixed"><div class="wrapper clearfix"><a href="/" draggable="false"><div class="logo"></div></a> <style>.topbar .top-buttons {float: left;margin: 0 15px 0 0;}/* #branding .top-buttons ul li.active, #branding .top-buttons ul li:hover {-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}*/#branding .top-buttons ul li {width: 60px;height: 60px;float: left;cursor: pointer;display: inline-block;}#branding .top-buttons ul li .top-icon.portalicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/2wLVOsj.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.forumicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/a6KJZRc.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.membrosicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/gD4NvC8.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.faqicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/FGSSWUs.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.moreicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/xcFcUh9.png");background-repeat: no-repeat;overflow: hidden;}nav.top-buttons li a.menulink:hover {-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}nav.top-buttons li a.menulink.active {-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}nav.top-buttons li a.menulink {width: 60px;height: 60px;float: left;cursor: pointer;display: inline-block;}.PmenuMore:hover > .dark-menu {display: block!important;}.dark-menu {-moz-box-shadow: 0 5px 0 rgba(0,0,0,0.2) inset;-webkit-box-shadow: 0 5px 0 rgba(0,0,0,0.2) inset;box-shadow: 0 5px 0 rgba(0,0,0,0.2) inset;background: #525252;display: none;min-width: 300px;position: absolute;top: 60px;z-index: 1;cursor: default;}.menutitulomore{font-weight: bold;margin-bottom: 8px;text-transform: uppercase;text-shadow: 0 3px 0 rgba(0,0,0,0.2);color: #aaa;cursor: default;}.menumore {padding: 15px;}.linkmore {display: -webkit-box;margin-top: 10px;}.linkmore a:hover {color: #FFF;}.linkmore a {color: #F0F0F0;}</style><nav class="top-buttons main-nav"><ul><li><a class="menulink active" href="/portal" draggable="false"><div class="top-icon portalicon"></div></a></li><li><a class="menulink" href="/forum" draggable="false"><div class="top-icon forumicon"></div></a></li><li><a class="menulink" href="/memberlist" draggable="false"><div class="top-icon membrosicon"></div></a></li><li><a class="menulink" href="/faq" draggable="false"><div class="top-icon faqicon"></div></a></li><li class="PmenuMore"><a class="menulink" href="/more" draggable="false"><div class="top-icon moreicon"></div></a><div class="dark-menu" style="display:none;"><div class="menumore left"><snap class="menutitulomore">Úteis</snap><snap class="linkmore"><a href="/h1-" draggable="false">Banner's</a></snap><snap class="linkmore"><a href="/h3-" draggable="false">Guia dos Novatos</a></snap><snap class="linkmore"><a href="#h2-" draggable="false">UPShop</a></snap></div></div></li></ul></nav><style>input[type=text], input[type=password] {font-size: 12px;-moz-box-shadow: 0 5px 0 rgba(0,0,0,0.1) inset;-webkit-box-shadow: 0 5px 0 rgba(0,0,0,0.1) inset;box-shadow: 0 5px 0 rgba(0,0,0,0.1) inset;border: 1px solid #e3e3e3;color: #777;padding: 10px;-ms-box-sizing: border-box;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;overflow: hidden;font-family: 'Lucida Grande',Lucida Grande,Tahoma,Verdana,Arial,sans-serif;}input.submit_input.clickable {cursor: pointer!important;box-shadow: none!important;background-color: transparent!important;border: none!important;background-image: url("http://i.imgur.com/AdKhM2B.png")!important;background-repeat: no-repeat !important;overflow: hidden !important;background-position: -240px 0 !important;width: 40px !important;height: 40px !important;position: absolute !important;right: -2px !important;top: 0 !important;}div#search {position: absolute;padding-top: 10px;float: right;margin-left: -210px;}/*search*/#search_wrap{position:relative;background:#fff;display:block;height:34px;line-height:25px;box-shadow:rgba(0,0,0,0.24) 0px 0px 0px 1px;top:3.5px;}#adv_search{width:34px;height:34px;background:url('http://www.ipbfocus.com/skindemo/public/style_images/subway/advanced_search.png') no-repeat 50% 50%;text-indent:-3000em;display:inline-block;margin-left:3px}#adv_search:hover{background-color:rgba(0,0,0,0.2)}#search_options_menucontent{min-width:130px;white-space:nowrap;padding:0;background:#fff;border:1pxsolid #c6c6c6}#search_options_menucontentinput{margin-right:10px}#search_options_menucontentli{border-bottom:1px solid #ededed;white-space:nowrap}#search_options_menucontent li:last-of-type{border-bottom:0}#search_options_menucontent label:hover{background:#f5f5f5}#search_options_menucontentlabel{cursor:pointer;display:block;padding:06px}#search_options_menucontentli.title{padding:3px6px}#main_search{font-family: "Ubuntu",Helvetica,Arial,sans-serif;font-size: 14px;font-weight: 300;font-style: italic;color: #aaa;border: 0;width: 200px;height: 34px;}fieldset,img{ border:0; margin:0; padding:0}</style><div id="userNavbar"></div><div id="user_navigation" class="not_logged_in"><div id="search" class=""><form method="get" action="/search?search_where=11" id="search-box"><fieldset><span id="search_wrap" class="right"><input type="text" id="main_search" name="search_keywords" class="" size="17" tabindex="100" placeholder="Buscar..."><input type="submit" class="submit_input clickable" value=""></span></fieldset></form></div><ul class="ipsList_inline"> <style>a#sign_in, a#register_link {width: 60px;height: 60px;float: left;cursor: pointer;display: inline-block;}a#sign_in:hover{-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}#sign_in .top-icon.login {margin-top: 20px;margin: 20px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/nYZ1A5q.png");background-repeat: no-repeat;overflow: hidden;}</style><li><a class="menulink" href="#" title="Entrar" id="sign_in" draggable="false" onclick="sign_in_popup()"><div class="top-icon login"></div></a></li> </ul></div></div></div>
- Código:
#branding {
-moz-box-shadow: 0 10px 0 #1b82a2;
-webkit-box-shadow: 0 10px 0 #1b82a2;
background: #27aaca;
box-shadow: 0 10px 0 #1b82a2;
height: 60px;
margin: 0 auto 10px;
min-width: 840px;
position: relative;
width: 100%;
z-index: 1;
}
* {
margin: 0;
padding: 0;
}
user agent stylesheetdiv {
display: block;
}
Inherited from body
body {
background: #fff url(http://i.imgur.com/gBDslvN.jpg) fixed center top;
color: #5a5a5a;
font-family: tahoma,helvetica,arial,sans-serif;
font-size: 11px;
font-style: normal;
font-variant: normal;
font-weight: normal;
}
Até Mais!
Re: Menu no Topo
Em qual template, devo botar?
Fico no aguardo. Grato.
Fico no aguardo. Grato.
TheJokerGFR- ****
- Membro desde : 22/09/2012
Mensagens : 316
Pontos : 473
Re: Menu no Topo
Olá!
Painel de Controle > Visualização > Templates > overall_header (Geral)
Substitua o conteúdo do template por esse:
Até mais.
Painel de Controle > Visualização > Templates > overall_header (Geral)
Substitua o conteúdo do template por esse:
- Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
<!-- BEGIN switch_fb_login -->
<script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('#fa_ticker_content').css('display','block');
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">
//<![CDATA[
jQuery().ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
$(window).load(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = false, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
</head>
<body>
<!-- BEGIN hitskin_preview -->
<div id="hitskin_preview" style="display: block;">
<h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> <em>Hit</em>skin.com</h1>
<div class="content">
<p>
{hitskin_preview.L_THEME_SITE_PREVIEW}
<br />
<span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
</p>
</div>
</div>
<!-- END hitskin_preview -->
<!-- BEGIN switch_login_popup -->
<div id="login_popup" class="module main">
<div id="login_popup_title" class="main-head">
<div class="h3">{SITENAME}</div>
</div>
<div class="main-content">
{LOGIN_POPUP_MSG}
<div id="login_popup_buttons">
<form action="{S_LOGIN_ACTION}" method="get">
<input type="submit" class="button2" value="{L_LOGIN}" />
<input type="button" class="button2" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
<input id="login_popup_close" type="button" class="button2" value="{L_DONT_DISPLAY_AGAIN}" />
</form>
</div>
</div>
</div>
<!-- END switch_login_popup -->
<a id="top" name="top" accesskey="t"></a>
<div class="minwidth_IE">
<div class="layout_IE">
<div class="container_IE">
<div id="branding" class="fixed"><div class="wrapper clearfix"><a href="/" draggable="false"><div class="logo"></div></a> <style>.topbar .top-buttons {float: left;margin: 0 15px 0 0;}/* #branding .top-buttons ul li.active, #branding .top-buttons ul li:hover {-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}*/#branding .top-buttons ul li {width: 60px;height: 60px;float: left;cursor: pointer;display: inline-block;}#branding .top-buttons ul li .top-icon.portalicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/2wLVOsj.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.forumicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/a6KJZRc.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.membrosicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/gD4NvC8.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.faqicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/FGSSWUs.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.moreicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/xcFcUh9.png");background-repeat: no-repeat;overflow: hidden;}nav.top-buttons li a.menulink:hover {-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}nav.top-buttons li a.menulink.active {-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}nav.top-buttons li a.menulink {width: 60px;height: 60px;float: left;cursor: pointer;display: inline-block;}.PmenuMore:hover > .dark-menu {display: block!important;}.dark-menu {-moz-box-shadow: 0 5px 0 rgba(0,0,0,0.2) inset;-webkit-box-shadow: 0 5px 0 rgba(0,0,0,0.2) inset;box-shadow: 0 5px 0 rgba(0,0,0,0.2) inset;background: #525252;display: none;min-width: 300px;position: absolute;top: 60px;z-index: 1;cursor: default;}.menutitulomore{font-weight: bold;margin-bottom: 8px;text-transform: uppercase;text-shadow: 0 3px 0 rgba(0,0,0,0.2);color: #aaa;cursor: default;}.menumore {padding: 15px;}.linkmore {display: -webkit-box;margin-top: 10px;}.linkmore a:hover {color: #FFF;}.linkmore a {color: #F0F0F0;}</style><nav class="top-buttons main-nav"><ul><li><a class="menulink active" href="/portal" draggable="false"><div class="top-icon portalicon"></div></a></li><li><a class="menulink" href="/forum" draggable="false"><div class="top-icon forumicon"></div></a></li><li><a class="menulink" href="/memberlist" draggable="false"><div class="top-icon membrosicon"></div></a></li><li><a class="menulink" href="/faq" draggable="false"><div class="top-icon faqicon"></div></a></li><li class="PmenuMore"><a class="menulink" draggable="false"><div class="top-icon moreicon"></div></a><div class="dark-menu" style="display:none;"><div class="menumore left"><snap class="menutitulomore">Úteis</snap><snap class="linkmore"><a href="/h1-" draggable="false">Banner's</a></snap><snap class="linkmore"><a href="/h3-" draggable="false">Guia dos Novatos</a></snap><snap class="linkmore"><a href="#h2-" draggable="false">UPShop</a></snap></div></div></li></ul></nav><style>input[type=text], input[type=password] {font-size: 12px;-moz-box-shadow: 0 5px 0 rgba(0,0,0,0.1) inset;-webkit-box-shadow: 0 5px 0 rgba(0,0,0,0.1) inset;box-shadow: 0 5px 0 rgba(0,0,0,0.1) inset;border: 1px solid #e3e3e3;color: #777;padding: 10px;-ms-box-sizing: border-box;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;overflow: hidden;font-family: 'Lucida Grande',Lucida Grande,Tahoma,Verdana,Arial,sans-serif;}input.submit_input.clickable {cursor: pointer!important;box-shadow: none!important;background-color: transparent!important;border: none!important;background-image: url("http://i.imgur.com/AdKhM2B.png")!important;background-repeat: no-repeat !important;overflow: hidden !important;background-position: -240px 0 !important;width: 40px !important;height: 40px !important;position: absolute !important;right: -2px !important;top: 0 !important;}div#search {position: absolute;padding-top: 10px;float: right;margin-left: -210px;}/*search*/#search_wrap{position:relative;background:#fff;display:block;height:34px;line-height:25px;box-shadow:rgba(0,0,0,0.24) 0px 0px 0px 1px;top:3.5px;}#adv_search{width:34px;height:34px;background:url('http://www.ipbfocus.com/skindemo/public/style_images/subway/advanced_search.png') no-repeat 50% 50%;text-indent:-3000em;display:inline-block;margin-left:3px}#adv_search:hover{background-color:rgba(0,0,0,0.2)}#search_options_menucontent{min-width:130px;white-space:nowrap;padding:0;background:#fff;border:1pxsolid #c6c6c6}#search_options_menucontentinput{margin-right:10px}#search_options_menucontentli{border-bottom:1px solid #ededed;white-space:nowrap}#search_options_menucontent li:last-of-type{border-bottom:0}#search_options_menucontent label:hover{background:#f5f5f5}#search_options_menucontentlabel{cursor:pointer;display:block;padding:06px}#search_options_menucontentli.title{padding:3px6px}#main_search{font-family: "Ubuntu",Helvetica,Arial,sans-serif;font-size: 14px;font-weight: 300;font-style: italic;color: #aaa;border: 0;width: 200px;height: 34px;}fieldset,img{ border:0; margin:0; padding:0}</style><div id="userNavbar"></div><div id="user_navigation" class="not_logged_in"><div id="search" class=""><form method="get" action="/search?search_where=11" id="search-box"><fieldset><span id="search_wrap" class="right"><input type="text" id="main_search" name="search_keywords" class="" size="17" tabindex="100" placeholder="Buscar..."><input type="submit" class="submit_input clickable" value=""></span></fieldset></form></div><ul class="ipsList_inline"> <style>a#sign_in, a#register_link {width: 60px;height: 60px;float: left;cursor: pointer;display: inline-block;}a#sign_in:hover{-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}#sign_in .top-icon.login {margin-top: 20px;margin: 20px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/nYZ1A5q.png");background-repeat: no-repeat;overflow: hidden;}</style><li><a class="menulink" href="#" title="Entrar" id="sign_in" draggable="false" onclick="sign_in_popup()"><div class="top-icon login"></div></a></li> </ul></div></div></div>
<div class="pun">
<div id="pun-intro" class="clearfix">
<a href="{U_INDEX}" id="pun-logo"><img src="{LOGO}" alt="{L_INDEX}" /></a>
<!-- BEGIN switch_h1 -->
<div id="pun-title">{switch_h1.MAIN_SITENAME}</div>
<!-- END switch_h1 -->
<!-- BEGIN switch_desc -->
<p id="pun-desc">{switch_desc.SITE_DESCRIPTION}</p>
<!-- END switch_desc -->
</div>
<div id="pun-head">
<div id="pun-navlinks">
<ul class="clearfix">
<li>{GENERATED_NAV_BAR}</li>
</ul>
</div>
</div>
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display: none;width: 100%;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="padding-top:4px;">
<div class="module main">
<div class="main-content clearfix">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
<div id="main">
<div id="main-content">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<!-- END html_validation -->
- Código:
#branding{-moz-box-shadow:0 10px 0 #1b82a2;-webkit-box-shadow:0 10px 0 #1b82a2;background:#27aaca;box-shadow:0 10px 0 #1b82a2;height:60px;margin:0 auto 10px;min-width:840px;position:relative;width:100%;z-index:1}#branding .logo{-moz-transition:-moz-transform ease-out 0.1s, background 0.2s, width 1s;-webkit-transform:scale(0.93);-webkit-transition:-webkit-transform ease-out 0.1s, background 0.2s, width 1s;background:url(http://i.imgur.com/CJ2Lvkn.png) no-repeat transparent;background-size:155px;float:left;height:60px;margin:0 20px;transition:transform ease-out 0.1s, background 0.2s, width 1s;width:85px}#branding .logo:hover{-webkit-transform:scale(1);width:153px}#user_navigation{color:#fff;float:right;font-size:11px;height:60px;line-height:41px;overflow:hidden}div#search{float:right;margin-left:-210px;padding-top:10px;position:absolute}#search_wrap{background:#fff;box-shadow:rgba(0,0,0,0.24) 0 0 0 1px;display:block;height:34px;line-height:25px;position:relative;top:3.5px}#main_search{border:0;color:#aaa;font-family:Ubuntu,Helvetica,Arial,sans-serif;font-size:14px;font-style:italic;font-weight:300;height:34px;width:200px}input[type=password],input[type=text]{-moz-box-shadow:0 5px 0 rgba(0,0,0,0.1) inset;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-webkit-box-shadow:0 5px 0 rgba(0,0,0,0.1) inset;-webkit-box-sizing:border-box;border:1px solid #e3e3e3;box-shadow:0 5px 0 rgba(0,0,0,0.1) inset;box-sizing:border-box;color:#777;font-family:'Lucida Grande',Lucida Grande,Tahoma,Verdana,Arial,sans-serif;font-size:12px;overflow:hidden;padding:10px}input.submit_input.clickable{background-color:transparent!important;background-image:url(http://i.imgur.com/AdKhM2B.png)!important;background-position:-240px 0!important;background-repeat:no-repeat!important;border:none!important;box-shadow:none!important;cursor:pointer!important;height:40px!important;overflow:hidden!important;position:absolute!important;right:-2px!important;top:0!important;width:40px!important}#branding .top-buttons ul li{cursor:pointer;display:inline-block;float:left;height:60px;width:60px}
Até mais.
Consolado- Hiper Membro
- Membro desde : 09/05/2011
Mensagens : 4243
Pontos : 6128
Re: Menu no Topo
Nenhum dos dois, funcionaram, resultaram em nada.
Fico no aguardo.
Fico no aguardo.
TheJokerGFR- ****
- Membro desde : 22/09/2012
Mensagens : 316
Pontos : 473
Re: Menu no Topo
Olá!
Troque o seu overall_header, por esse:
Abraços!
Troque o seu overall_header, por esse:
- Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<div id="branding" class="fixed"><div class="wrapper clearfix"><a href="/"><div class="logo"></div></a> <style>
#branding{-moz-box-shadow:0 10px 0 #1b82a2;-webkit-box-shadow:0 10px 0 #1b82a2;background:#27aaca;box-shadow:0 10px 0 #1b82a2;height:60px;margin:0 auto 10px;min-width:840px;position:relative;width:100%;z-index:1}#branding .logo{-moz-transition:-moz-transform ease-out 0.1s, background 0.2s, width 1s;-webkit-transform:scale(0.93);-webkit-transition:-webkit-transform ease-out 0.1s, background 0.2s, width 1s;background:url(http://i.imgur.com/CJ2Lvkn.png) no-repeat transparent;background-size:155px;float:left;height:60px;margin:0 20px;transition:transform ease-out 0.1s, background 0.2s, width 1s;width:85px}#branding .logo:hover{-webkit-transform:scale(1);width:153px}#user_navigation{color:#fff;float:right;font-size:11px;height:60px;line-height:41px;overflow:hidden}div#search{float:right;margin-left:-210px;padding-top:10px;position:absolute}#search_wrap{background:#fff;box-shadow:rgba(0,0,0,0.24) 0 0 0 1px;display:block;height:34px;line-height:25px;position:relative;top:3.5px}#main_search{border:0;color:#aaa;font-family:Ubuntu,Helvetica,Arial,sans-serif;font-size:14px;font-style:italic;font-weight:300;height:34px;width:200px}input[type=password],input[type=text]{-moz-box-shadow:0 5px 0 rgba(0,0,0,0.1) inset;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-webkit-box-shadow:0 5px 0 rgba(0,0,0,0.1) inset;-webkit-box-sizing:border-box;border:1px solid #e3e3e3;box-shadow:0 5px 0 rgba(0,0,0,0.1) inset;box-sizing:border-box;color:#777;font-family:'Lucida Grande',Lucida Grande,Tahoma,Verdana,Arial,sans-serif;font-size:12px;overflow:hidden;padding:10px}input.submit_input.clickable{background-color:transparent!important;background-image:url(http://i.imgur.com/AdKhM2B.png)!important;background-position:-240px 0!important;background-repeat:no-repeat!important;border:none!important;box-shadow:none!important;cursor:pointer!important;height:40px!important;overflow:hidden!important;position:absolute!important;right:-2px!important;top:0!important;width:40px!important}#branding .top-buttons ul li{cursor:pointer;display:inline-block;float:left;height:60px;width:60px}
.topbar .top-buttons {float: left;margin: 0 15px 0 0;}/* #branding .top-buttons ul li.active, #branding .top-buttons ul li:hover {-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}*/#branding .top-buttons ul li {width: 60px;height: 60px;float: left;cursor: pointer;display: inline-block;}#branding .top-buttons ul li .top-icon.portalicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/2wLVOsj.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.forumicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/a6KJZRc.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.membrosicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/gD4NvC8.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.faqicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/FGSSWUs.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.moreicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/xcFcUh9.png");background-repeat: no-repeat;overflow: hidden;}nav.top-buttons li a.menulink:hover {-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}nav.top-buttons li a.menulink.active {-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}nav.top-buttons li a.menulink {width: 60px;height: 60px;float: left;cursor: pointer;display: inline-block;}.PmenuMore:hover > .dark-menu {display: block!important;}.dark-menu {-moz-box-shadow: 0 5px 0 rgba(0,0,0,0.2) inset;-webkit-box-shadow: 0 5px 0 rgba(0,0,0,0.2) inset;box-shadow: 0 5px 0 rgba(0,0,0,0.2) inset;background: #525252;display: none;min-width: 300px;position: absolute;top: 60px;z-index: 1;cursor: default;}.menutitulomore{font-weight: bold;margin-bottom: 8px;text-transform: uppercase;text-shadow: 0 3px 0 rgba(0,0,0,0.2);color: #aaa;cursor: default;}.menumore {padding: 15px;}.linkmore {display: -webkit-box;margin-top: 10px;}.linkmore a:hover {color: #FFF;}.linkmore a {color: #F0F0F0;}</style><nav class="top-buttons main-nav"><ul><li><a class="menulink" href="/portal"><div class="top-icon portalicon"></div></a></li><li><a class="menulink" href="/forum"><div class="top-icon forumicon"></div></a></li><li><a class="menulink" href="/memberlist"><div class="top-icon membrosicon"></div></a></li><li><a class="menulink" href="/faq"><div class="top-icon faqicon"></div></a></li><li class="PmenuMore"><a class="menulink" href="/more"><div class="top-icon moreicon"></div></a><div class="dark-menu" style="display:none;"><div class="menumore left"><snap class="menutitulomore">Úteis</snap><snap class="linkmore"><a href="/h1-">Banner's</a></snap><snap class="linkmore"><a href="/h3-">Guia dos Novatos</a></snap><snap class="linkmore"><a href="#h2-">UPShop</a></snap></div></div></li></ul></nav><style>input[type=text], input[type=password] {font-size: 12px;-moz-box-shadow: 0 5px 0 rgba(0,0,0,0.1) inset;-webkit-box-shadow: 0 5px 0 rgba(0,0,0,0.1) inset;box-shadow: 0 5px 0 rgba(0,0,0,0.1) inset;border: 1px solid #e3e3e3;color: #777;padding: 10px;-ms-box-sizing: border-box;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;overflow: hidden;font-family: 'Lucida Grande',Lucida Grande,Tahoma,Verdana,Arial,sans-serif;}input.submit_input.clickable {cursor: pointer!important;box-shadow: none!important;background-color: transparent!important;border: none!important;background-image: url("http://i.imgur.com/AdKhM2B.png")!important;background-repeat: no-repeat !important;overflow: hidden !important;background-position: -240px 0 !important;width: 40px !important;height: 40px !important;position: absolute !important;right: -2px !important;top: 0 !important;}div#search {position: absolute;padding-top: 10px;float: right;margin-left: -210px;}/*search*/#search_wrap{position:relative;background:#fff;display:block;height:34px;line-height:25px;box-shadow:rgba(0,0,0,0.24) 0px 0px 0px 1px;top:3.5px;}#adv_search{width:34px;height:34px;background:url('http://www.ipbfocus.com/skindemo/public/style_images/subway/advanced_search.png') no-repeat 50% 50%;text-indent:-3000em;display:inline-block;margin-left:3px}#adv_search:hover{background-color:rgba(0,0,0,0.2)}#search_options_menucontent{min-width:130px;white-space:nowrap;padding:0;background:#fff;border:1pxsolid #c6c6c6}#search_options_menucontentinput{margin-right:10px}#search_options_menucontentli{border-bottom:1px solid #ededed;white-space:nowrap}#search_options_menucontent li:last-of-type{border-bottom:0}#search_options_menucontent label:hover{background:#f5f5f5}#search_options_menucontentlabel{cursor:pointer;display:block;padding:06px}#search_options_menucontentli.title{padding:3px6px}#main_search{font-family: "Ubuntu",Helvetica,Arial,sans-serif;font-size: 14px;font-weight: 300;font-style: italic;color: #aaa;border: 0;width: 200px;height: 34px;}fieldset,img{ border:0; margin:0; padding:0}</style><div id="userNavbar"></div><div id="user_navigation" class="not_logged_in"><div id="search" class=""><form method="get" action="/search?search_where=11" id="search-box"><fieldset><span id="search_wrap" class="right"><input type="text" id="main_search" name="search_keywords" class="" size="17" tabindex="100" placeholder="Buscar..."><input type="submit" class="submit_input clickable" value=""></span></fieldset></form></div><ul class="ipsList_inline"> <style>a#sign_in, a#register_link {width: 60px;height: 60px;float: left;cursor: pointer;display: inline-block;}a#sign_in:hover{-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}#sign_in .top-icon.login {margin-top: 20px;margin: 20px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/nYZ1A5q.png");background-repeat: no-repeat;overflow: hidden;}</style><li><a class="menulink" href="#" title="Entrar" id="sign_in"><div class="top-icon login"></div></a></li></form> </ul></div></div></div>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
<!-- BEGIN switch_fb_login -->
<script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
$('#fa_ticker_content').css('display','block');
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
if (width_max > 0)
{
$('ul#fa_ticker_content li').css('float','left').css('list-style','none').width(width_item).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
if (slid_vert)
{
var height_max = h_perso;
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
$('ul#fa_ticker_content li').height(height_max);
}
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">//<![CDATA[
$(document).ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
$(document).ready(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = true, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<style type="text/css">
#page-footer, div.navbar, div.navbar ul.linklist {
display: block !important;
}
ul.linklist li.rightside, ul.linklist li.rightside a.copyright {
display: inline !important;
}
<!-- BEGIN switch_ticker_new -->
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
<!-- END switch_ticker_new -->
</style>
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "{G_ANALYTICS_ID}"]);
_gaq.push(["_trackPageview"]);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
</head>
<body id="phpbb">
<!-- BEGIN hitskin_preview -->
<div id="hitskin_preview" style="display: block;">
<h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> <em>Hit</em>skin.com</h1>
<div class="content">
<p>
{hitskin_preview.L_THEME_SITE_PREVIEW}
<br />
<span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
</p>
</div>
</div>
<!-- END hitskin_preview -->
<!-- BEGIN switch_login_popup -->
<div id="login_popup">
<div class="h3">{SITENAME}</div>
{LOGIN_POPUP_MSG}
<div id="login_popup_buttons">
<form action="{S_LOGIN_ACTION}" method="get">
<input type="submit" class="button1" value="{L_LOGIN}" />
<input type="button" class="button1" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
<input id="login_popup_close" type="button" class="button2" value="{L_DONT_DISPLAY_AGAIN}" />
</form>
</div>
</div>
<!-- END switch_login_popup -->
<div class="conteneur_minwidth_IE">
<div class="conteneur_layout_IE">
<div class="conteneur_container_IE">
<div id="wrap">
<a id="top" name="top" accesskey="t"></a>
{JAVASCRIPT}
<div id="page-header">
<div class="headerbar">
<div class="inner"><span class="corners-top"><span></span></span>
<div id="logo-desc">
<a href="{U_INDEX}" id="logo"><img src="{LOGO}" alt="{L_INDEX}" /></a>
<!-- BEGIN switch_h1 -->
<div id="site-title">{switch_h1.MAIN_SITENAME}</div>
<!-- END switch_h1 -->
<!-- BEGIN switch_desc -->
<p>{switch_desc.SITE_DESCRIPTION}</p>
<!-- END switch_desc -->
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="linklist navlinks{NAVBAR_BORDERLESS}">
<li>{GENERATED_NAV_BAR}</li>
</ul>
<!-- BEGIN switch_search_box -->
<div id="search-box">
<form method="get" action="{ACTION_SEARCH}" id="search">
<p class="nomargin"><input type="text" name="search_keywords" id="keywords" maxlength="128" class="inputbox search" value="{L_SEARCH}..." onclick="if (this.value == '{L_SEARCH}...') this.value = '';" onblur="if (this.value == '') this.value = '{L_SEARCH}...';" />
{JS_SESSION_ID_INPUT}
<input class="button2" type="submit" value="{L_SEARCH}" /></p>
</form>
</div>
<!-- END switch_search_box -->
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_blockD" style="margin-top:4px;">
<div class="module">
<div class="inner">
<span class="corners-top"><span></span></span>
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display:none">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
<span class="corners-bottom"><span></span></span>
</div>
</div>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="margin-top:4px;">
<div class="module">
<div class="inner">
<span class="corners-top"><span></span></span>
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
<span class="corners-bottom"><span></span></span>
</div>
</div>
</div>
<!-- END switch_ticker -->
</div>
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<div id="outer-wrapper">
<div id="wrapper">
<div id="container">
<div id="content">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
<div id="main">
<div id="main-content">
Abraços!
Re: Menu no Topo
O seu template era modificado? Tem certeza que publicou ele? Ficou perfeito:TheJokerGFR escreveu:Nenhum dos dois, funcionaram, resultaram em nada.
Fico no aguardo.
Consolado- Hiper Membro
- Membro desde : 09/05/2011
Mensagens : 4243
Pontos : 6128
Re: Menu no Topo
@Euficoloko, Ainda não resultou em nada.
@Consolado, :/ Não, minha template é a padrão do PunBB da Forumeiros, e a minha overall_header, não estava modificada, estava nos padrões.
Fico no aguardo.
@Consolado, :/ Não, minha template é a padrão do PunBB da Forumeiros, e a minha overall_header, não estava modificada, estava nos padrões.
Fico no aguardo.
TheJokerGFR- ****
- Membro desde : 22/09/2012
Mensagens : 316
Pontos : 473
Re: Menu no Topo
Tanto a minha quanto a do @Consolado funciona, poderia checar se publicou o seu template?
Re: Menu no Topo
Publiquei minha template, sim, ja chequei, no entanto, que toda vez que me passam codigo para modificar uma template, eu sempre boto para publicar, raramente esqueço, mas publiquei sim, chequei ja
TheJokerGFR- ****
- Membro desde : 22/09/2012
Mensagens : 316
Pontos : 473
Re: Menu no Topo
Olá;
É realmente muito estranho, testei os dois códigos meu e do Consolado. Tente adicionar esse código em sua Home-page:
É realmente muito estranho, testei os dois códigos meu e do Consolado. Tente adicionar esse código em sua Home-page:
- Código:
<div id="branding" class="fixed"><div class="wrapper clearfix"><a href="/"><div class="logo"></div></a> <style>
#branding{-moz-box-shadow:0 10px 0 #1b82a2;-webkit-box-shadow:0 10px 0 #1b82a2;background:#27aaca;box-shadow:0 10px 0 #1b82a2;height:60px;margin:0 auto 10px;min-width:840px;position:relative;width:100%;z-index:1}#branding .logo{-moz-transition:-moz-transform ease-out 0.1s, background 0.2s, width 1s;-webkit-transform:scale(0.93);-webkit-transition:-webkit-transform ease-out 0.1s, background 0.2s, width 1s;background:url(http://i.imgur.com/CJ2Lvkn.png) no-repeat transparent;background-size:155px;float:left;height:60px;margin:0 20px;transition:transform ease-out 0.1s, background 0.2s, width 1s;width:85px}#branding .logo:hover{-webkit-transform:scale(1);width:153px}#user_navigation{color:#fff;float:right;font-size:11px;height:60px;line-height:41px;overflow:hidden}div#search{float:right;margin-left:-210px;padding-top:10px;position:absolute}#search_wrap{background:#fff;box-shadow:rgba(0,0,0,0.24) 0 0 0 1px;display:block;height:34px;line-height:25px;position:relative;top:3.5px}#main_search{border:0;color:#aaa;font-family:Ubuntu,Helvetica,Arial,sans-serif;font-size:14px;font-style:italic;font-weight:300;height:34px;width:200px}input[type=password],input[type=text]{-moz-box-shadow:0 5px 0 rgba(0,0,0,0.1) inset;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-webkit-box-shadow:0 5px 0 rgba(0,0,0,0.1) inset;-webkit-box-sizing:border-box;border:1px solid #e3e3e3;box-shadow:0 5px 0 rgba(0,0,0,0.1) inset;box-sizing:border-box;color:#777;font-family:'Lucida Grande',Lucida Grande,Tahoma,Verdana,Arial,sans-serif;font-size:12px;overflow:hidden;padding:10px}input.submit_input.clickable{background-color:transparent!important;background-image:url(http://i.imgur.com/AdKhM2B.png)!important;background-position:-240px 0!important;background-repeat:no-repeat!important;border:none!important;box-shadow:none!important;cursor:pointer!important;height:40px!important;overflow:hidden!important;position:absolute!important;right:-2px!important;top:0!important;width:40px!important}#branding .top-buttons ul li{cursor:pointer;display:inline-block;float:left;height:60px;width:60px}
.topbar .top-buttons {float: left;margin: 0 15px 0 0;}/* #branding .top-buttons ul li.active, #branding .top-buttons ul li:hover {-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}*/#branding .top-buttons ul li {width: 60px;height: 60px;float: left;cursor: pointer;display: inline-block;}#branding .top-buttons ul li .top-icon.portalicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/2wLVOsj.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.forumicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/a6KJZRc.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.membrosicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/gD4NvC8.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.faqicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/FGSSWUs.png");background-repeat: no-repeat;overflow: hidden;}#branding .top-buttons ul li .top-icon.moreicon {margin: 18px; margin-top: 18px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/xcFcUh9.png");background-repeat: no-repeat;overflow: hidden;}nav.top-buttons li a.menulink:hover {-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}nav.top-buttons li a.menulink.active {-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}nav.top-buttons li a.menulink {width: 60px;height: 60px;float: left;cursor: pointer;display: inline-block;}.PmenuMore:hover > .dark-menu {display: block!important;}.dark-menu {-moz-box-shadow: 0 5px 0 rgba(0,0,0,0.2) inset;-webkit-box-shadow: 0 5px 0 rgba(0,0,0,0.2) inset;box-shadow: 0 5px 0 rgba(0,0,0,0.2) inset;background: #525252;display: none;min-width: 300px;position: absolute;top: 60px;z-index: 1;cursor: default;}.menutitulomore{font-weight: bold;margin-bottom: 8px;text-transform: uppercase;text-shadow: 0 3px 0 rgba(0,0,0,0.2);color: #aaa;cursor: default;}.menumore {padding: 15px;}.linkmore {display: -webkit-box;margin-top: 10px;}.linkmore a:hover {color: #FFF;}.linkmore a {color: #F0F0F0;}</style><nav class="top-buttons main-nav"><ul><li><a class="menulink" href="/portal"><div class="top-icon portalicon"></div></a></li><li><a class="menulink" href="/forum"><div class="top-icon forumicon"></div></a></li><li><a class="menulink" href="/memberlist"><div class="top-icon membrosicon"></div></a></li><li><a class="menulink" href="/faq"><div class="top-icon faqicon"></div></a></li><li class="PmenuMore"><a class="menulink" href="/more"><div class="top-icon moreicon"></div></a><div class="dark-menu" style="display:none;"><div class="menumore left"><snap class="menutitulomore">Úteis</snap><snap class="linkmore"><a href="/h1-">Banner's</a></snap><snap class="linkmore"><a href="/h3-">Guia dos Novatos</a></snap><snap class="linkmore"><a href="#h2-">UPShop</a></snap></div></div></li></ul></nav><style>input[type=text], input[type=password] {font-size: 12px;-moz-box-shadow: 0 5px 0 rgba(0,0,0,0.1) inset;-webkit-box-shadow: 0 5px 0 rgba(0,0,0,0.1) inset;box-shadow: 0 5px 0 rgba(0,0,0,0.1) inset;border: 1px solid #e3e3e3;color: #777;padding: 10px;-ms-box-sizing: border-box;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;overflow: hidden;font-family: 'Lucida Grande',Lucida Grande,Tahoma,Verdana,Arial,sans-serif;}input.submit_input.clickable {cursor: pointer!important;box-shadow: none!important;background-color: transparent!important;border: none!important;background-image: url("http://i.imgur.com/AdKhM2B.png")!important;background-repeat: no-repeat !important;overflow: hidden !important;background-position: -240px 0 !important;width: 40px !important;height: 40px !important;position: absolute !important;right: -2px !important;top: 0 !important;}div#search {position: absolute;padding-top: 10px;float: right;margin-left: -210px;}/*search*/#search_wrap{position:relative;background:#fff;display:block;height:34px;line-height:25px;box-shadow:rgba(0,0,0,0.24) 0px 0px 0px 1px;top:3.5px;}#adv_search{width:34px;height:34px;background:url('http://www.ipbfocus.com/skindemo/public/style_images/subway/advanced_search.png') no-repeat 50% 50%;text-indent:-3000em;display:inline-block;margin-left:3px}#adv_search:hover{background-color:rgba(0,0,0,0.2)}#search_options_menucontent{min-width:130px;white-space:nowrap;padding:0;background:#fff;border:1pxsolid #c6c6c6}#search_options_menucontentinput{margin-right:10px}#search_options_menucontentli{border-bottom:1px solid #ededed;white-space:nowrap}#search_options_menucontent li:last-of-type{border-bottom:0}#search_options_menucontent label:hover{background:#f5f5f5}#search_options_menucontentlabel{cursor:pointer;display:block;padding:06px}#search_options_menucontentli.title{padding:3px6px}#main_search{font-family: "Ubuntu",Helvetica,Arial,sans-serif;font-size: 14px;font-weight: 300;font-style: italic;color: #aaa;border: 0;width: 200px;height: 34px;}fieldset,img{ border:0; margin:0; padding:0}</style><div id="userNavbar"></div><div id="user_navigation" class="not_logged_in"><div id="search" class=""><form method="get" action="/search?search_where=11" id="search-box"><fieldset><span id="search_wrap" class="right"><input type="text" id="main_search" name="search_keywords" class="" size="17" tabindex="100" placeholder="Buscar..."><input type="submit" class="submit_input clickable" value=""></span></fieldset></form></div><ul class="ipsList_inline"> <style>a#sign_in, a#register_link {width: 60px;height: 60px;float: left;cursor: pointer;display: inline-block;}a#sign_in:hover{-moz-box-shadow: 0 5px 0 #1b82a2 inset;-webkit-box-shadow: 0 5px 0 #1b82a2 inset;box-shadow: 0 5px 0 #1b82a2 inset;background-color: #249bb8;}#sign_in .top-icon.login {margin-top: 20px;margin: 20px;width: 40px;height: 40px;background-image: url("http://i.imgur.com/nYZ1A5q.png");background-repeat: no-repeat;overflow: hidden;}</style><li><a class="menulink" href="#" title="Entrar" id="sign_in"><div class="top-icon login"></div></a></li></form> </ul></div></div></div>
Re: Menu no Topo
@Euficoloko, Fods, que não queria na home page, pois queria ela no forum, fixada na overall, e não na home page :/
@Edit: Botei na Homepage e não ficou no topo, fico embaixo da logo/banner..
@Edit: Botei na Homepage e não ficou no topo, fico embaixo da logo/banner..
TheJokerGFR- ****
- Membro desde : 22/09/2012
Mensagens : 316
Pontos : 473
Re: Menu no Topo
Saudações!
Adicione mais este código no inicio de teu CSS:
Adicione no conteúdo:
Salve e Visualize seu fórum.
Melhores cumprimentos,
Sennior.
Adicione mais este código no inicio de teu CSS:
Vá em: Painel de controle Visualização Cores "Aba" Folha CSS. |
- Código:
div#branding {position: relative!important;top: -25pc!important;width: 104%!important;left: -26px!important;}.pun {margin-top:45px!important;}
Salve e Visualize seu fórum.
Melhores cumprimentos,
Sennior.
Re: Menu no Topo
Segundo o regulamento do setor de suporte, tópicos com mais de 7 dias devem ser arquivados por abandono do próprio autor. Você poderá obter mais informações lendo este tópico: Regras para a postagem de dúvidas Caso ainda tenha dúvidas, aconselhamos que crie um novo tópico no setor de suporte, tendo em vista que este não deve ficar na seção por mais de 7 dias. Tópico marcado como Resolvido. |
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre a aparência do fórum :: Questões resolvidas sobre a aparência do fórum
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos