Viewing 13 replies - 1 through 13 (of 13 total)
  • Can you post a link to your problem, so we can see the un-styled recent posts?

    Thread Starter Alex

    (@netxm)

    it’s on localhost….

    Thread Starter Alex

    (@netxm)

    but when I click on the title and open up the post, everything is ok.

    Load the page into your browser, check the head of the document to see if all stylesheets have the correct path. Also, if you’re using Firefox, install the Firebug plugin and you can directly inspect the code (css, html, etc) of any element on the page by simply hovering over that element. This will show you what CSS is attached to the element, if the CSS is being overridden by something else and so on. Hard to be more specific without being able to see it.

    Also, have you tried upload a fresh version of the theme, to see if it works as it was when you downloaded/installed it?

    Thread Starter Alex

    (@netxm)

    I’ll try that, thanks
    I don’t want to install new version of the theme (if there is one) because I edited it already. I also use qtranslate plugin for multilingual support.

    Not familiar with the plugin, but I wouldn’t think that’d cause any issues. With that said, as I said in the previous post, I would check to ensure the styles are being loaded via the stylesheet…is that plugin overwriting the content on the home page? Try disabling the plugin and see what happens.

    Thread Starter Alex

    (@netxm)

    css is ok, I checked everything… there are still lists, etc.

    Thread Starter Alex

    (@netxm)

    when I add image to a post, it won’t be visible until I open the post.

    css is ok, I checked everything… there are still lists, etc.

    How do you know it’s OK? How did you check it? Lists are created by markup, so they don’t rely on CSS.

    Thread Starter Alex

    (@netxm)

    ok, so how do I check it? please help!!!

    As pavy said, if you’re using Firefox, install Firebug. Also check your CSS for any errors using the CSS Validator.

    Check the your markup of your posts page (presumably index.php) using the W3C Validator. Run the page on localhost, view the page source, copy it and drop it into the validator’s Direct Input box.

    Thread Starter Alex

    (@netxm)

    Solved, instead of

    <a href="<?php the_permalink(); ?>"><?php dp_attachment_image($post->ID, 'thumbnail', 'alt=""' . $post->post_title . '"'); ?></a>
    		<a href="<?php the_permalink(); ?>" class="title"><?php the_title(); ?></a>
    		<?php echo dp_clean ($post->post_content, false); ?>
    		<a class="more" href="<?php the_permalink(); ?>">more</a>

    I made next :

    <a href="<?php the_permalink(); ?>"><?php dp_attachment_image($post->ID, 'thumbnail', 'alt=""' . $post->post_title . '"'); ?></a>
    		<a href="<?php the_permalink(); ?>" class="title"><?php the_title(); ?></a>
    		<?php the_content() ?>

    Thank you all for replies.

    hey
    I want to keep the line
    <?php echo dp_clean ($post->post_content, 400); ?>
    because i want a limit of chars, but I would like text formating.
    how do I do that? pls

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘latesr posts on index page (no style)’ is closed to new replies.