Home › Forum › Problemi Vari con WP › come si riduce!
-
AutorePost
-
-
8 Agosto 2010 alle 9:42 #14692AnonimoOspite
Salve a tutti volevo sapere se era possibile eliminare la barra di destra dal mio sito ( http://www.bottegadiarchitettura.it ) in maniera tale che la parte di sinistra sii più spaziosa. Grazie in anticipo ciao a tutti !!!
-
8 Agosto 2010 alle 9:59 #75975wollyAmministratore del forum
ti suggerisco di leggere nel wiki “dissezione di un tema” in modo da comprendere come è fatto un tema per wordpress, poi ovviamente è necessario conoscere css e html e un poco di php per poter modificare al meglio i template.
-
8 Agosto 2010 alle 10:05 #75976PaperPartecipante
Bhè, premesso che non conosco il tuo tema, le possibilità sono queste:
– alcuni temi dispongono di impostazioni che permettono di modificare la sidebar (attiva, disattivata, sinistra/destra, dimensioni)
– altrimenti, girando nel file .css dovresti trovare dei valori che regolano le dimensioni delle 2 colonne, quindi puoi aumentare una e diminuire l’altra.
– altrimenti ancora, se proprio la vuoi eliminare, devi per forza di cose modificare il tema, facendo il modo che la sidebar non venga richiamata mai, oppure solo in determinate pagine.
– Oppure ancora, se non vuoi cimentarti in modifiche, cercare un tema che faccia già quello che ti serve di suo, tramite opzioni.. (o senza opzioni ma con un layout più congeniale alle tue esigenze).
EDIT: e fare come ha scritto wolly, di cui non avevo visto il reply perchè stavo scrivendo
-
8 Agosto 2010 alle 23:34 #75993AnonimoOspite
Questo è ( functions.php ) funzioni del tema. Qualcuno sa dirmi se devo agire su questo codice e come GRAZIE IN ANTICIPO
<?php
$pianoblackDefaultOptions = array(
‘use_logo’ => false,
‘logo_name’ => ‘logo.gif’,
‘show_information’ => true,
‘information_title’ => ”,
‘information_contents’ => ”,
‘use_wp_nav_menu’ => false,
‘header_menu_type’ => ‘pages’,
‘exclude_pages’ => ”,
‘exclude_category’ => ”,
‘header_rss’ => true,
‘header_twitter’ => true,
‘twitter_url’ => ‘http://twitter.com/wordpress’,
‘header_search’ => true,
‘use_google_search’ => false,
‘custom_search_id’ => ”,
‘post_meta_type’ => ‘category’,
‘next_preview_post’ => true,
‘author’ => false,
‘return_top’ => true,
‘page_navi_type’ => ‘pager’,
‘image_style’ => true,
‘time_stamp’ => false,
);
$optionsSaved = false;
function pianoblack_create_options() {
// Default values
$options = $GLOBALS;
// Overridden values
$DBOptions = get_option(‘pb_options’);
if ( !is_array($DBOptions) ) $DBOptions = array();
// Merge
// Values that are not used anymore will be deleted
foreach ( $options as $key => $value )
if ( isset($DBOptions[$key]) )
$options[$key] = $DBOptions[$key];
update_option(‘pb_options’, $options);
return $options;
}
function pianoblack_get_options() {
static $return = false;
if($return !== false)
return $return;
$options = get_option(‘pb_options’);
if(!empty($options) && count($options) == count($GLOBALS))
$return = $options;
else $return = $GLOBALS;
return $return;
}
function pianoblack_add_theme_options() {
global $optionsSaved;
if(isset($_POST)) {
$options = pianoblack_create_options();
// logo
if ($_POST) {
$options = (bool)true;
} else {
$options = (bool)false;
}
$options = stripslashes($_POST);
// information
if ($_POST) {
$options = (bool)true;
} else {
$options = (bool)false;
}
$options = stripslashes($_POST);
$options = stripslashes($_POST);
// wp_nav_menu
if ($_POST) {
$options = (bool)true;
} else {
$options = (bool)false;
}
// header menu
$options = stripslashes($_POST);
// exclude pages
$options = stripslashes($_POST);
// exclude category
$options = stripslashes($_POST);
// show header rss
if ($_POST) {
$options = (bool)true;
} else {
$options = (bool)false;
}
// show header twitter
if ($_POST) {
$options = (bool)true;
} else {
$options = (bool)false;
}
$options = stripslashes($_POST);
// show header search
if ($_POST) {
$options = (bool)true;
} else {
$options = (bool)false;
}
if ($_POST) {
$options = (bool)true;
} else {
$options = (bool)false;
}
$options = stripslashes($_POST);
// show author
if ($_POST) {
$options = (bool)true;
} else {
$options = (bool)false;
}
// border around image in post area
if ($_POST) {
$options = (bool)true;
} else {
$options = (bool)false;
}
// post meta
$options = stripslashes($_POST);
// show next preview post
if ($_POST) {
$options = (bool)true;
} else {
$options = (bool)false;
}
// show time stamp
if ($_POST) {
$options = (bool)true;
} else {
$options = (bool)false;
}
// page navi type
$options = stripslashes($_POST);
// show return top link
if ($_POST) {
$options = (bool)true;
} else {
$options = (bool)false;
}
update_option(‘pb_options’, $options);
$optionsSaved = true;
}
add_theme_page(__(‘Theme Options’, ‘piano-black’), __(‘Theme Options’, ‘piano-black’), ‘edit_themes’, basename(__FILE__), ‘pianoblack_add_theme_page’);
}
function pianoblack_add_theme_page () {
global $optionsSaved;
$options = pianoblack_get_options();
if ( $optionsSaved )
echo ‘<div id=”message” class=”updated fade”><p>‘.__(‘Theme options have been saved.’, ‘piano-black’).’</p></div>’;
?>
<div class=”wrap”>
<h2><?php _e(‘Piano Black Options’, ‘piano-black’); ?></h2>
<form method=”post” action=”#” enctype=”multipart/form-data”>
<p><input class=”button-primary” type=”submit” name=”pianoblack_save_options” value=”<?php _e(‘Save Changes’, ‘piano-black’); ?>” /></p>
<div class=”pianoblack_box”>
<p><?php _e(‘Check if you would like to use original image for logo instead of using plain text.
( Don’t forget to upload image to, wp-content/themes/pianoblack/img/ )’, ‘piano-black’); ?></p><p><input name=”use_logo” type=”checkbox” value=”checkbox” <?php if($options) echo “checked=’checked'”; ?> /> <?php _e(‘Yes’, ‘piano-black’); ?></p>
<p><?php _e(‘Write your logo file name.’, ‘piano-black’); ?></p>
<p><input type=”text” name=”logo_name” value=”<?php echo($options); ?>” /></p>
</div>
<div class=”pianoblack_box”>
<p><?php _e(‘Show Information on sidebar.’, ‘piano-black’); ?></p>
<p><input name=”show_information” type=”checkbox” value=”checkbox” <?php if($options) echo “checked=’checked'”; ?> /> <?php _e(‘Yes’, ‘piano-black’); ?></p>
<p><?php _e(‘Information title.’, ‘piano-black’); ?></p>
<p><input type=”text” name=”information_title” value=”<?php echo($options); ?>” /></p>
<p><?php _e(‘Information contents. ( HTML tag is available. )’, ‘piano-black’); ?></p>
<p><textarea name=”information_contents” cols=”70%” rows=”5″><?php echo($options); ?></textarea></p>
</div>
<div class=”pianoblack_box”>
<p><?php _e(‘Check if you would like to use Custom Navigation Menus in WordPress 3.0.’, ‘piano-black’); ?></p>
<p><input name=”use_wp_nav_menu” type=”checkbox” value=”checkbox” <?php if($options) echo “checked=’checked'”; ?> id=”use_wp_nav_menu” /> <?php _e(‘Yes’, ‘piano-black’); ?></p>
<div id=”old_menu_function”>
<p><?php _e(‘Header menu.’, ‘piano-black’); ?></p>
<p>
<input name=”header_menu_type” type=”radio” value=”pages” <?php if($options != ‘categories’) echo “checked=’checked'”; ?> /> <?php _e(‘Use pages for header menu.’, ‘piano-black’); ?>
<input name=”header_menu_type” type=”radio” value=”categories” <?php if($options == ‘categories’) echo “checked=’checked'”; ?> /> <?php _e(‘Use categories for header menu.’, ‘piano-black’); ?>
</p>
<p><?php _e(‘Exclude Pages
(Page ID’s you don’t want displayed in your header navigation. Use a comma-delimited list, eg. 1,2,3)’, ‘piano-black’); ?></p><p><input type=”text” name=”exclude_pages” value=”<?php echo($options); ?>” /></p>
<p><?php _e(‘Exclude Categories
(Category ID’s you don’t want displayed in your header navigation. Use a comma-delimited list, eg. 1,2,3)’, ‘piano-black’); ?></p><p><input type=”text” name=”exclude_category” value=”<?php echo($options); ?>” /></p>
</div>
</div>
<div class=”pianoblack_box”>
<p><?php _e(‘Show search on header.’, ‘piano-black’); ?></p>
<p><input name=”header_search” type=”checkbox” value=”checkbox” <?php if($options) echo “checked=’checked'”; ?> /> <?php _e(‘Yes’, ‘piano-black’); ?></p>
<p><?php _e(‘Use Google Custom Search
(If you check this option,don’t forget to write your Google Custom Search ID below.)’, ‘piano-black’); ?></p><p><input name=”use_google_search” type=”checkbox” value=”checkbox” <?php if($options) echo “checked=’checked'”; ?> /> <?php _e(‘Yes’, ‘piano-black’); ?></p>
<p><?php _e(‘Input your Google Custom Search ID.’, ‘piano-black’); ?></p>
<p><input type=”text” name=”custom_search_id” value=”<?php echo($options); ?>” style=”width:400px;” /></p>
</div>
<div class=”pianoblack_box”>
<p><?php _e(‘Show rss on header.’, ‘piano-black’); ?></p>
<p><input name=”header_rss” type=”checkbox” value=”checkbox” <?php if($options) echo “checked=’checked'”; ?> /> <?php _e(‘Yes’, ‘piano-black’); ?></p>
</div>
<div class=”pianoblack_box”>
<p><?php _e(‘Show Twitter button on header.’, ‘piano-black’); ?></p>
<p><input name=”header_twitter” type=”checkbox” value=”checkbox” <?php if($options) echo “checked=’checked'”; ?> /> <?php _e(‘Yes’, ‘piano-black’); ?></p>
<p><?php _e(‘Write your Twitter URL.’, ‘piano-black’); ?></p>
<p><input type=”text” name=”twitter_url” value=”<?php echo($options); ?>” style=”width:400px;” /></p>
</div>
<div class=”pianoblack_box”>
<p><?php _e(‘Show author.’, ‘piano-black’); ?></p>
<p><input name=”author” type=”checkbox” value=”checkbox” <?php if($options) echo “checked=’checked'”; ?> /> <?php _e(‘Yes’, ‘piano-black’); ?></p>
<p><?php _e(‘Show border aroud image in post area.’, ‘piano-black’); ?></p>
<p><input name=”image_style” type=”checkbox” value=”checkbox” <?php if($options) echo “checked=’checked'”; ?> /> <?php _e(‘Yes’, ‘piano-black’); ?></p>
<p><?php _e(‘Post meta.’, ‘piano-black’); ?></p>
<p>
<input name=”post_meta_type” type=”radio” value=”category” <?php if($options != ‘tag’) echo “checked=’checked'”; ?> /> <?php _e(‘Show category.’, ‘piano-black’); ?>
<input name=”post_meta_type” type=”radio” value=”tag” <?php if($options == ‘tag’) echo “checked=’checked'”; ?> /> <?php _e(‘Show tag.’, ‘piano-black’); ?>
</p>
<p><?php _e(‘Show next preview post at the bottom of single post page.’, ‘piano-black’); ?></p>
<p><input name=”next_preview_post” type=”checkbox” value=”checkbox” <?php if($options) echo “checked=’checked'”; ?> /><?php _e(‘Yes’, ‘piano-black’); ?></p>
</div>
<div class=”pianoblack_box”>
<p><?php _e(‘Show time on comment.’, ‘piano-black’); ?></p>
<p><input name=”time_stamp” type=”checkbox” value=”checkbox” <?php if($options) echo “checked=’checked'”; ?> /><?php _e(‘Yes’, ‘piano-black’); ?></p>
</div>
<div class=”pianoblack_box”>
<p><?php _e(‘Page navi type.’, ‘piano-black’); ?></p>
<p>
<input name=”page_navi_type” type=”radio” value=”pager” <?php if($options != ‘normal’) echo “checked=’checked'”; ?> /> <?php _e(‘Use Pager.’, ‘piano-black’); ?>
<input name=”page_navi_type” type=”radio” value=”normal” <?php if($options == ‘normal’) echo “checked=’checked'”; ?> /> <?php _e(‘Use normal style next-previous link.’, ‘piano-black’); ?>
</p>
</div>
<div class=”pianoblack_box”>
<p><?php _e(‘Check if you want to show Return top link.’, ‘piano-black’); ?></p>
<p><input name=”return_top” type=”checkbox” value=”checkbox” <?php if($options) echo “checked=’checked'”; ?> /> <?php _e(‘Show Return top link.’, ‘piano-black’); ?></p>
</div>
<p><input class=”button-primary” type=”submit” name=”pianoblack_save_options” value=”<?php _e(‘Save Changes’, ‘piano-black’); ?>” /></p>
</form>
</div>
<?php
}
// register function
add_action(‘admin_menu’, ‘pianoblack_create_options’);
add_action(‘admin_menu’, ‘pianoblack_add_theme_options’);
// CSS for admin page
add_action(‘admin_print_styles’, ‘pianoblack_admin_CSS’);
function pianoblack_admin_CSS() {
wp_enqueue_style(‘pianoblackAdminCSS’, get_bloginfo(‘template_url’).’/admin/admin.css’);
}
// javascript for admin page
add_action(‘admin_print_scripts’, ‘pianoblack_admin_script’);
function pianoblack_admin_script() {
wp_enqueue_script(‘pianoblackAdminScript’, get_bloginfo(‘template_url’).’/admin/script.js’);
}
// for localization
load_textdomain(‘piano-black’, dirname(__FILE__).’/languages/’ . get_locale() . ‘.mo’);
// to use wp_nav_menu() in WordPress3.0
if (function_exists(‘add_theme_support’)) { add_theme_support( ‘nav-menus’ ); };
// Remove […] from excerpt
function trim_excerpt($text) {
return rtrim($text,'[…]’);
}
add_filter(‘get_the_excerpt’, ‘trim_excerpt’);
// Sidebar widget
if ( function_exists(‘register_sidebar’) ) {
register_sidebar(array(
‘before_widget’ => ‘<div class=”side-box” id=”%1$s”>’.”n”,
‘after_widget’ => “</div>n”,
‘before_title’ => ‘<h3 class=”side-title”>’,
‘after_title’ => “</h3>n”,
‘name’ => ‘top’,
‘id’ => ‘top’
));
register_sidebar(array(
‘before_widget’ => ‘<div class=”side-box-short” id=”%1$s”>’.”n”,
‘after_widget’ => “</div>n”,
‘before_title’ => ‘<h3 class=”side-title”>’,
‘after_title’ => “</h3>n”,
‘name’ => ‘left’,
‘id’ => ‘left’
));
register_sidebar(array(
‘before_widget’ => ‘<div class=”side-box-short” id=”%1$s”>’.”n”,
‘after_widget’ => “</div>n”,
‘before_title’ => ‘<h3 class=”side-title”>’,
‘after_title’ => “</h3>n”,
‘name’ => ‘right’,
‘id’ => ‘right’
));
register_sidebar(array(
‘before_widget’ => ‘<div class=”side-box” id=”%1$s”>’.”n”,
‘after_widget’ => “</div>n”,
‘before_title’ => ‘<h3 class=”side-title”>’,
‘after_title’ => “</h3>n”,
‘name’ => ‘bottom’,
‘id’ => ‘bottom’
));
}
// Original custom comments function is written by mg12 – http://www.neoease.com/
if (function_exists(‘wp_list_comments’)) {
// comment count
add_filter(‘get_comments_number’, ‘comment_count’, 0);
function comment_count( $commentcount ) {
global $id;
$_commnets = get_comments(‘post_id=’ . $id);
$comments_by_type = &separate_comments($_commnets);
return count($comments_by_type);
}
}
function custom_comments($comment, $args, $depth) {
$GLOBALS = $comment;
global $commentcount;
if(!$commentcount) {
$commentcount = 0;
}
?>
<?php $options = get_option(‘pb_options’); ?>
<li class=”comment <?php if($comment->comment_author_email == get_the_author_email()) {echo ‘admin-comment’;} else {echo ‘guest-comment’;} ?>” id=”comment-<?php comment_ID() ?>”>
<div class=”comment-meta”>
<div class=”comment-meta-left clearfix”>
<?php if (function_exists(‘get_avatar’) && get_option(‘show_avatars’)) { echo get_avatar($comment, 35); } ?>
<ul class=”comment-name-date”>
<li class=”comment-name”>
<?php if (get_comment_author_url()) : ?>
<?php else : ?>
<span id=”commentauthor-<?php comment_ID() ?>”>
<?php endif; ?>
<?php comment_author(); ?>
<?php if(get_comment_author_url()) : ?>
<?php else : ?>
</span>
<?php endif; ?>
<li class=”comment-date”><?php echo get_comment_time(__(‘F jS, Y’, ‘piano-black’)); if ($options) : echo get_comment_time(__(‘ g:ia’, ‘piano-black’)); endif; ?>
</div>
<ul class=”comment-act”>
<?php if (function_exists(‘comment_reply_link’)) {
if ( get_option(‘thread_comments’) == ‘1’ ) { ?>
<li class=”comment-reply”><?php comment_reply_link(array_merge( $args, array(‘add_below’ => ‘comment-content’, ‘depth’ => $depth, ‘max_depth’ => $args, ‘reply_text’ => ‘<span><span>’.__(‘REPLY’,’piano-black’).'</span></span>’.$my_comment_count))) ?>
<?php } else { ?>
<li class=”comment-reply”>‘, ‘comment-<?php comment_ID() ?>’, ‘comment’);”><?php _e(‘REPLY’, ‘piano-black’); ?>
<?php }
} else { ?>
<li class=”comment-reply”>‘, ‘comment-<?php comment_ID() ?>’, ‘comment’);”><?php _e(‘REPLY’, ‘piano-black’); ?>
<?php } ?>
<li class=”comment-quote”>‘, ‘comment-<?php comment_ID() ?>’, ‘comment-content-<?php comment_ID() ?>’, ‘comment’);”><?php _e(‘QUOTE’, ‘piano-black’); ?>
<?php edit_comment_link(__(‘EDIT’, ‘piano-black’), ‘<li class=”comment-edit”>’, ”); ?>
</div>
<div class=”comment-content” id=”comment-content-<?php comment_ID() ?>”>
<?php if ($comment->comment_approved == ‘0’) : ?>
<span class=”comment-note”><?php _e(‘Your comment is awaiting moderation.’, ‘piano-black’); ?></span>
<?php endif; ?>
<?php comment_text(); ?>
</div>
<?php } ?>
-
9 Agosto 2010 alle 0:12 #75994PaleosetiPartecipante
Salve a tutti volevo sapere se era possibile eliminare la barra di destra dal mio sito ( http://www.bottegadiarchitettura.it ) in maniera tale che la parte di sinistra sii più spaziosa. Grazie in anticipo ciao a tutti !!!
Vedo che per l’altro problema hai risolto
Noto anche che ti sei intestardito con il tema piano black ed oggi ci torni sopra per apportare nuove modifiche.
Detto questo però mi permetti di muoverti una piccola critica?
Perchè non scegli un tema più consono alle tue esigenze? Ce ne sono per tutti i bisogni…
Ok, torniamo a te
Il file functions.php lascialo perdere per carità di Dio!!!
Il tema non è facile modificarlo come vuoi tu ed avere una unica sidebar….
Ho provato a vedere il codice del file sidebar.php ed in effetti ho trovato il riferimento che andrebbe eliminato…ma non so cosa si ottiene!!!!!!!!!!
questa la parte di codice interessata:
<?php if(is_active_sidebar('top')||is_active_sidebar('bottom')||is_active_sidebar('left')||is_active_sidebar('right')){ ?>
e subito sotto trovi il riferimento alle due parti che è suddivisa: destra e sinistra...
<div id="side-left">
<?php dynamic_sidebar('left'); ?>
</div>
<div id="side-right">
<?php dynamic_sidebar('right'); ?>
</div>
</div>
In teoria, ma qui è meglio che qualcuno più esperto di me ti suggerisca, basta eliminare i richiami della parte che NON ti interessa, sia nella prima parte mostrata che nella seconda.
Ma sei solamente ad una parte del lavoro da fare...infatti ci sarebbe poi da modificare i riferimenti nel file style.css;
Penso che sia questo il riferimento nel file da modificare:
/*
layout
*/#wrapper { background:url(img/back2.png) no-repeat center top; }
#contents { width:959px; margin:0 auto; text-align:left; }
#header { background:url(img/top.png) no-repeat bottom; height:160px; }
#middle-contents { background:url(img/side.png) repeat-y; padding-bottom:50px; }
#left-col { float:left; display:inline; width:584px; margin:0 0 0 5px; }
#right-col { float:right; display:inline; width:330px; margin:70px 5px 0 0; }
#footer { background:url(img/bottom.png) no-repeat top; height:114px; margin-bottom:50px; }
Poi dovresti dare un'occhiata anche alla parte:
/*
left-col
*/e
/*
right-col
*/Insomma, se proprio ti sei invaghito di questo tema, posso solo consigliarti di fare delle prove armandoti di pazienza e tenendo sempre una copia dei file originali a portata di mano per potere rimediare a pasticci
Ciauz
Teodoro
-
9 Agosto 2010 alle 0:52 #75996AnonimoOspite
Nella parte Barra laterale (sidebar.php) ho cancellato tutto il codice, è l’effetto era soddisfacente, perché cosଠfacendo avevo cancellato tutti i contenuti della barra di destra ( link, categorie, informescio ecc… ). Solo che ora li non c’è più codice ( avendolo cancellato ), solo che ora vorrei andasse via la barra di destra. Ho anche provato in Funzioni tema (functions.php) ma nn ho risolto nulla. Logicamente i codici che ho cancellato sono stati conservati. Anche per togliere la sezione dei commenti se veniva disabilitata dall’articolo compariva un messaggio ( are commenti chiusa ) cancellando il codice comment-style.css (comment-style.css) e Commenti (comments.php) ho risolto la situazione i commenti completamente spariti; aparte la voce scrivi commenti sotto l’articolo nella prima pagina che nn so come eliminare. Grazie per il tuo prezioso aiuto, ora vorrei eliminare quella barra di destra, se ai bisogno di vedere qualche codice te li scrivo. Ciao grazie ancora !!!
-
9 Agosto 2010 alle 15:04 #76033AnonimoOspite
Ho provato a levare i px della barra di destra dal foglio di stile .css ma nn riesco a toglierla qualcuno sa aiutarmi ????? GRAZIE ANTICIPATAMENTE
-
9 Agosto 2010 alle 16:01 #76040PaleosetiPartecipante
Ho provato a levare i px della barra di destra dal foglio di stile .css ma nn riesco a toglierla qualcuno sa aiutarmi ????? GRAZIE ANTICIPATAMENTE
Ho provato velocissimamente ad eliminare dal file ccs:
.alignright { float:right; }
sotto la voce Layout questo:
#right-col { float:right; display:inline; width:330px; margin:70px 5px 0 0; }
ed infine, sotto la voce /*
right-col
*/in due parti: questa:
#information-title { background:url(img/info-box-top.gif) no-repeat left top; padding:25px 20px 5px 20px; width:232px; margin:0 0 0 30px; }
.information-contents { line-height:160%; font-size:11px; color:#868a8d; background:url(img/info-box-bottom.gif) no-repeat left bottom; padding:12px 20px 20px 20px; margin:0 0 50px 30px; width:232px; }
.side-title { margin:0 0 20px 0; font-size:11px; text-transform:uppercase; color:#999; font-weight:normal; line-height:100%; }
.side-box { color:#aaa; margin:0 0 50px 32px; font-size:11px; width:270px; }
#right-col ul { }
#right-col li { margin:0 0 1em 0; line-height:140%; }
#right-col li li { padding:0 0 0 10px; margin:3px 0; background:url(img/bullet1.gif) no-repeat 1px 7px; }
salti una riga e cancelli questa:
#side-right { float:right; width:135px; padding:0; display:inline; margin:0 26px 0 0; }
questa:
ovvero: elimina
#right-col { float:right; display:inline; width:330px; margin:70px 5px 0 0; }
e poi sotto /* this is just for default mode */
questa:
ottenendo questo (fatto al volo, devo andare a lavorare!!!)
Per il resto posso guardare stasera quando torno e farti sapere (faccio pizze e lavoro fino alle 24)
Ciauz
Teodoro
-
9 Agosto 2010 alle 20:29 #76053AnonimoOspite
Ciao sono riuscito ad ingrandire la barra di sinistra dal foglio di stile css nell’editor del template adesso voglio cancellare la barra di destra che si trova sotto ai contenuti uso hosting aruba se vuoi sapere password mandami una e-mail a : stefano.marello@hotmail.it cosଠti faro avere tutto il necessario. tolta quella barra di destra sotto il mio contenuto ho finito GRAZIE MILLE PER IL TUO PREZIOSISSIMO AIUTO….
-
10 Agosto 2010 alle 1:17 #76056PaleosetiPartecipante
Ciao sono riuscito ad ingrandire la barra di sinistra dal foglio di stile css nell’editor del template adesso voglio cancellare la barra di destra che si trova sotto ai contenuti uso hosting aruba se vuoi sapere password mandami una e-mail a : stefano.marello@hotmail.it cosଠti faro avere tutto il necessario. tolta quella barra di destra sotto il mio contenuto ho finito GRAZIE MILLE PER IL TUO PREZIOSISSIMO AIUTO….
Ciao Stefano, dopo due ore di tentativi ci rinuncio )
Uhm, il problema che sto avendo è quello che: nel momento in cui vado a cancellare tutti i riferimenti di una delle due colonne del tema, che compongono la sidebar..ottengo un’unica colonna, ma tutti i widget all’interno vengono allineati alla sinistra e si sovrappongono con la parte centrale, dove ci dovrebbero essere i post.
Ho provato a cambiare alcune voci che sembravano indicare l’allineamento dei widget, ma i riferimenti sui quali agito NON centravano una mazza, mi spostavano fisicamente la disposizione della colonna (spero mi segua…capisco che è un caos ma tant’è..)
Ci torno sopra domani con calma, spulciandomi tutto il codice e facendo dei tentativi. Da buon capricorno non mollo
Ti devo però fare solo una domanduzza: quando hai modificato la misura della colonna, che è successo e quale parte di codice hai toccato?
Te lo chiedo perchè ci sono riferimenti diversi e magari toccando quello giusto si risolve il problema che ho avuto io (tra l’altro i pare di capire che la larghezza totale è 587px, mentre la larghezza delle colonne è di 165…credo che bisogna quindi agire anche sui padding e fare in modo che la colonna che rimane occupi tutta l’area del layout..)
Dai, tieni duro che ce la facciamo, due testedure non li ferma nessuno ehehehhe.
Ciauz
T
-
10 Agosto 2010 alle 11:54 #76060AnonimoOspite
Io ho toccato questa parte di codice ( foglio di stile.css su wordpress )
/*
layout
*/#wrapper { background:url(img/back2.png) no-repeat center top; }
#contents { width:959px; margin:0 auto; text-align:left; }
#header { background:url(img/top.png) no-repeat bottom; height:160px; }
#middle-contents { background:url(img/side.png) repeat-y; padding-bottom:50px; }
#left-col { float:left; display:inline; width:910px; margin:0 0 0 5px; } IN QUESTA RIGA HO MESSO IL width A 910px, E LA PARTE DI DESTRA SI è ALLARGATA.
#right-col { float:right; display:inline; width:330px; margin:70px 5px 0 0; } HO PROVATO A METTERE 0PX IN QUESTA RIGA MA NON HO RISOLTO.
#footer { background:url(img/bottom.png) no-repeat top; height:114px; margin-bottom:50px; }
Prova a vedere sul mio sito ( http://www.bottegadiarchitettura.it) nella sezione plastici come sono ora i contenuti. Io devo solo togliere la barra di destra da sotto i contenuti.
-
10 Agosto 2010 alle 17:57 #76084AnonimoOspite
GRAZIE PER IL TUO AIUTO
-
10 Agosto 2010 alle 19:29 #76088PaperPartecipante
se ti riferisci solo alla “banda” verticale di colore più scuro.. quindi al semplice fattore estetico, a quanto sembra, si tratta semplicemente di modificare lo sfondo.. infatti se guardi bene, è la stessa immagine ripetuta in verticale sino a completare la lunghezza del blog… e appunto la parte più scura fa parte dell’immagine, quindi un pò di editing e passa tutto
http://www.bottegadiarchitettura.it/wordpress/wp-content/themes/piano-black/img/side.png
EDIT: poi di conseguenza, va modificato anche questo:
http://www.bottegadiarchitettura.it/wordpress/wp-content/themes/piano-black/img/bottom.png
-
10 Agosto 2010 alle 20:48 #76090AnonimoOspite
ho modificato le immagini ma non cambia nulla mi rimane sembre quella barra di colore più scuro sulla destra sotto i contenuti delle pagina
-
10 Agosto 2010 alle 20:54 #76091AnonimoOspite
anche cancellando quelle immagini lo sfondo non batte ciglio !!!!! non so come levarla!!!!
grazie ancora
-
10 Agosto 2010 alle 20:58 #76092PaperPartecipante
ho modificato le immagini ma non cambia nulla mi rimane sembre quella barra di colore più scuro sulla destra sotto i contenuti delle pagina
strano, perchè aprendo singolarmente (ovvero tramite i link che ho indicato sopra) i file png che ti ho elencato prima, non appaiono modificati (e prima di controllarli ho cancellato la cache del browser per ricaricarli ex novo).
controlla che siano stati sovrascritti correttamente…
EDIT: per un momento il “bottom.png” appariva modificato regolarmente.. e infatti funzionava anche nel blog…
Ricordati ovviamente, quando fai queste modifiche, di cancellare la cache del browser e poi ricaricare la pagina, altrimenti non vedi i cambiamenti.
-
10 Agosto 2010 alle 21:04 #76093AnonimoOspite
ma nelle immagini ci sono quelle 2 immagini già modificate si chiamano diversamente.
bottom-noside.png
side-noside.png
Ho provato a rinominarle e cancellare le altre ma nulla….
-
10 Agosto 2010 alle 21:06 #76094PaperPartecipante
se le rinomini diversamente, è ovvio che il tema non le leggerà mai… a meno che non vai a editare il tema cambiando tutti i riferimenti a quei file con il nuovo nome, ma non mi pare il caso… basta sovrascriverle e tenere una copia di backup sul pc delle originali (oppure sul server rinominare le “vecchie” come .old invece che .png)
quindi, carica le immagini modificate con il nome delle originali (deve essere identico, anche le maiuscole/minuscole). Poi cancella la cache del tuo browser e riapri la pagina… vedrai che funziona.
-
10 Agosto 2010 alle 21:10 #76095AnonimoOspite
nn dovevo modificare nessuna immagine, erano gia modificate bastava che rinominassi quelle ( bottom-noside.png / side-noside.png ) in ( bottom.png / sidee.png ) GICO FATTO guarda sul mio sito http://www.bottegadiarchitettura.it sei un grande ciao ciao e GRAZIE MILLE ANCORA !!!!!!!!!!!!!!!!!!!!!!!!!
-
10 Agosto 2010 alle 21:13 #76096PaperPartecipante
ho visto, risultato raggiunto
figurati.. io sono decisamente niubbo però se posso dare una mano nel mio piccolo…
-
10 Agosto 2010 alle 21:16 #76097AnonimoOspite
adesso apro un nuovo post sul forum lo chiamo prima pagina nn ti chiedo qua perché questo era per una cosa per l’altra faccio appunto questo nuovo posto altrimenti altri nn capiscono lo chiamo prima pagina se vuoi vederlo mi faresti un enorme piacere grazie ciao ciao !!!!!!!
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.