Problemi "guida per creare un tema wp"

Have you read our PDF support but still there’s something you don’t understand? This section is always upgrading.

Moderatore: Sara_p

Problemi "guida per creare un tema wp"

Messaggioda Slash » martedì 11 ottobre 2011, 23:42

Scusate ragazzi ma ho iniziato a seguire la vostra guida su come creare un tema di Wp da 2 minuti e mi sono già bloccato XD

sono arrivato al passo 2 dove dovrebbe comparire:

Immagine

solo che a me non compare una cippa di niente.

questi sono rispettivamente l index.php e lo style.css che ho compilato utilizando notepad++

Sintassi: php [ Scarica ] [ Nascondi ]
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3.  
  4. <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6.     <title>Wiizard.it</title>
  7.     <link rel="stylesheet" href="wp-content/themes/wiizard-wp/style.css" type="text/css" media="screen" />
  8. </head>
  9.  
  10. <body>
  11.  
  12.         <div class="container">
  13.  
  14.         </div>
  15.  
  16.  
  17.  
  18.  
  19. </body>
  20.  
  21. </html>
  22.  
  23.  




Sintassi: css [ Scarica ] [ Nascondi ]
  1. /*
  2.  
  3. Theme name: wiizard-wp
  4.  
  5. Theme url: http://www.wiizard.it
  6.  
  7. Description: Tema sviluppato per lo stile absolution phpBB
  8.  
  9. Version: 1.0
  10.  
  11. Author: <a href="http://www.wiizard.it" title="Slash web site">Slash</a>
  12.  
  13. Author url: http://www.wiizard.it
  14.  
  15. Tags: 2 colonne,phpbb,absolution
  16.  
  17. */
  18.  
  19. /***********************************************************************
  20. ******************* reset.css ******************************************
  21. ************************************************************************/
  22. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
  23. body {line-height:1.5;}
  24. table {border-collapse:separate; border-spacing:0;}
  25. caption, th, td {text-align:left;font-weight:normal;}
  26. table, td, th {vertical-align:middle;}
  27. blockquote:before, blockquote:after, q:before, q:after { content:""; }
  28. blockquote, q { quotes:"" ""; }
  29. a img {border:none;}
  30. .clearer {height:0px;overflow:hidden;margin:0px;clear:both;}
  31. .center {text-align:center;}
  32.  
  33. .container&nbsp; {width:960px;margin:0 auto;min-height:100px;border:1px solid red;}
  34.  


sapete aiutarmi?

GRAZIE!
Immagine
Slash

Avatar utente
 
Messaggi: 4
Iscritto il: martedì 5 luglio 2011, 22:25
Località: in un posto lontano...

Re: Problemi "guida per creare un tema wp"

Messaggioda Caluk » mercoledì 12 ottobre 2011, 2:07

Il problema è nel div container. Nell'index.php lo hai chiamato correttamente, ma nel css hai scritto .container&nbsp;

Thisi is the problem ;)
Caluk

Amministratore

Avatar utente
 
Messaggi: 410
Iscritto il: giovedì 4 febbraio 2010, 18:17
Località: Castellana Sicula

Re: Problemi "guida per creare un tema wp"

Messaggioda Slash » mercoledì 12 ottobre 2011, 11:07

quindi lo chiamo semplicemente container o .container nel css?
Immagine
Slash

Avatar utente
 
Messaggi: 4
Iscritto il: martedì 5 luglio 2011, 22:25
Località: in un posto lontano...

Re: Problemi "guida per creare un tema wp"

Messaggioda Caluk » mercoledì 12 ottobre 2011, 19:02

Se lo chiami container nel css non otterrai sicuramente nulla.

Tu nel file index.php hai dichiarato una classe "<div class="container">" quindi per poter applicare lo stile a quella classe devi mettere .container

Ti consiglio, prima di passare a creare temi per WP, di studiarti le basi del CSS. Dopo vedrai che tutto sarà più semplice ;)
Caluk

Amministratore

Avatar utente
 
Messaggi: 410
Iscritto il: giovedì 4 febbraio 2010, 18:17
Località: Castellana Sicula


Torna a Theme Support



cron