Heres some tips to get your blogspot template the way you want it !!

Discussion in 'Blogging' started by ch8878, May 30, 2010.

  1. #1
    Here's what you do. First, search for this text:

    <title><data:blog.pagetitle/></title>

    And replace it with this text:

    <b:if cond='data:blog.pageType == &quot;item&quot;'>
    <title><data:blog.pageName/> | <data:blog.title/></title>
    <b:else/>
    <title><data:blog.pageTitle/></title>
    </b:if>

    For your META DATA do this :

    Here is the code you have to add :

    <meta content='DESCRIPTION HERE' name='description'/>
    <meta content='KEYWORDS HERE' name='keywords'/>
    <meta content='AUTHOR NAME HERE' name='author'/>

    DESCRIPTION HERE:Write your blog description
    KEYWORDS:Write the keywords of your blog
    AUTHOR NAME:Write the author's name(Your name)

    3.Add the above code just after this

    <b:include data='blog' name='all-head-content'/>

    To hide the navigation bar on blogger code :

    #navbar-iframe {
    height: 0px;
    visibility:hidden;
    display: none;
    }

    To ad Adsense below post title :

    <div style='float:left;margin:0 5px 5px 0;width:336px;height:280px;overflow:hidden;'>
    <b:if cond='data:post.includeAd'>
    <data:adEnd/>
    <data:adCode/>
    <data:adStart/>
    </b:if>
    </div>

    Put below

    <div class post-body entry-content'>

    Put above

    <data:post.body/>


    How to add a header :

    Search for code below

    <div id='header-wrapper'>
    <b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
    <b:widget id='Header1' locked='true' title='Header (Header)' type='Header'/>
    </b:section> </div>


    Look at the above code. Few parts are written in bold letters. You have to change them in order to allow custom header to be used. Change 1 to 2, change no to yes and change true to false.
    Save the template and go the Page Elements. Look at the header section of your template, a new Add a Gadget option should be there.


    Find the following codes in the template editor:
    (You can simply click Ctrl+F for find the keyword <div id='header-wrapper' in the codes).

    <div id='header-wrapper'>
    <b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
    <b:widget id='Header1' locked='true' title='Your Blog Title (Header)' type='Header'/>

    4) Look particularly for the following:

    a) maxwidgets='1'. Change it to: maxwidgets='3'.
    You can change the number depending on how many widgets (maximum) you’d like to add at the header.

    b) showaddelement='no'. Change it to: showaddelement='yes'.

    After you change this, save the template by clicking “Save” button.

    5) After that, click "Page Elements". Now you can notice that an additional "Add a Page Element" has been added at the Header".

    Now when you change this : from this showaddelement='no' to this showaddelement='yes' it will put an ad above the header try it out and hope this can help others !!
     
    ch8878, May 30, 2010 IP
  2. ch8878

    ch8878 Active Member

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #2
    The smile face is hiding the letter P !
     
    ch8878, May 30, 2010 IP
  3. klo

    klo Active Member

    Messages:
    1,345
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    55
    #3
    its good, better for you is to make a post and paste link here :)
     
    klo, Jun 2, 2010 IP
  4. ch8878

    ch8878 Active Member

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #4
    What are you talking about link ?
     
    ch8878, Jun 14, 2010 IP