Support » Themes and Templates » Cannot left or right justify images next to text in a new theme

  • I will try to explain this the best i can.
    i have been working on a theme and i have hit a problem.
    when im trying to add a photo or image next to text and select it to align left, the image will only align to the left of the first word in the paragraph id like it to be next to.
    i can only best explain by showing you here

    please if there is any advice i’d appreciate it.
    i could always go to a different theme but all the components i have created fit this and dont want to try and search for another theme that has a similar layout.

    thanks in advance!

    chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • The style sheet file probably doesn’t have code for it. You can add the following to the style.css file

    .alignleft {
    float:left;
    }
    .alignright {
    float:right;
    }

    where in the style sheed should i put that?

    Well it might be easier to test it inline first….

    Add this to one of your images…

    style="float:left!important"

    If that works, then just plonk the code from kwbridge into the style sheet…..

    Just find an empty line… just don’t nest it inside an existing declarion….

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot left or right justify images next to text in a new theme’ is closed to new replies.