Support » Fixing WordPress » A space : how to delete it ? how to show some….

  • Hello,

    I have a quite small problem. Before the title of my post, I inserted a cross † , but this one does not appear, it appears a question mark to the place.

    Furthermore, I put my title, and at once below, he has to have my message there. However, it does not work. It has to display as it:
    – title
    – message

    it so appears:
    – title
    – nothing
    – message

    SCREENCAPT : clik it :

    How to solve these problems? Thank you

    Mystic Matt

Viewing 6 replies - 1 through 6 (of 6 total)
  • My code:

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div <?php the_ID(); ?>>
    <div id=”ziou”>
    <?php the_date(); ?>
    <font color=”#999999″><span style=”color: #999999″>xxx</span></font>
    <?php comments_popup_link(“00CMNTS”, “01CMNTS”, “0%CMNTS”) ?>

    <?php permalink_anchor(); ?>

    <div > [ † ]
    <?php the_title(); ?>

    <?php the_content(); ?>

    <p align=”right” >Mystic
    at “>
    <?php the_time() ?>

    <?php endwhile; ?>
    <?php next_posts_link(‘« Previous Entries’) ?>
    <div >
    <div class=”alignleft”> </div>
    <div class=”alignright”>
    <?php previous_posts_link(‘Next Entries »’) ?>
    <?php endif; ?>



    For special characters like that “cross” you should use html entities.

    You’ll have to style your paragraphs not to have top margin.

    Thanks for your answer!
    I don’t know what you tell about html entities? Have you an example please ?

    Have you an exemple for ‘youll have to style your paragraphs’ ? PLease ?

    Thank you again moshu 😉

    I will credit you for your help! (have you blog?)

    (I have many blogs 😉

    You will be surprised what a google search can do for you:

    It seems you have a theme done by yourself, so I was assuming you know some CSS. Paragraphs <p> have by default top margins. Defining in your stylesheet
    p {
    margin-top: 0;

    might be a solution, however, that would erase ALL the spaces between paragraphs… so your text would look ugly and difficult to read.
    Study other themes and their code – you’ll notice the_content tag is often put inside a separate div (post or content or whatever) and define the style of that div as not having margin-top. In this way your paragraphs would remain “normal”.

    And a general advice: if you are building your own theme, you better start learning some basic HTML and CSS, otherwise it won’t work.

    Yes, thanks!
    I found the solution!

    But, in my comments-popup.php, i have the same problems with the space. Ive put the code margin-top in my stylesheet, and put a seperate div, but it doesn’t work.There is a space between the message and the time of the message.

    The code:

    [moderated – long code deleted.
    Don’t post long code here, please!
    It is difficult to read and nobody really bothers to take a look at it. You can use or similar services – and post back with the URI.
    For posting small code snippets, please read carefully the instructions here below the text input area: the “backticks” usually are located on top-left of your keyboard, where ~ [tilde] is.

    How to resolve that ? It’s my last question :p


    Please, someone could help me ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘A space : how to delete it ? how to show some….’ is closed to new replies.