• Hello guys,

    Recently I came up with problem in my wordpress site and I’m really desperate, that I can’t solve. I would really appreciate it if you could help me.

    Well, to explain myself, when I view a post of my website, the text alignment is wrongly fully left and it’s out of the initial post content.At the same time, the post content background colour has got the website’s background colour (gray), whereas at first it was white. You can see the problem when you open a new post, not a page.

    Should I change anything in my theme’s code?

    I would be grateful if you gave me some advice

    My URL is https://www.alienage.gr

Viewing 15 replies - 1 through 15 (of 19 total)
  • Hi,
    I′ve checked your site,it seems like there is a missing </div> in the single.php template. Have you edited the theme?

    Thread Starter gamerspot2

    (@gamerspot2)

    Yes, recently I did. Where should I add it?

    My advice is to check the page template and to find where the wrapper div is closed. In the single post template wrapper div is broken and the styles are missing, this is what causes your problem.

    Thread Starter gamerspot2

    (@gamerspot2)

    I will give it a check. And another one question… How can I recover the styles?

    The styles are there, everything will be fine when you repair the layout

    Thread Starter gamerspot2

    (@gamerspot2)

    Unfortunately I checked for missing </div> tag and I found nothing. In the page template there are 17 </div> tags, and in the single template 19 </div> tags. Any other idea?

    May be there is one more? I can′t tell without the code, you can check the code that you have downloaded in the beginning, before your corrections.

    Thread Starter gamerspot2

    (@gamerspot2)

    `I will give you with a pastebin the page template and single post template, so that can you tell me your opinion…

    Page Template: https://pastebin.com/xtkaWbkY
    Single Template: https://pastebin.com/giN8sTiz

    Thread Starter gamerspot2

    (@gamerspot2)

    Any suggestions in the css?

    Hm, can you give me a link to a page that is looking fine now, I mean like you need to look like?

    Thread Starter gamerspot2

    (@gamerspot2)

    Sorry for the confusion, but I realised that both posts and pages are not working fine, but only the forum which is full width.

    Here is a website with the same theme, where posts and pages are working fine: https://techtipsnreview.com/

    Yeah, I think that your category page is working fine too, right?

    Thread Starter gamerspot2

    (@gamerspot2)

    Yes, the categories are working fine. The problem is only in pages and posts…

    Have you edited these two files – single and page.php? If you are not try first to disable twitter and facebook plugin to be sure that they are not the reason for the problem

    Thread Starter gamerspot2

    (@gamerspot2)

    No, I haven’t done anything myself, I changed only the comment words (comments.php) under the post. I disabled both plugins, refreshed a post and a page and nothing changed. Could be a plugin that causes the problen?

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘WordPress Post Content Problem’ is closed to new replies.