WordPress.org

Ready to get started?Download WordPress

Forums

Adding a general text-quote (5 posts)

  1. leogrande
    Member
    Posted 9 years ago #

    Hi,
    I`m sure there is some input about the topic - but I´m to stupid to find it with the search function: I simply want to add a text-field to my template - here I want to explain some general words to my blog. So this field must be part of the fixed design - placed right unter the header. Any ideas how this is gone work out?
    Thank you.
    Jörn

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Have you seen a blog with an example that we could see ?
    I have a textbox at the top - not sure if it's what you want though.
    ClicK my name to see it.

  3. leogrande
    Member
    Posted 9 years ago #

    Hi,
    Yes, this "Karma man"-field under the header. That is what I mean. Any idea how I can integrate this in my template?
    Jörn

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Yeaaa.......it's easy :)

    Here is the CSS. Place it nywhere in your stylesheet:
    #tinfo {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-left: 20px;
    background: #010010;
    font: bold 14px arial, verdana, 'lucida sans unicode', sans-serif;
    border: solid 1px #333;
    padding-bottom: 20px;
    }

    Once that is done, put this into index.php:
    <h1 id="header"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    </div>

    <div id="tinfo">Karma man, just remember Karma. Treat things nice and nice things happen to you. © Claire<br /> </div>

    <div id="content">

    I have included more lines there just so you can see where they go.

    Any problems, post back :)

  5. leogrande
    Member
    Posted 9 years ago #

    thank you very much....

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.