Your SlideShare is downloading. ×

Sistemas Corporativos Web - WordPress Aula05

709

Published on

Published in: Design, Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
709
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Aula 05Sistemas Corporativos Web Tersis Zonato 2011
  • 2. Menus dinâmicos
  • 3. Crie o arquivo functions.php
  • 4. functions.php<?phpif(function_exists(register_sidebars)) register_sidebars(5);?>
  • 5. header.php<?php wp_nav_menu(); ?>
  • 6. style.css.menu ul { font-color: #fff; height: 25px; list-style-type: none; margin: 0; padding: 4px 0 0;}
  • 7. style.css.menu li { float: left; margin: 0 10px; padding: 0; }
  • 8. style.css.menu a { background: #000000 url("images/nav_bg.gif") repeat-x; color: #fff; display: block; font-weight: bold; height: 20px; padding: 4px 4px 0; text-decoration: none; }
  • 9. style.css.menu a:hover { background: #ff0000 url("images/nav_hover.gif") repeat-x; border-bottom: solid 1px #fff; color: #fff; font-weight: bold; }
  • 10. Muito obrigado! @tersis

×