Non sono un programmatore, ma ho dovuto metter mano alla pazienza ( e a google ) per farmi un semplice sito web. In alcune pagine ho bisogno che la sidebar non ci sia, poiché ci sono gli elementi del blog. Solo che eliminandola, gli elementi che sono nella striscia centrale, la ‘content’, vanno a finire nello stretto spazio della sidebar. Come faccio a eliminare la sidebar e a ‘dire’ alla content di non muoversi lଠdal centro?
Qui il codice che modifico:
<?php
/*
Template Name: Page2
*/
?>
<?php
get_header();
?>
<?php get_sidebar(); ?> ( IO ELIMINO QUESTA RIGA, MA COME HO DETTO MI FA QUEL PROBLEMA )
<div id=”content”>
Dove sbaglio?