• Hi,
    I have a small problem.
    I want to put in two images. One of it I float left and one right. In between those two shall be the text that I write.
    Works out in the theory. Only problem is, that the first image is about 1 cm moved up above the text and the other image and I don’t get why.
    Anyone can help me?
    Thanks in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • C W (VYSO)

    (@cyril-washbrook)

    Can you provide a link to an example? This would help us to see where the problem is.

    Thread Starter Pulsar87

    (@pulsar87)

    Yes of course.
    It keeps getting worse and moving downwards when I add more stuff.
    See here:
    http://dieta-para-deportistas.com/abc-de-alimentos/

    One way to do that will be to use 3 divs, and float them all to the left.

    Basic structure:

    <div class="alldivs div1">
    content
    </div>
    <div class="alldivs div2">
    content
    </div>
    <div class="alldivs div3">
    content
    </div>

    CSS – add to custom CSS:

    .alldivs {
       float: left;
       width: 30%;
       min-width: ??px;
    }

    Thread Starter Pulsar87

    (@pulsar87)

    What am I doing there then? I don’t have a lot of programming knowledge.
    Doesn’t it work with a simple trick or so?

    Doesn’t it work with a simple trick or so?

    Not that I know of – the above is very basic HTML and CSS – which you will need to know if you want to do things like layout.

    The HTML would go in that section of your content (use the TEXT editor) and the CSS would go in the theme’s custom CSS section.

    You could try a plugin such as

    https://wordpress.org/plugins/siteorigin-panels/

    Thread Starter Pulsar87

    (@pulsar87)

    Okay thank you.
    If I can’t manage it, I just make it one image,
    including both images and the text which I create in Word
    or Paint oder Gimp or so ^^

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Two images – align/float left and right’ is closed to new replies.