WordPress.org

Ready to get started?Download WordPress

Forums

Theme should not change post design (5 posts)

  1. alexmerkel
    Member
    Posted 1 year ago #

    Hi there,

    i need some help!

    The theme, that I created keeps changing the design of my posts, like text alignment and float around images.

    How can I change my theme to keep these things the way I defined them in the post?

    Thanks,
    Alex

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Can you post a link to your site? Have you checked your code for errors -- both mark-up and CSS? That's often the cause of erratic formatting.

  3. alexmerkel
    Member
    Posted 1 year ago #

    I can't find any error...

    What i would like to have is a centered box with a certain width an than inside the box I would like to have my post the way I set it in the post.

    For example here the small text is meant to be the titel and to be above the image and than the text should be next to the image. That's the way i set it in the post, but unfortunately that is not the way it is displayed!

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Your code is not written that way -- both CSS and HTML. What you do in the post window won't necessarily override the coding in the template.
    You need to put the small text title above the image, take the image out of the h6 tags, define the class "center", add the default WP alignment CSS (for alignleft for example)

    Also, you can't have CSS and linked stylesheets sprinkled around your pages...you shouldn't have separate stylesheets for different php files.

    You do have some mark-up errors that you probably want to check on:

    http://validator.w3.org/check?uri=http%3A%2F%2Fonvori.com%2Fbeta%2Fkarate%2Faktuelles%2F85%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

  5. alexmerkel
    Member
    Posted 1 year ago #

    Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic