SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2008
    Location
    Margate South Africa
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Adding code to Text element in Blogger?

    Hi guys,
    I have a site at http://south-africa-real-estate.blogspot.com. I have a Text Page Element in my Sidebar and I have identified the widget code as the following:

    <div id='sidebar-wrapper'>
    <b:section class='sidebar' id='sidebar' preferred='yes'>
    <b:widget id='Text2' locked='false' title='' type='Text'>
    <b:includable id='main'>
    <!-- only display title if it's non-empty -->
    <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>

    </b:if>
    <div class='widget-content'>
    <data:content/>
    </div>

    <b:include name='quickedit'/>

    Please can somebody tell me the codes and where to add them in for alignment, font size and colour etc.
    Cheers
    Alan Butterworth
    alanbutt
    http://alcoholism-alifesentence.blogspot.com
    Recovery from Alcoholism,Depression,Addiction and Anxiety

  2. #2
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alignment, font size and colour are presentational aspects and should be handled via CSS. Presumably you have an external CSS style sheet somewhere?

    Exactly how to apply it depends on how the generated code looks like. What you've shown us is some sort of meta-markup which will be converted by your blogging tool into proper HTML or XHTML, and that's what you need to style.
    Birnam wood is come to Dunsinane


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •