Hi,
Can you add a CSS class to the echo statement so you can style it in the customizer? Have you tried style=”margin: 0 auto;”?
Is the image on a new line by itself?
Hi,
The code is written exactly as you see it in the post above. This code is in the functions.php file.
I tried adding your bit of code in-line, above and below but it didn’t work.
Sorry but I’m a complete novice when it coems to this stuff.
Thanks
Hi @jaket89!
Can we take a look at the page where you have positioned the image that needs to be centered?
Cheers.
Hi Mirko,
I sorted it out. The answer was to edit the line as below:
echo "<img src='https://simplysupersteals.com/wp-content/uploads/2021/10/GREY-PAYMENT_TRUST_BADGES.png' style='display:block;margin-left: 15%;width: 70%;'>" ;
Thanks
-
This reply was modified 4 years, 7 months ago by
jaket89.
Okay @jaket89! Thanks for letting us know.
If you have any other questions please feel free to open a new thread.
Cheers.