Please help me wordpress experts!

8 replies
  • WEB DESIGN
  • |
I have been installing and tweaking some sites now, but i keep having the following issue.

Please check the first post on the indexpage of Honest Marketing Reviews

Then check the post itself here:
Boosting Traffic PART 1 – Google News Juice | Honest Marketing Reviews

(please ignore the shabby formatting, i added it to clearly show the difference)

Somehow the posts on the indexpage look very differently from the posts themselfs. On the indexpage it totally screws up any textformatting. I have been searching all over the internet to find a solution, but nothing i tried worked.

What can i do to make the posts on the indexpage look exactly like i make them?
#experts #wordpress
  • Profile picture of the author chriswhiteley
    Seems the links to the site are not working as I went to take a look. It could be that you were making some major changes while I was looking, or your site is down.

    Without seeing the site it is hard to tell what the issue could be, but my first guess would be the fact that the CSS styling is different between the two pages. The index page is usually called from the index.php page and the posts are called from single.php it could be that each of the text containers has a different class or ID that is call a different CSS style.
    Signature
    {{ DiscussionBoard.errors[2531575].message }}
    • Profile picture of the author googlejedi
      Originally Posted by chriswhiteley View Post

      Seems the links to the site are not working as I went to take a look. It could be that you were making some major changes while I was looking, or your site is down.

      Without seeing the site it is hard to tell what the issue could be, but my first guess would be the fact that the CSS styling is different between the two pages. The index page is usually called from the index.php page and the posts are called from single.php it could be that each of the text containers has a different class or ID that is call a different CSS style.
      Hello chris and thanks for replying here.
      The links should work, i just clicked them to doublecheck and the site is loading properly.

      Could you please check again, and let me know if its not loading or what error it produces?

      Thanks!
      Signature
      Looking for JV partners for the upcoming buzzmaking "THE VIDEO RANKING CODE!"
      For more information check: http://www.warriorforum.com/warrior-...ml#post4673819
      {{ DiscussionBoard.errors[2531999].message }}
  • Profile picture of the author Mike Adams
    On line 88 of styles.css template file:

    h2 a:hover {color:#6D5E31;
    font-size:28px;
    margin:0.8em 0;

    It appears that all the text is set to h2, may want to check on that.
    I would also add:
    line-height: 18px
    to help spread the lines apart and I suggest that you change the font to 14px

    It will look like the below image when you're done.

    Signature
    P.S. If you found my post useful, please click the "Thanks" button below...
    {{ DiscussionBoard.errors[2532440].message }}
  • Profile picture of the author mrmagos
    Your theme most likely uses the_excerpt instead of the_content to display a small portion of the post instead of the entire post on the index page. There's nothing inherently wrong with this, but the_excerpt does strip html tags, which will strip any custom formatting. You could either build a custom function for your theme that makes the_excerpt retain certain tags , or switch to using the_content and placing <!--more--> tag in your posts to create excerpts.
    {{ DiscussionBoard.errors[2533181].message }}
  • Profile picture of the author googlejedi
    @mike: i found the spot where it says all that in the css style file, but im not sure what exactly you advise me to do? Could i send you over the css file so you can have a look? Or would you be able to do a stepbystep on how i can change this?


    @mrmagos: I use the more tag, im pretty sure its not posting them as excerpts, but not entirely sure how to check that. The thing is, i make my own templates. When i switch to a regular template it does the formatting like it should. When i choose my own templates, it "freaks" up the way the post looks on the main page.

    Does the same thing with embedding videos. When you check the post itself it shows the video, on the mainpage it doesnt show up at all.
    Signature
    Looking for JV partners for the upcoming buzzmaking "THE VIDEO RANKING CODE!"
    For more information check: http://www.warriorforum.com/warrior-...ml#post4673819
    {{ DiscussionBoard.errors[2536175].message }}
  • Profile picture of the author Mike Adams
    @googlejedi Sure

    Just do to:
    Appearance
    Editor
    Click style.css
    Scroll to line 88 and find font-size:28px;
    and simply change 28 to 14
    then under font-size add
    line-height: 18px;
    Signature
    P.S. If you found my post useful, please click the "Thanks" button below...
    {{ DiscussionBoard.errors[2536573].message }}
  • Profile picture of the author mrmagos
    If you're not using the_excerpt in your loop, then it sounds as if it is more a style issue. Do what Mike suggests.
    {{ DiscussionBoard.errors[2536597].message }}

Trending Topics