• Resolved LettieG

    (@lettieg)


    I’m working with a site that has a custom theme. I didn’t create the theme and only recently started working with the site. The theme was not originally created for wordpress, it was converted about a year ago. When inserting images into posts the text is not wrapping around them. I tried to put this code on the stylesheet but it didn’t help.

    img.alignright {float:right; margin:0 0 1em 1em}
    img.alignleft {float:left; margin:0 1em 1em 0}
    img.aligncenter {display: block; margin-left: auto; margin-right: auto}
    a img.alignright {float:right; margin:0 0 1em 1em}
    a img.alignleft {float:left; margin:0 1em 1em 0}
    a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

    The style sheet only has the following code on it

    /*
    Theme Name: Daily Download Custom
    Theme URI: http://www.daily-download.com/
    Author: name (I just removed the name)
    Author URI: http (I just removed the actual URL)
    Version: 1.0

    Anything else I can do to easily insert images and have the text wrap around them? I’ve been trying everything I can think of.

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael

    (@alchymyth)

    are the images inserted with alignment ticked ?

    can you post a link to a post or page with the alignment problem?

    Thread Starter LettieG

    (@lettieg)

    Yes, the images do have left alignment picked.

    I put an example up on the following page.
    http://daily-download.com/image-post/

    If you look throughout the site you will see the in the past photos have worked fine. Until recently there was a code on the site that was pulling images into the posts, however someone recently went in and removed this code and no one knows what it was. This person cannot be consulted. So now we have to add the photos right into the posts and that is why we ran into this problem.

    I have also tried using some plugins but they don’t work either.

    thanks

    Michael

    (@alchymyth)

    your theme does not load the style.css; so any added styles there will have no effect.

    you could try to add a link to that style.css into header.php,

    or enqueue the stylesheet http://codex.wordpress.org/Function_Reference/wp_enqueue_style

    or use a custom css plugin to add any new styles; for example the css section of the jetppack plugin http://wordpress.org/extend/plugins/jetpack/

    Thread Starter LettieG

    (@lettieg)

    I was able to find a solution. I was able to get the multimedia tool to work. Thank you so very much for your help! it is greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘text wrapping not working’ is closed to new replies.