Forums

[resolved] Bug when displaying pictures with text (3 posts)

  1. Savage2009
    Member
    Posted 3 years ago #

    I have an issue when inserting an image into a post. If I enter a text (to display under the image) everything is okay as long as I don't left-align or right-align it. Then both the image and the text get left (or right) aligned into the surrounding box as well as on the page itself.

    This works fine in the default wordpress themes, so it has to do with something in the inove theme.

    I'm guessing it could be a css problem, but I'm not quite sure.

    One thing: It seems okay in the preview (when you edit the post), but not on the page itself (when it's published).

    Here is an example: http://www.vanhobby.no/

  2. Savage2009
    Member
    Posted 3 years ago #

    Thought I posted this in the inove-forum. This concerns the inove theme.

  3. Savage2009
    Member
    Posted 3 years ago #

    Solved it. In the stylesheet text-align was set to right and left. I corrected it to center and it works great.

    alignleft {
            float:left;
            text-align:center;  /* was left */
            margin-right:10px;
    }
    .alignright {
            float:right;
            text-align:center;  /* was right */
            margin-left:10px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags