Support » Fixing WordPress » Text Won’t Wrap Image

Viewing 1 replies (of 1 total)
  • esmi

    (@esmi)

    Forum Moderator

    There’s nothing wrong with your image CSS but you have inserted a line break (<br />) after each staff member’s name & title. That’s what is causing the problem as the CSS for wpng-calendar includes:

    br {clear:both;}

    I’d suggest getting rid of the <br /> and either applying a class to the strong tag (eg <strong class="staff">) and then using something like:

    strong.staff {display:block;}

    Or, even better, use a proper heading tag (ideally <h2>) and re-style it using CSS.

Viewing 1 replies (of 1 total)
  • The topic ‘Text Won’t Wrap Image’ is closed to new replies.