Tema child
-
Buongiorno, so che l’oggetto è oggetto di molte richieste, aggiungo amche la mia sperando che non sia prolissa, ho esaminato le marie domande ma non sono riuscito a trovare la risposta. Ho creato un tema child con dentro un file style,css e un function.php. Utilizzo il programma ispeziona di Google, individuo l’elemento che desidero modificare copio l’istruzione e la copio nel file style.css, apporto le modifiche, salvo il file, aggiorno il sito ma le modifiche non vengono riportate. Le ho provate tutte senza risultato, spero in un generoso aiuto aiuto, grazie
/* Theme Name: twentyten-child Theme URI: http://serenalatini/twentyten-child Author: Mazzolini Author URI: Description: Un child theme di Twenty ten con un font diverso Template: twentyten Version: 1.0 Text Domain: .../twentyten.style.css */ /* Importo il CSS del tema parente */ #site-title a { color: #000; font-weight: bold; text-decoration: none; } #access { background: #00b9eb; display: block; float: left; margin: 0 auto; width: 940px; }
<?php add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' ); function enqueue_parent_theme_style() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Tema child’ is closed to new replies.