• Just started using WordPress and are now almost finished.
    But when I’m trying to add a picture into the ABOUT page it just won’t stay on a separate line than the text.

    Whatever I do it “blends” witht the text and I get the picture and the text on the same line. I’ve tried going into the “code” page and using [br] aswell as [br /] but the command is removed by the texteditor.
    (replace [] with <>)

    What am I doing wrong?

    to illustrate it’s easiest to give you the link.
    https://mtb.razbo.net/?page_id=2

    Thank you for any help you can give!

    Regards
    Bograth

Viewing 8 replies - 1 through 8 (of 8 total)
  • Look at your stylesheet:

    /* IMAGE STYLE */
    
    img {
    float: left;
    padding-right: 5px;
    border: 0;}

    Thread Starter bograth

    (@bograth)

    What should i change to get it working?
    This is a theme found on the webpage… i thought they all worked?

    Thanks!

    Of course, they work, and I would say it works pretty nice – 99.99% of users prefer to have text wrapped around images: exactly what your theme does.

    What you want is an unusual request – just FYI.

    Remove the code from your stylesheet.

    Thread Starter bograth

    (@bograth)

    Ok, then I know what to do.
    Thanks mate!

    Thread Starter bograth

    (@bograth)

    Just a question, is it possible to have both?

    can i add something like

    #pic
    img {
    float: left;
    padding-right: 5px;
    border: 0;}

    And then <img id=”pic”….
    Or is there another easier way?
    Thanks!

    You create a class in your stylesheet, e.g.

    .myleftpic {
    float: left;
    padding-right: 5px;
    border: 0;}

    and in the post you add to the img tag that class:
    img src="http..etc" class="myleftpic" alt="" />

    Thread Starter bograth

    (@bograth)

    ok, thanks a bunch!
    Much appriciated, gonna do this now ??

    Thread Starter bograth

    (@bograth)

    It worked perfectly, again thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Picture won’t stay on separate line than text’ is closed to new replies.