A
AnD34
Delta
Usuário com poucas negociações! Use sempre o saldo do ForoBeta!
Si quieres tener enlaces a tu perfil de las Redes Sociales en la Cabecera de tu foro, aquí tienes una solución.
Duración: 5 minutos.
Dificultad: Baja.
Redes: Facebook y Tuenti
Extra: Youtube
Instrucciones
- Descarga el archivo adjunto Ver o anexo 2725 el cual contiene las imágenes necesarias.
- Ve al AdminCP -> Estilos y Plantillas, y edita las siguientes plantillas:
- header
Busca:
Añade debajo:HTML:<div class="above_body"> <!-- closing tag is in template navbar --> <div id="header" class="floatcontainer doc_header"> {vb:raw ad_location.ad_header_logo} <div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div>
HTML:<!--Redes Sociales--> <div class="social"> <div class="base"> <a class="social-youtube" href="http://www.youtube.com/tucanal" target="_blank">Youtube</a> </div> <div class="base"> <a class="social-facebook" href="http://www.facebook.com/tuperfil" target="_blank">Facebook</a> </div> <div class="base"> <a class="social-tuenti" href="http://www.tuenti.es/tuperfil" target="_blank">Tuenti</a> </div> </div> <!-- fin Redes Sociales--> - additional.css
Añade al final:
Inserir CODE, HTML ou PHP:/* ******* Redes Sociales ******* */ .social{ margin-left:10px; float:left; } .base{ background:transparent url(images/icons/base.png) no-repeat; float:left; width:27px; height:23px; margin-left:4px; } a.social-youtube:link, a.social-youtube:visited{ text-indent:-20000px; background:transparent url(images/icons/youtube.png) no-repeat; display:block; width:17px; height:17px; margin-top:2px; margin-left:5px; } a.social-youtube:hover{ background:transparent url(images/icons/youtube_hover.png) no-repeat; } a.social-youtube:focus{ outline:none; } a.social-facebook:link, a.social-facebook:visited{ text-indent:-20000px; background:transparent url(images/icons/facebook.png) no-repeat; display:block; width:17px; height:17px; margin-top:2px; margin-left:5px; } a.social-facebook:hover{ background:transparent url(images/icons/facebook_hover.png) no-repeat; } a.social-facebook:focus{ outline:none; } a.social-tuenti:link, a.social-tuenti:visited{ text-indent:-20000px; background:transparent url(images/icons/tuenti.png) no-repeat; display:block; width:17px; height:17px; margin-top:2px; margin-left:5px; } a.social-tuenti:hover{ background:transparent url(images/icons/tuenti_hover.png) no-repeat; } a.social-tuenti:focus{ outline:none; }
- header
No olvides guardar las Modificaciones!!
Si tienes alguna duda, pregunta sin miedo.
Esto y más en vBHispano.com
tags: insertar menu redes sociales iconos youtube facebook tuenti link en header cabecera logo