# Changing Margin of Images

**URL:** <https://community.evolveauthoring.com/t/changing-margin-of-images/2636>\
**Category:** General Help\
**Tags:** theme, theming\
**Created:** [November 21, 2023, 10:16am UTC](https://community.evolveauthoring.com/t/changing-margin-of-images/2636 "2023-11-21T10:16:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoarsWoars](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/loarswoars/32/1320_2.png) [@LoarsWoars](https://community.evolveauthoring.com/u/LoarsWoars)\
**Post date:** [November 21, 2023, 10:16am UTC](https://community.evolveauthoring.com/t/changing-margin-of-images/2636/1 "2023-11-21T10:16:36Z")

</div>

Hi there,

I haven’t figured out if there’s a way to change the margin of images within the component. I have configured that almost all elements have a left and right margin of 20px. It looks like this:

 ![Bildschirmfoto 2023-11-21 um 11.06](https://canada1.discourse-cdn.com/flex031/uploads/evolveauthoring/original/2X/d/d0208aa86861efa61df9797e3348d7857e50df98.png)

I am fine with that. However, as soon as I insert an image, it is placed without a margin, and I can’t find any option to change this. Is there, or will there be, a way to adjust this in the themes-section?

 ![Bildschirmfoto 2023-11-21 um 11.08.57](https://canada1.discourse-cdn.com/flex031/uploads/evolveauthoring/original/2X/f/f76a004a68b29bfc40427cf38a10a80a2a36564e.png)

Thanks and best regards  
Lars

---

<div class="post-metadata">

**Author:** ![Ruppers](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@Ruppers](https://community.evolveauthoring.com/u/Ruppers)\
**Post date:** [November 21, 2023, 11:10am UTC](https://community.evolveauthoring.com/t/changing-margin-of-images/2636/2 "2023-11-21T11:10:46Z")

</div>

Hi Lars,

Looks like you may have applied your 20px padding to the ‘component body text’. However, if you apply padding to the ‘component’ instead, you’ll be able to affect the image as well as the body text.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![LoarsWoars](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/loarswoars/32/1320_2.png) [@LoarsWoars](https://community.evolveauthoring.com/u/LoarsWoars)\
**Post date:** [November 21, 2023, 12:41pm UTC](https://community.evolveauthoring.com/t/changing-margin-of-images/2636/3 "2023-11-21T12:41:11Z")

</div>

Hi @Ruppers,

that is the solution I was searching for and it’s plausible. Thank you very much, I appreciate it!

Greetings  
Lars
