• I am having a problem adding a basic ThickBox image gallery as a page. ThickBox isn’t the problem. The problem is when I add numerious (more than one) img there are line breaks between them even if I use nobr. I’ve tested it out on different themes to make sure it wasn’t just a problem on the theme I’m making.

    Why is this? How can I fix it?

    To see what I’m talking about:

    https://blog.303nate.com/?page_id=7

    (theme underconstruction)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you type the code for those images on different lines? I’m not familiar with ThickBox, so I don’t know how the code for your images is generated. If you’re typing it out and you type each image on its own line, WP will but in a break. Your other option is to type the images out a list items (you know, using <li> for each one). Then you could just style the links to display: inline; so they are all in a row. If you decide to go that way, here’s some help:
    https://css.maxdesign.com.au/listamatic/

    Thread Starter Nathan Reynolds

    (@303nate)

    That is it. I just had to take out the few spaces between the images. Thank you for the CSS list link.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Images on the same line’ is closed to new replies.