- Home
- Categorie
- Coding e Sistemistica
- CMS & Piattaforme Self-Hosted
- Immagine come titolo
-
Immagine come titolo
Mettendo un'immagine come titolo del blog, è possibile centrarla??? che si posizioni al centro della pagina???
-
Ciao N0OB e benvenuto nel forum GT!!:)
procedi così, cerca nel codice HTML:
#header {
E immediatamente dopo inserisci questo:
background-image: url(Url_immagine.Jpeg);
background-repeat: no-repeat;
background-position: center;Naturalmente al posto di Url_immagine.Jpeg devi inserire l'url dell'immagine che vuoi inserire come sfondo!!
-
e se l'immagine la inserisco da blogger???
quindi se l'immagine non l'ho caricata in nessun server personale???
-
@N0OB said:
e se l'immagine la inserisco da blogger???
quindi se l'immagine non l'ho caricata in nessun server personale???Sempre nel codice, cerca:
<div expr:style='"background-image: url("" + data:sourceUrl + ""); " + "background-position: left; " + "background-repeat: no-repeat; "' id='header-inner'>in "background-position: left; " cambia left in center
Occhio che ci dovrebbero essere due codici uguali, quello giusto dovrebbe essere il secondo, fai qualche prova con l'anteprima!!;)
-
non è presente questo codice... booo
-
Prova a passarmi il link del blog (non attivo mi raccomando), cerco di dare una spulciata al codice, e magari lo trovo!!
-
Trova questo:
<img alt='· ··^v´¯`×) DoMaNi Si STUDIA (×´¯`v^·· ·' height='179' id='Header1_headerimg' src='http://bp3.blogger.com/_aY4WXenBH90/R5YU4qodkKI/AAAAAAAAAFE/8NL7K8-y7P4/S758/domanisistudia.gif' style='display: block' width='758'/> ```e modificalo cosi:
<img alt='· ··^v´¯
×) DoMaNi Si STUDIA (×´¯
v^·· ·' height='179' id='Header1_headerimg' src='http://bp3.blogger.com/_aY4WXenBH90/R5YU4qodkKI/AAAAAAAAAFE/8NL7K8-y7P4/S758/domanisistudia.gif' style='display: block' width='758' align='center'/>
-
io posso modificare solo l'html del template... e quel codice non c'è...
se vuoi ti mando il codice del template in pm...
-
Questa è la parte che posso modificare...
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "w.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html expr:dir='data:blog.languageDirection' xmlns='w.w3.org/1999/xhtml' xmlns:b='w.google.com/2005/gml/b' xmlns:data='w.google.com/2005/gml/data' xmlns:expr='w.google.com/2005/gml/expr'> <head> <META CONTENT='Blog di studenti universitari di bologna' NAME='description'/> <META CONTENT='domani si studia, blog studenti, studenti bologna, blog bologna, domanisistudia.com' NAME='keywords'/> <meta content='6YQjGYGtF8/G8ScdJN9YY0VgF3k0ElH+w+tPCISt7Ms=' name='verify-v1'/> <b:include data='blog' name='all-head-content'/> <title><data:blog.pageTitle/></title> <b:skin><![CDATA[/* * Blogger Template Style * Herbert * * by Jason Sutter * Updated by Blogger Team */ /* * Variable definitions * ==================== <Variable name="mainBgColor" description="Page Background Color" type="color" default="#ffffff" / value="#ffffff"> <Variable name="mainTextColor" description="Text Color" type="color" default="#000000" / value="#000000"> <Variable name="titleBgColor" description="Blog Title Background Color" type="color" default="#ff4500" / value="#ff4500"> <Variable name="titleColor" description="Blog Title Color" type="color" default="#fffafa"/ value="#fffafa"> <Variable name="descriptionBgColor" description="Description Background Color" type="color" default="#000000" / value="#000000"> <Variable name="descriptionColor" description="Blog Description Color" type="color" default="#9e5205" / value="#9e5205"> <Variable name="dateHeaderColor" description="Date Header Color" type="color" default="#777777" / value="#777777"> <Variable name="postTitleColor" description="Post Title Color" type="color" default="#555555" / value="#555555"> <Variable name="postTitleBgColor" description="Post Title Background Color" type="color" default="#eeeeee" / value="#eeeeee"> <Variable name="postFooterColor" description="Post Footer Color" type="color" default="#444444" / value="#444444"> <Variable name="mainLinkColor" description="Link Color" type="color" default="#de7008" / value="#de7008"> <Variable name="mainVisitedLinkColor" description="Visited Link Color" type="color" default="#e0ad12" / value="#e0ad12"> <Variable name="sidebarTitleColor" description="Sidebar Title Color" type="color" default="#ff4500" / value="#ff4500"> <Variable name="sidebarLinkColor" description="Sidebar Link Color" type="color" default="#999999" / value="#999999"> <Variable name="sidebarVisitedLinkColor" description="Sidebar Visited Link Color" type="color" default="#de7008" / value="#de7008"> <Variable name="bodyFont" description="Text Font" type="font" default="normal normal 90% 'Trebuchet MS', Trebuchet, Verdana, Sans-Serif" / value="normal normal 90% 'Trebuchet MS', Trebuchet, Verdana, Sans-Serif"> <Variable name="titleFont" description="Blog Title Font" type="font" default="normal bold 266% Verdana, Sans-Serif" / value="normal bold 266% Verdana, Sans-Serif"> <Variable name="descriptionFont" description="Blog Description Font" type="font" default="normal bold 85% Verdana, Sans-Serif" / value="normal bold 85% Verdana, Sans-Serif"> <Variable name="postTitleFont" description="Post Title Font" type="font" default="normal bold 110% Verdana, Sans-serif" value="normal bold 110% Verdana, Sans-serif"> <Variable name="sidebarTitleFont" description="Sidebar Title Font" type="font" default="normal bold 125% Verdana, Sans-Serif" / value="normal bold 125% Verdana, Sans-Serif"> */ body { margin: 0px; padding: 0px; background: $mainBgColor; color: $mainTextColor; font: $bodyFont; } a { color: $mainLinkColor; text-decoration: none; } a:hover { color: $mainVisitedLinkColor; text-decoration: underline; } a:visited { color: $mainVisitedLinkColor; } a img { border: 0; } @media all { div#main-wrapper { float: left; width: 66%; padding: 0 1em 0px 1em; word-wrap: break-word; /* fix for long text breaking sidebar float in IE */ overflow: hidden; /* fix for long non-text content breaking IE sidebar float */ } div#sidebar-wrapper { margin: 0px; padding: 0px; text-align: right; } div#sidebar { width: 30%; float: right; word-wrap: break-word; /* fix for long text breaking sidebar float in IE */ overflow: hidden; /* fix for long non-text content breaking IE sidebar float */ } } #content-wrapper { margin-right: 1em; } @media handheld { div#main-wrapper { float: none; width: 90%; } div#sidebar-wrapper { padding: 20px 1em 0 1em; text-align: left; } } #header { padding: 5px 0px 8px 0px; margin: 0px 0px 20px 0px; border-bottom: solid 1px $postTitleBgColor; border-top: solid 2px $descriptionBgColor; background: $descriptionBgColor; color: $descriptionColor; } h1 a:link { color: $titleColor; } h1 a:visited { color: $titleColor; } h1 { padding: 18px 0px 10px 5%; margin: 0px 0px 8px 0px; border-top: solid 9px $sidebarTitleColor; border-bottom: solid 1px $descriptionColor; color: $titleColor; background: $titleBgColor; font: $titleFont; } .description { padding: 0px 0px 0px 5%; margin: 0px; color: $descriptionColor; background: transparent; font: $descriptionFont; } h3 { margin: 0px 0px 10px 0px; padding: 2px 0px 2px 2px; color: $postTitleColor; background: $postTitleBgColor; font: $postTitleFont; } h3.post-title a, h3.post-title a:visited { color: $postTitleColor; } h2.date-header { margin: 10px 0px 0px 0px; padding: 0px 0px 0px 2%; color: $dateHeaderColor; font-size: 90%; text-align: left; } #sidebar h2 { margin: 0px; color: $sidebarTitleColor; font: $sidebarTitleFont; padding: 0px; border: none; } .widget { margin: 0px 0px 33px 0px; padding: 0; } ul { list-style-type: none; font-size: 95%; margin-top: 0; } li { margin: 0px; padding: 0px; list-style-type: none; font-size: 105%; } .Blog { margin-top: 20px; } .blog-posts, .feed-links { margin-left: 2%; } .feed-links { clear: both; line-height: 2.5em; } .post { margin: 0 0 30px 0; font-size: 100%; } .post-body { margin: 0 6px 0 5px; } .post strong { font-weight: bold; } a { text-decoration: none; } a:link, a:visited { color: $sidebarLinkColor; } a:active, a:hover { color: $sidebarVisitedLinkColor; } pre,code,strike { color: #666666; } .post-footer { padding: 0 0 0 5px; margin: 0px; color: $postFooterColor; font-size: 80%; } #comments { padding: 2px 0px 2px 5px; font-size: 110%; font-weight: bold; font-family: Verdana,Sans-Serif; } .comment-author { margin-top: 20px; } .comment-body { margin-top: 10px; font-size: 100%; font-weight: normal; color: black; } .comment-footer { padding: 0px; margin-bottom: 20px; color: $postFooterColor; font-size: 80%; font-weight: normal; display: inline; margin-right: 10px; } .deleted-comment { font-style: italic; color: gray; } .comment-link { margin-left: .6em; } /* Profile ----------------------------------------------- */ .profile-textblock { clear: both; margin-left: 0; } .profile-img { margin: 0 0 5px 5px; float: right; } .BlogArchive #ArchiveList { float: right; } .widget-content { margin-top: 0.5em; } .widget { clear: both; } #blog-pager-newer-link { float: left; } .blog-pager-older-link { float: right; } .blog-pager { text-align: center; } .clear { clear: both; } /** Tweaks for layout editor mode */ body#layout #outer-wrapper { margin-top: 10px; } ]]></b:skin> <link href='hterronecontento.altervista.org/favicon.ico' rel='shortcut icon'/> <link href='hterronecontento.altervista.org/favicon.ico' rel='icon'/> </head> <body> <div id='outer-wrapper'><div id='wrap2'> <!-- skip links for text browsers --> <span id='skiplinks' style='display:none;'> <a href='#main'>skip to main </a> | <a href='#sidebar'>skip to sidebar</a> </span> <div id='header-wrapper'> <b:section class='header' id='header' maxwidgets='1' showaddelement='no'> <b:widget id='Header1' locked='true' title='· ··^v´¯`×) DoMaNi Si STUDIA (×´¯`v^·· · (Intestazione)' type='Header'/> </b:section> </div> <div id='content-wrapper'> <div id='crosscol-wrapper' style='text-align:center'> <b:section class='crosscol' id='crosscol' showaddelement='no'/> </div> <div id='main-wrapper'> <b:section class='main' id='main' showaddelement='no'> <b:widget id='HTML4' locked='false' title='' type='HTML'/> <b:widget id='Blog1' locked='true' title='Post sul blog' type='Blog'/> </b:section> </div> <div id='sidebar-wrapper'> <b:section class='sidebar' id='sidebar' preferred='yes'> <b:widget id='HTML2' locked='false' title='Feed - newsletter' type='HTML'/> <b:widget id='Poll2' locked='false' title='Lo volete iL CALENDARIO del 2008 con i nostri scatti???' type='Poll'/> <b:widget id='Poll1' locked='false' title='Qual&#39;è la cosa che più ti dà fastidio in casa in quest&#39;ultimo periodo?' type='Poll'/> <b:widget id='Profile1' locked='false' title='Collaboratori' type='Profile'/> <b:widget id='Label1' locked='false' title='Menù' type='Label'/> <b:widget id='BlogArchive1' locked='false' title='Archivio blog' type='BlogArchive'/> <b:widget id='HTML1' locked='false' title='' type='HTML'/> <b:widget id='HTML3' locked='false' title='' type='HTML'/> <b:widget id='AdSense1' locked='false' title='' type='AdSense'/> </b:section> </div> <!-- spacer for skins that want sidebar and main to be the same height--> <div class='clear'> </div> </div> <!-- end content-wrapper --> </div></div> <!-- end outer-wrapper --> </body> </html>
-
Devi espandere i widget (metti la spunta su espandi widget), altrimenti così non riesco a trovare il punto!!
-
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "h://w.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html expr:dir='data:blog.languageDirection' xmlns='h://w.w3.org/1999/xhtml' xmlns:b='h://w.google.com/2005/gml/b' xmlns:data='h://w.google.com/2005/gml/data' xmlns:expr='h://w.google.com/2005/gml/expr'> <head> <META CONTENT='Blog di studenti universitari di bologna' NAME='description'/> <META CONTENT='domani si studia, blog studenti, studenti bologna, blog bologna, domanisistudia.com' NAME='keywords'/> <meta content='6YQjGYGtF8/G8ScdJN9YY0VgF3k0ElH+w+tPCISt7Ms=' name='verify-v1'/> <b:include data='blog' name='all-head-content'/> <title><data:blog.pageTitle/></title> <b:skin><![CDATA[/* * Blogger Template Style * Herbert * * by Jason Sutter * Updated by Blogger Team */ /* * Variable definitions * ==================== <Variable name="mainBgColor" description="Page Background Color" type="color" default="#ffffff" / value="#ffffff"> <Variable name="mainTextColor" description="Text Color" type="color" default="#000000" / value="#000000"> <Variable name="titleBgColor" description="Blog Title Background Color" type="color" default="#ff4500" / value="#ff4500"> <Variable name="titleColor" description="Blog Title Color" type="color" default="#fffafa"/ value="#fffafa"> <Variable name="descriptionBgColor" description="Description Background Color" type="color" default="#000000" / value="#000000"> <Variable name="descriptionColor" description="Blog Description Color" type="color" default="#9e5205" / value="#9e5205"> <Variable name="dateHeaderColor" description="Date Header Color" type="color" default="#777777" / value="#777777"> <Variable name="postTitleColor" description="Post Title Color" type="color" default="#555555" / value="#555555"> <Variable name="postTitleBgColor" description="Post Title Background Color" type="color" default="#eeeeee" / value="#eeeeee"> <Variable name="postFooterColor" description="Post Footer Color" type="color" default="#444444" / value="#444444"> <Variable name="mainLinkColor" description="Link Color" type="color" default="#de7008" / value="#de7008"> <Variable name="mainVisitedLinkColor" description="Visited Link Color" type="color" default="#e0ad12" / value="#e0ad12"> <Variable name="sidebarTitleColor" description="Sidebar Title Color" type="color" default="#ff4500" / value="#ff4500"> <Variable name="sidebarLinkColor" description="Sidebar Link Color" type="color" default="#999999" / value="#999999"> <Variable name="sidebarVisitedLinkColor" description="Sidebar Visited Link Color" type="color" default="#de7008" / value="#de7008"> <Variable name="bodyFont" description="Text Font" type="font" default="normal normal 90% 'Trebuchet MS', Trebuchet, Verdana, Sans-Serif" / value="normal normal 90% 'Trebuchet MS', Trebuchet, Verdana, Sans-Serif"> <Variable name="titleFont" description="Blog Title Font" type="font" default="normal bold 266% Verdana, Sans-Serif" / value="normal bold 266% Verdana, Sans-Serif"> <Variable name="descriptionFont" description="Blog Description Font" type="font" default="normal bold 85% Verdana, Sans-Serif" / value="normal bold 85% Verdana, Sans-Serif"> <Variable name="postTitleFont" description="Post Title Font" type="font" default="normal bold 110% Verdana, Sans-serif" value="normal bold 110% Verdana, Sans-serif"> <Variable name="sidebarTitleFont" description="Sidebar Title Font" type="font" default="normal bold 125% Verdana, Sans-Serif" / value="normal bold 125% Verdana, Sans-Serif"> */ body { margin: 0px; padding: 0px; background: $mainBgColor; color: $mainTextColor; font: $bodyFont; } a { color: $mainLinkColor; text-decoration: none; } a:hover { color: $mainVisitedLinkColor; text-decoration: underline; } a:visited { color: $mainVisitedLinkColor; } a img { border: 0; } @media all { div#main-wrapper { float: left; width: 66%; padding: 0 1em 0px 1em; word-wrap: break-word; /* fix for long text breaking sidebar float in IE */ overflow: hidden; /* fix for long non-text content breaking IE sidebar float */ } div#sidebar-wrapper { margin: 0px; padding: 0px; text-align: right; } div#sidebar { width: 30%; float: right; word-wrap: break-word; /* fix for long text breaking sidebar float in IE */ overflow: hidden; /* fix for long non-text content breaking IE sidebar float */ } } #content-wrapper { margin-right: 1em; } @media handheld { div#main-wrapper { float: none; width: 90%; } div#sidebar-wrapper { padding: 20px 1em 0 1em; text-align: left; } } #header { padding: 5px 0px 8px 0px; margin: 0px 0px 20px 0px; border-bottom: solid 1px $postTitleBgColor; border-top: solid 2px $descriptionBgColor; background: $descriptionBgColor; color: $descriptionColor; } h1 a:link { color: $titleColor; } h1 a:visited { color: $titleColor; } h1 { padding: 18px 0px 10px 5%; margin: 0px 0px 8px 0px; border-top: solid 9px $sidebarTitleColor; border-bottom: solid 1px $descriptionColor; color: $titleColor; background: $titleBgColor; font: $titleFont; } .description { padding: 0px 0px 0px 5%; margin: 0px; color: $descriptionColor; background: transparent; font: $descriptionFont; } h3 { margin: 0px 0px 10px 0px; padding: 2px 0px 2px 2px; color: $postTitleColor; background: $postTitleBgColor; font: $postTitleFont; } h3.post-title a, h3.post-title a:visited { color: $postTitleColor; } h2.date-header { margin: 10px 0px 0px 0px; padding: 0px 0px 0px 2%; color: $dateHeaderColor; font-size: 90%; text-align: left; } #sidebar h2 { margin: 0px; color: $sidebarTitleColor; font: $sidebarTitleFont; padding: 0px; border: none; } .widget { margin: 0px 0px 33px 0px; padding: 0; } ul { list-style-type: none; font-size: 95%; margin-top: 0; } li { margin: 0px; padding: 0px; list-style-type: none; font-size: 105%; } .Blog { margin-top: 20px; } .blog-posts, .feed-links { margin-left: 2%; } .feed-links { clear: both; line-height: 2.5em; } .post { margin: 0 0 30px 0; font-size: 100%; } .post-body { margin: 0 6px 0 5px; } .post strong { font-weight: bold; } a { text-decoration: none; } a:link, a:visited { color: $sidebarLinkColor; } a:active, a:hover { color: $sidebarVisitedLinkColor; } pre,code,strike { color: #666666; } .post-footer { padding: 0 0 0 5px; margin: 0px; color: $postFooterColor; font-size: 80%; } #comments { padding: 2px 0px 2px 5px; font-size: 110%; font-weight: bold; font-family: Verdana,Sans-Serif; } .comment-author { margin-top: 20px; } .comment-body { margin-top: 10px; font-size: 100%; font-weight: normal; color: black; } .comment-footer { padding: 0px; margin-bottom: 20px; color: $postFooterColor; font-size: 80%; font-weight: normal; display: inline; margin-right: 10px; } .deleted-comment { font-style: italic; color: gray; } .comment-link { margin-left: .6em; } /* Profile ----------------------------------------------- */ .profile-textblock { clear: both; margin-left: 0; } .profile-img { margin: 0 0 5px 5px; float: right; } .BlogArchive #ArchiveList { float: right; } .widget-content { margin-top: 0.5em; } .widget { clear: both; } #blog-pager-newer-link { float: left; } .blog-pager-older-link { float: right; } .blog-pager { text-align: center; } .clear { clear: both; } /** Tweaks for layout editor mode */ body#layout #outer-wrapper { margin-top: 10px; } ]]></b:skin> <link href='h://terronecontento.altervista.org/favicon.ico' rel='shortcut icon'/> <link href='h://terronecontento.altervista.org/favicon.ico' rel='icon'/> </head> <body> <div id='outer-wrapper'><div id='wrap2'> <!-- skip links for text browsers --> <span id='skiplinks' style='display:none;'> <a href='#main'>skip to main </a> | <a href='#sidebar'>skip to sidebar</a> </span> <div id='header-wrapper'> <b:section class='header' id='header' maxwidgets='1' showaddelement='no'> <b:widget id='Header1' locked='true' title='· ··^v´¯`×) DoMaNi Si STUDIA (×´¯`v^·· · (Intestazione)' type='Header'> <b:includable id='main'> <b:if cond='data:useImage'> <b:if cond='data:imagePlacement == "REPLACE"'> <!--Show just the image, no text--> <div id='header-inner'> <a expr:href='data:blog.homepageUrl' style='display: block'> <img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + "_headerimg"' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/> </a> </div> <b:else/> <!-- Show image as background to text. You can't really calculate the width reliably in JS because margins are not taken into account by any of clientWidth, offsetWidth or scrollWidth, so we don't force a minimum width. This results in a margin-width's worth of pixels being cropped, which is probably better than having them overflow out of the div. --> <b:if cond='data:blog.languageDirection == "rtl"'> <div expr:style='"background-image: url(\"" + data:sourceUrl + "\"); " + "background-position: right; " + "min-height: " + data:height + "px;" + "_height: " + data:height + "px;" + "background-repeat: no-repeat; "' id='header-inner'> <div class='titlewrapper' style='background: transparent'> <h1 class='title' style='background: transparent; border-width: 0px'> <b:include name='title'/> </h1> </div> <b:include name='description'/> </div> <b:else/> <div expr:style='"background-image: url(\"" + data:sourceUrl + "\"); " + "background-position: left; " + "min-height: " + data:height + "px;" + "_height: " + data:height + "px;" + "background-repeat: no-repeat; "' id='header-inner'> <div class='titlewrapper' style='background: transparent'> <h1 class='title' style='background: transparent; border-width: 0px'> <b:include name='title'/> </h1> </div> <b:include name='description'/> </div> </b:if> </b:if> <b:else/> <!--No header image --> <div id='header-inner'> <div class='titlewrapper'> <h1 class='title'> <b:include name='title'/> </h1> </div> <b:include name='description'/> </div> </b:if> </b:includable> <b:includable id='title'> <b:if cond='data:blog.url == data:blog.homepageUrl'> <data:title/> <b:else/> <a expr:href='data:blog.homepageUrl'><data:title/></a> </b:if> </b:includable> <b:includable id='description'> <div class='descriptionwrapper'> <p class='description'><span><data:description/></span></p> </div> </b:includable> </b:widget> </b:section> </div> <div id='content-wrapper'> <div id='crosscol-wrapper' style='text-align:center'> <b:section class='crosscol' id='crosscol' showaddelement='no'/> </div> <div id='main-wrapper'> <b:section class='main' id='main' showaddelement='no'> <b:widget id='HTML4' locked='false' title='' type='HTML'> <b:includable id='main'> <!-- only display title if it's non-empty --> <b:if cond='data:title != ""'> <h2 class='title'><data:title/></h2> </b:if> <div class='widget-content'> <data:content/> </div> <b:include name='quickedit'/> </b:includable> </b:widget> <b:widget id='Blog1' locked='true' title='Post sul blog' type='Blog'> <b:includable id='nextprev'> <div class='blog-pager' id='blog-pager'> <b:if cond='data:newerPageUrl'> <span id='blog-pager-newer-link'> <a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + "_blog-pager-newer-link"' expr:title='data:newerPageTitle'><data:newerPageTitle/></a> </span> </b:if> <b:if cond='data:olderPageUrl'> <span id='blog-pager-older-link'> <a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + "_blog-pager-older-link"' expr:title='data:olderPageTitle'><data:olderPageTitle/></a> </span> </b:if> <b:if cond='data:blog.homepageUrl != data:blog.url'> <a class='home-link' expr:href='data:blog.homepageUrl'><data:homeMsg/></a> <b:else/> <b:if cond='data:newerPageUrl'> <a class='home-link' expr:href='data:blog.homepageUrl'><data:homeMsg/></a> </b:if> </b:if> </div> <div class='clear'/> </b:includable> <b:includable id='backlinks' var='post'> <a name='links'/><h4><data:post.backlinksLabel/></h4> <b:if cond='data:post.numBacklinks != 0'> <dl class='comments-block' id='comments-block'> <b:loop values='data:post.backlinks' var='backlink'> <div class='collapsed-backlink backlink-control'> <dt class='comment-title'> <span class='backlink-toggle-zippy'> </span> <a expr:href='data:backlink.url' rel='nofollow'><data:backlink.title/></a> <b:include data='backlink' name='backlinkDeleteIcon'/> </dt> <dd class='comment-body collapseable'> <data:backlink.snippet/> </dd> <dd class='comment-footer collapseable'> <span class='comment-author'><data:post.authorLabel/> <data:backlink.author/></span> <span class='comment-timestamp'><data:post.timestampLabel/> <data:backlink.timestamp/></span> </dd> </div> </b:loop> </dl> </b:if> <p class='comment-footer'> <a class='comment-link' expr:href='data:post.createLinkUrl' expr:id='data:widget.instanceId + "_backlinks-create-link"' target='_blank'><data:post.createLinkLabel/></a> </p> </b:includable> <b:includable id='post' var='post'> <div class='post hentry uncustomized-post-template'> <a expr:name='data:post.id'/> <b:if cond='data:post.title'> <h3 class='post-title entry-title'> <b:if cond='data:post.link'> <a expr:href='data:post.link'><data:post.title/></a> <b:else/> <b:if cond='data:post.url'> <a expr:href='data:post.url'><data:post.title/></a> <b:else/> <data:post.title/> </b:if> </b:if> </h3> </b:if> <div class='post-header-line-1'/> <div class='post-body entry-content'> <p><data:post.body/></p> <div style='clear: both;'/> <!-- clear for photos floats --> </div> <div class='post-footer'> <p class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> <b:if cond='data:top.showAuthor'> <data:top.authorLabel/> <span class='fn'><data:post.author/></span> </b:if> </span> <span class='post-timestamp'> <b:if cond='data:top.showTimestamp'> <data:top.timestampLabel/> <b:if cond='data:post.url'> <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601'><data:post.timestamp/></abbr></a> </b:if> </b:if> </span> <a expr:href='"h://w.wikio.it/vote?url=" + data:post.url' style='float:left' target='_tab'><img alt='h://w.wikio.it' src='h://w.wikio.it/shared/img/vote/wikio5.gif' style='border-style:none;padding:0.1em'/></a> <span class='post-comment-link'> <b:if cond='data:blog.pageType != "item"'> <b:if cond='data:post.allowComments'> <a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a> </b:if> </b:if> </span>
-
<!-- backlinks --> <span class='post-backlinks post-comment-link'> <b:if cond='data:blog.pageType != "item"'> <b:if cond='data:post.showBacklinks'> <a class='comment-link' expr:href='data:post.url + "#links"'><data:top.backlinkLabel/></a> </b:if> </b:if> </span> <span class='post-icons'> <!-- email post links --> <b:if cond='data:post.emailPostUrl'> <span class='item-action'> <a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'> <img alt='' class='icon-action' src='h://w.blogger.com/img/icon18_email.gif'/> </a> </span> </b:if> <!-- quickedit pencil --> <b:include data='post' name='postQuickEdit'/> </span> </p> <p class='post-footer-line post-footer-line-2'> <span class='post-labels'> <b:if cond='data:post.labels'> <data:postLabelsLabel/> <b:loop values='data:post.labels' var='label'> <a expr:href='data:label.url' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'>,</b:if> </b:loop> </b:if> </span> </p> <p class='post-footer-line post-footer-line-3'/> </div> </div> </b:includable> <b:includable id='commentDeleteIcon' var='comment'> <span expr:class='"item-control " + data:comment.adminClass'> <a expr:href='data:comment.deleteUrl' expr:title='data:top.deleteCommentMsg'> <span class='delete-comment-icon'> </span> </a> </span> </b:includable> <b:includable id='status-message'> <b:if cond='data:navMessage'> <div class='status-msg-wrap'> <div class='status-msg-body'> <data:navMessage/> </div> <div class='status-msg-border'> <div class='status-msg-bg'> <div class='status-msg-hidden'><data:navMessage/></div> </div> </div> </div> <div style='clear: both;'/> </b:if> </b:includable> <b:includable id='feedLinks'> <b:if cond='data:blog.pageType != "item"'> <!-- Blog feed links --> <b:if cond='data:feedLinks'> <div class='blog-feeds'> <b:include data='feedLinks' name='feedLinksBody'/> </div> </b:if> <b:else/> <!--Post feed links --> <div class='post-feeds'> <b:loop values='data:posts' var='post'> <b:if cond='data:post.allowComments'> <b:if cond='data:post.feedLinks'> <b:include data='post.feedLinks' name='feedLinksBody'/> </b:if> </b:if> </b:loop> </div> </b:if> </b:includable> <b:includable id='backlinkDeleteIcon' var='backlink'> <span expr:class='"item-control " + data:backlink.adminClass'> <a expr:href='data:backlink.deleteUrl' expr:title='data:top.deleteBacklinkMsg'> <span class='delete-comment-icon'> </span> </a> </span> </b:includable> <b:includable id='feedLinksBody' var='links'> <div class='feed-links'> <data:feedLinksMsg/> <b:loop values='data:links' var='f'> <a class='feed-link' expr:href='data:f.url' expr:type='data:f.mimeType' target='_blank'><data:f.name/> (<data:f.feedType/>)</a> </b:loop> </div> </b:includable> <b:includable id='postQuickEdit' var='post'> <b:if cond='data:post.editUrl'> <span expr:class='"item-control " + data:post.adminClass'> <a expr:href='data:post.editUrl' expr:title='data:top.editPostMsg'> <img alt='' class='icon-action' src='h://w.blogger.com/img/icon18_edit_allbkg.gif'/> </a> </span> </b:if> </b:includable> <b:includable id='comments' var='post'> <div class='comments' id='comments'> <a name='comments'/> <b:if cond='data:post.allowComments'> <h4> <b:if cond='data:post.numComments == 1'> 1 <data:commentLabel/>: <b:else/> <data:post.numComments/> <data:commentLabelPlural/>: </b:if> </h4> <dl id='comments-block'> <b:loop values='data:post.comments' var='comment'> <dt expr:class='"comment-author " + data:comment.authorClass' expr:id='data:comment.anchorName'> <a expr:name='data:comment.anchorName'/> <b:if cond='data:comment.authorUrl'> <a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a> <b:else/> <data:comment.author/> </b:if> <data:commentPostedByMsg/> </dt> <dd class='comment-body'> <b:if cond='data:comment.isDeleted'> <span class='deleted-comment'><data:comment.body/></span> <b:else/> <p><data:comment.body/></p> </b:if> </dd> <dd class='comment-footer'> <span class='comment-timestamp'> <a expr:href='data:comment.url' title='comment permalink'> <data:comment.timestamp/> </a> <b:include data='comment' name='commentDeleteIcon'/> </span> </dd> </b:loop> </dl> <p class='comment-footer'> <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a> </p> </b:if> <div id='backlinks-container'> <div expr:id='data:widget.instanceId + "_backlinks-container"'> <b:if cond='data:post.showBacklinks'> <b:include data='post' name='backlinks'/> </b:if> </div> </div> </div> </b:includable> <b:includable id='main' var='top'> <!-- posts --> <div class='blog-posts hfeed'> <b:include data='top' name='status-message'/> <data:adStart/> <b:loop values='data:posts' var='post'> <b:if cond='data:post.dateHeader'> <h2 class='date-header'><data:post.dateHeader/></h2> </b:if> <b:include data='post' name='post'/> <b:if cond='data:blog.pageType == "item"'> <b:include data='post' name='comments'/> </b:if> <b:if cond='data:post.includeAd'> <data:adEnd/> <data:adCode/> <data:adStart/> </b:if> </b:loop> <data:adEnd/> </div> <!-- navigation --> <b:include name='nextprev'/> <!-- feed links --> <b:include name='feedLinks'/> </b:includable> </b:widget> </b:section> </div> <div id='sidebar-wrapper'> <b:section class='sidebar' id='sidebar' preferred='yes'> <b:widget id='HTML2' locked='false' title='Feed - newsletter' type='HTML'> <b:includable id='main'> <!-- only display title if it's non-empty --> <b:if cond='data:title != ""'> <h2 class='title'><data:title/></h2> </b:if> <div class='widget-content'> <data:content/> </div> <b:include name='quickedit'/> </b:includable> </b:widget> <b:widget id='Poll2' locked='false' title='Lo volete iL CALENDARIO del 2008 con i nostri scatti???' type='Poll'> <b:includable id='main'> <div class='widget-content' id='widget-content'> <h2><data:title/></h2> <iframe allowtransparency='true' expr:height='data:iframeheight' expr:name='"poll-widget" + data:pollid' expr:src='data:iframeurl' frameborder='0' style='border:none; width:100%;'/> <b:include name='quickedit'/> </div> </b:includable> </b:widget> <b:widget id='Poll1' locked='false' title='Qual&#39;è la cosa che più ti dà fastidio in casa in quest&#39;ultimo periodo?' type='Poll'> <b:includable id='main'> <div class='widget-content' id='widget-content'> <h2><data:title/></h2> <iframe allowtransparency='true' expr:height='data:iframeheight' expr:name='"poll-widget" + data:pollid' expr:src='data:iframeurl' frameborder='0' style='border:none; width:100%;'/> <b:include name='quickedit'/> </div> </b:includable> </b:widget> <b:widget id='Profile1' locked='false' title='Collaboratori' type='Profile'> <b:includable id='main'> <b:if cond='data:title != ""'> <h2><data:title/></h2> </b:if> <div class='widget-content'> <b:if cond='data:team == "true"'> <!-- team blog profile --> <ul> <b:loop values='data:authors' var='i'> <li><a expr:href='data:i.userUrl'><data:i.display-name/></a></li> </b:loop> </ul> <b:else/> <!-- normal blog profile --> <b:if cond='data:photo.url != ""'> <a expr:href='data:userUrl'><img class='profile-img' expr:alt='data:photo.alt' expr:height='data:photo.height' expr:src='data:photo.url' expr:width='data:photo.width'/></a> </b:if> <dl class='profile-datablock'> <dt class='profile-data'><data:displayname/></dt> <b:if cond='data:showlocation == "true"'> <dd class='profile-data'><data:location/></dd> </b:if> <b:if cond='data:aboutme != ""'><dd class='profile-textblock'><data:aboutme/></dd></b:if> </dl> <a class='profile-link' expr:href='data:userUrl'><data:viewProfileMsg/></a> </b:if> <b:include name='quickedit'/> </div> </b:includable> </b:widget> <b:widget id='Label1' locked='false' title='Menù' type='Label'> <b:includable id='main'> <b:if cond='data:title'> <h2><data:title/></h2> </b:if> <div class='widget-content'> <ul> <b:loop values='data:labels' var='label'> <li> <b:if cond='data:blog.url == data:label.url'> <span expr:dir='data:blog.languageDirection'> <data:label.name/> </span> <b:else/> <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'> <data:label.name/> </a> </b:if> <span dir='ltr'>(<data:label.count/>)</span> </li> </b:loop> </ul> <b:include name='quickedit'/> </div> </b:includable> </b:widget> <b:widget id='BlogArchive1' locked='false' title='Archivio blog' type='BlogArchive'> <b:includable id='main'> <b:if cond='data:title'> <h2><data:title/></h2> </b:if> <div class='widget-content'> <div id='ArchiveList'> <div expr:id='data:widget.instanceId + "_ArchiveList"'> <b:if cond='data:style == "HIERARCHY"'> <b:include data='data' name='interval'/> </b:if> <b:if cond='data:style == "FLAT"'> <b:include data='data' name='flat'/> </b:if> <b:if cond='data:style == "MENU"'> <b:include data='data' name='menu'/> </b:if> </div> </div> <b:include name='quickedit'/> </div> </b:includable> <b:includable id='flat' var='data'> <ul> <b:loop values='data:data' var='i'> <li class='archivedate'> <a expr:href='data:i.url'><data:i.name/></a> (<data:i.post-count/>) </li> </b:loop> </ul> </b:includable> <b:includable id='menu' var='data'> <select expr:id='data:widget.instanceId + "_ArchiveMenu"'> <option value=''><data:title/></option> <b:loop values='data:data' var='i'> <option expr:value='data:i.url'><data:i.name/> (<data:i.post-count/>)</option> </b:loop> </select> </b:includable> <b:includable id='interval' var='intervalData'> <b:loop values='data:intervalData' var='i'> <ul> <li expr:class='"archivedate " + data:i.expclass'> <b:include data='i' name='toggle'/> <a class='post-count-link' expr:href='data:i.url'><data:i.name/></a> <span class='post-count' dir='ltr'>(<data:i.post-count/>)</span> <b:if cond='data:i.data'> <b:include data='i.data' name='interval'/> </b:if> <b:if cond='data:i.posts'> <b:include data='i.posts' name='posts'/> </b:if> </li> </ul> </b:loop> </b:includable> <b:includable id='toggle' var='interval'> <b:if cond='data:interval.toggleId'> <b:if cond='data:interval.expclass == "expanded"'> <a class='toggle' expr:href='data:widget.actionUrl + "&action=toggle" + "&dir=close&toggle=" + data:interval.toggleId + "&toggleopen=" + data:toggleopen'> <span class='zippy toggle-open'>▼ </span> </a> <b:else/> <a class='toggle' expr:href='data:widget.actionUrl + "&action=toggle" + "&dir=open&toggle=" + data:interval.toggleId + "&toggleopen=" + data:toggleopen'> <span class='zippy'> <b:if cond='data:blog.languageDirection == "rtl"'> ◄ <b:else/> ► </b:if> </span> </a> </b:if> </b:if> </b:includable> <b:includable id='posts' var='posts'> <ul class='posts'> <b:loop values='data:posts' var='i'> <li><a expr:href='data:i.url'><data:i.title/></a></li> </b:loop> </ul> </b:includable> </b:widget> <b:widget id='HTML1' locked='false' title='' type='HTML'> <b:includable id='main'> <!-- only display title if it's non-empty --> <b:if cond='data:title != ""'> <h2 class='title'><data:title/></h2> </b:if> <div class='widget-content'> <data:content/> </div> <b:include name='quickedit'/> </b:includable> </b:widget> <b:widget id='HTML3' locked='false' title='' type='HTML'> <b:includable id='main'> <!-- only display title if it's non-empty --> <b:if cond='data:title != ""'> <h2 class='title'><data:title/></h2> </b:if> <div class='widget-content'> <data:content/> </div> <b:include name='quickedit'/> </b:includable> </b:widget> <b:widget id='AdSense1' locked='false' title='' type='AdSense'> <b:includable id='main'> <div class='widget-content'> <data:adCode/> </div> </b:includable> </b:widget> </b:section> </div> <!-- spacer for skins that want sidebar and main to be the same height--> <div class='clear'> </div> </div> <!-- end content-wrapper --> </div></div> <!-- end outer-wrapper --> </body> </html>
-
Cerca:
<div expr:style='"background-image: url(\"" + data:sourceUrl + "\"); "
Occhio che di questi codici ce ne sono due, uno dopo l'altro, quello giusto dovrebbe essere il secondo. E modificalo così
<div expr:style='"background-image: url(\"" + data:sourceUrl + "\"); " + "background-position: center; "
Si tratta di aggiungere solo
- "background-position: center; "
Così dovrebbe funzionare, fai prima l'anteprima, e poi se tutto va bene salvi.
-
non funziona...
-
Cosa c'è che non funziona? Ti da errore? E che tipo di errore?
Hai modificato il primo codice che hai trovato o il secondo? Quello giusto dovrebbe essere il secondo... se non funziona, prova con il primo!
-
li ho modificati entrambi ma non cambia niente... booo... comunque nessun errore...
-
@N0OB said:
li ho modificati entrambi ma non cambia niente... booo... comunque nessun errore...
Allora invece di aggiungere solo- "background-position: center; "prova ad aggiungere questa stringa:
- "background-position: center; " + "background-repeat: no-repeat; "' id='header-inner'>
-
ancora nulla... nessun cabiamento...
trovo questo codice
<div expr:style='"background-image: url(\"" + data:sourceUrl + "\"); " + "background-position: left; "
e sostituisco
+ "background-position: left; "
con quello che mi suggerisci tu...
-
@N0OB said:
ancora nulla... nessun cambiamento...
Non sò... a me, nel mio blog di prova, funziona!! Peccato solo che non puoi modificare i css!
-
riprovo e riprovo ma niente