Forums

[plugin: tinymce] - images not aligning (7 posts)

  1. draccan
    Member
    Posted 3 years ago #

    Hi

    I am using WP 2.6.3 at the moment and TinyMCE Advanced 3.1

    I have literally spent hours trying to find out what to do so now I turn to here..

    The advanced toolbar generally works. I have also selected for my code not to be changed to preserve line breaks. But my pictures won't align right.

    The only way I can center align them is by going to html mode and put in a div tag. But the visual editor removes that tag if i need to go back in there.

    Can it really be that hard to program tinymce to accept the center icon for texts. Clicking and editing the image and other options doesn't work either.

    Do I manually have to edit stylesheets? Is there a dummies foolproof guide somewhere?

    Help is really appreciated!

  2. draccan
    Member
    Posted 3 years ago #

    No one?

  3. dgrober
    Member
    Posted 3 years ago #

    I wish I could help, but thought I'd mention that I've been struggling with this problem for a few days. In another forum, I learned that it likely was a theme-specific problem...some themes don't have updated css that address this problem. I was told to add the following to my style.css file...however, it didn't fix the problem. But I mention in case it works for you. Good luck.
    img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }

    img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
    }

    .alignright {
    float: right;
    }

    .alignleft {
    float: left
    }

  4. draccan
    Member
    Posted 3 years ago #

    Thanks I already did that but it didnt help :'-(

  5. draccan
    Member
    Posted 3 years ago #

    Anyone else?

  6. draccan
    Member
    Posted 3 years ago #

    No one?

  7. sfranchi
    Member
    Posted 2 years ago #

    Draccan, have you tried the "TinyMCE Advanced" plugin?

Topic Closed

This topic has been closed to new replies.

About this Topic