center "loop & merge" images | XM Community
Skip to main content
Question

center "loop & merge" images

  • October 29, 2020
  • 2 replies
  • 31 views

Forum|alt.badge.img

Hi everyone
I'm trying to center images. I tried a lot of codes I found, but nothing works.
The preference is to use HTML or JavaScript rather than CSS because the center is for a specific question.
In the question, the URL of the images appears in LOOP & MERGE so I do not have the specific name of the image to write in the code.
Examples of what I already tried:



.center {
display: block;
margin-left: auto;
margin-right: auto;
}



Any suggestions?
Thanks a lot!

2 replies

Husain_Burhanpurwala
QPN Level 1 ●
Forum|alt.badge.img+3

Hi NoaVardi ,
Can you share a snapshot of how it looks currently? Have you tried adding HTML center tag.
For e.g.:



Forum|alt.badge.img
  • Author
  • October 29, 2020

now it is look like this:
image.pngI do not know how I can use such a tag, because I have a lot of images, each with a different URL (it's in loop & merge):
image.png