duminică, 4 decembrie 2011

Superb Meniu CSS pentru bloggeri

1.Login la tabloul de bord Blogger -> Aspect--> Editati HTML
2.Copy codul de mai jos şi inseraţi-l chiar inainte de tag </head>.

<style type='text/css'>
#catmenucontainer{
height:29px;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5bstlO3WtjDJMbbl1dVrHb8mmpcB8nqiGTGMcaO5VX4QCrAFRtOYX1hO0-358DOzBPuhltmHP32hK6o0aoAAGJXaKWf1Sz8f1taU0lKeAK-bOjLLM_2sVvLVp31AdwSjQJAYVGvsOApSz/) repeat-x;
display:block;
padding:0px 0 0px 0px;
font: 14px &quot;Century gothic&quot;,verdana, Arial, sans-serif;
font-weight:normal;
border-top:1px solid #686D6F;
}

#catmenu ,#catmenu ul {
margin: 0px 5px;
padding: 0px;
list-style: none;
height:29px;
}

#catmenu  a {
color: #999;
display: block;
font-weight: normal;
padding: 4px 10px 6px 10px;
}

#catmenu  a:hover {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7ixS3h2H2lOwpswoklI_YcS9z6ljM6Q2aHfYAS7VW1Xcpc4xVH2SJfgfgeyp1Khg-f-HUkjpoEdwvAwPCZR6WGonwMM5A8Vwxgt3izTUsI9PESTCU-eca9YyKYX10X_nUuGeGPngjlQiU/) repeat-x;
color: #fff;
display: block;
text-decoration: none;
}

#catmenu  li {
float: left;
margin: 0px;
padding: 0px;
}

#catmenu  li li {
float: left;
margin: 0px 0px 0px 0px;
padding: 0px;
width: 130px;
}

#catmenu  li li a, #catmenu  li li a:link, #catmenu  li li a:visited {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5bstlO3WtjDJMbbl1dVrHb8mmpcB8nqiGTGMcaO5VX4QCrAFRtOYX1hO0-358DOzBPuhltmHP32hK6o0aoAAGJXaKWf1Sz8f1taU0lKeAK-bOjLLM_2sVvLVp31AdwSjQJAYVGvsOApSz/) repeat-x;
width: 150px;
float: none;
margin: 0px;
padding: 4px 10px 5px 10px;
color:#E8EBEE;
border-bottom:1px solid #2C3133;
}

#catmenu  li li a:hover, #catmenu  li li a:active {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7ixS3h2H2lOwpswoklI_YcS9z6ljM6Q2aHfYAS7VW1Xcpc4xVH2SJfgfgeyp1Khg-f-HUkjpoEdwvAwPCZR6WGonwMM5A8Vwxgt3izTUsI9PESTCU-eca9YyKYX10X_nUuGeGPngjlQiU/) repeat-x;
width: 150px;
float: none;
margin: 0px;
padding: 4px 10px 5px 10px;
color:#fff;
border-bottom:1px solid #2C3133;
}

#catmenu  li ul {
position: absolute;
width: 10em;
left: -999em;
z-index:1;
}

#catmenu  li:hover ul {
left: auto;
display: block;
}

#catmenu  li:hover ul, #catmenu li.sfhover ul {
left: auto;
}
</style>

4.Now salvaţi şablonul . 5.Go Aspect -> Elemente de pagină şi faceţi clic pe "Adăugaţi un obiect gadget" 6.Select "html / java script" şi adaugă codul de mai jos şi faceţi clic pe Salvare


<div id='catmenucontainer'>

<div id='catmenu'>

<ul>

<li><a href='#' title='#'>Home</a></li>

<li><a href='#' title='#'>Web Design</a>
<ul class='children'>
<li><a href='#' title='#'>HTML</a></li>
<li><a href='#' title='#'>CSS</a></li>
<li><a href='#' title='#'>JavaScript</a></li>
</ul>
</li>

<li><a href='#' title='#'>Templates</a>
<ul class='children'>
<li><a href='#' title='#'>1 Column</a></li>
<li><a href='#' title='#'>2 Column</a></li>
<li><a href='#' title='#'>3 Column</a></li>
<li><a href='#' title='#'>4 Column</a></li>
</ul>
</li>

<li><a href='#' title='#'>Subscribe</a>
<ul class='children'>
<li><a href='#' title='#'>Email</a></li>
</ul>
</li>

<li><a href='#' title='#'>News</a></li>

<li><a href='#' title='#'>Google</a>
<ul class='children'>
<li><a href='#' title='#'>Yahoo</a></li>
<li><a href='#' title='#'>MSN</a></li>
</ul>
</li>

<li><a href='#' title='#'>About</a></li>

<li><a href='#' title='#'>Contact</a></li>

<li><a href='#' title='#'>PrivacyPolicy</a></li>

</ul>

</div>

</div>

2 comentarii:

  1. Acest comentariu a fost eliminat de autor.

    RăspundețiȘtergere
  2. Salut,ma numesc Peutes Aleaxandru,sunt nou in ce a ce priveste blogging-ul:Functioneaza perfect acest menu vertical,dar totusi am o intrebare.
    Cum se adauga in acele partii mesajele respective.

    RăspundețiȘtergere