WordPress.org

Ready to get started?Download WordPress

Forums

Own Theme (based on Starkers): No text formatting in WP possible (5 posts)

  1. Broxigar
    Member
    Posted 2 years ago #

    hey,

    i just created a wordpress theme based on the naked theme "Starkers". After i finished the work i uploaded and activated it. All worked...but one.
    I recognized this problem, after i wrote the first post. I can't do any formatting to the text. For example when i want to create a list with

    <ol>
    <li></li>
    <li></li>
    </ol>

    in WP-HTML editor i get no list in the post (when i switch after the input in the HTML editor to the visible mode in WP it's displayed there correctly).
    With other themes it's working.
    With the original "Starkers" theme it's also not working (the list isn't displayed).
    When i go to my page and look at my source code there stands the html code for the list

    <ol>
    <li>1</li>
    <li>2</li>
    </ol>

    ; but as said in the browser there's only 1 2 insead of 1.1 2.2

    Anybody an idea? When some code is needed pls ask me.

    greeting

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    please post a link to your site for any problems with formatting.

    have you checked if starkers uses 'reset' styles?

    have you added styles for lists in your content are?

    http://www.w3schools.com/css/css_list.asp

  3. Broxigar
    Member
    Posted 2 years ago #

    No i've no styles for lists added yet.
    Yes Starkers uses "reset" styles.
    My website is there: http://broxigar.webs.com/
    Would be nice if you could have a look.

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    in reset.css:

    ol, ul, li { list-style:none }

    these remove the list styling;
    you need to add new styles into style.css of your theme;
    for general css instructions, see link in my earlier reply.

  5. Broxigar
    Member
    Posted 2 years ago #

    Ah, ok thanks very much!

    I wish you a happy christmas!
    PS: Now i understand the sense of the reset.css ;)

Topic Closed

This topic has been closed to new replies.

About this Topic