• Resolved jholbrook

    (@jholbrook)


    I’ve searched the forum and codex and there are several posts on this topic. The problem is I’ve tried several of the options listed and nothing seems to work. In the visual editor everything appears as it should. When I publish the site nothing appears as it should. Text won’t wrap around image. Here’s the site I don’t know if I’m adding the code to the CSS Style page properly. Thanks for the help

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

    (@alchymyth)

    the standard remedy is to check for and add styles for:
    .alignleft { } or img.alignleft { float: left; margin-right: 10px; }
    .aligncenter { } or img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
    and
    .alignright { } or img.alignright { float: right; margin-left: 10px;}

    also, be aware, that you may need to reload the page in the browser to make changes to the styles visible; or press ‘ctrl’ and ‘f5’

    Thread Starter jholbrook

    (@jholbrook)

    I’ve tried several variations given on that but no change.
    The thememx doesn’t really have anything in the style.css but this

    /*
    Theme Name: ThemeMX
    Theme URI: https://theme.mx/
    Description: ThemeMX WordPress theme.
    Version: 0.1
    Author: ThemeMX
    Author URI: https://theme.mx/
    */

    I’ve added this

    img.alignleft { float: left; margin-right: 10px; }
    img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
    img.alignright { float: right; margin-left: 10px;}

    Don’t have a clue if I’m doing that correctly.
    Thanks

    Michael

    (@alchymyth)

    i missed this, but your theme is using this as the main stylesheet:

    https://starcraft2guidesecrets.com/wp-content/themes/thememx/css/thememx-style.css

    Thread Starter jholbrook

    (@jholbrook)

    I added the edits you gave to the bottom of the styles.css file.
    Sweet. Thank you for the help. I can stop bashing my head into the keyboard now. AHHH that feels good.
    Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Trouble wrapping text around image’ is closed to new replies.