# How can I delet spacing between text and text box? To aligne 2 textelements precisely

**URL:** <https://forum.wixstudio.com/t/how-can-i-delet-spacing-between-text-and-text-box-to-aligne-2-textelements-precisely/66570>\
**Category:** Ask the community\
**Tags:** wix-studio, question\
**Created:** [December 28, 2024, 6:59pm UTC](https://forum.wixstudio.com/t/how-can-i-delet-spacing-between-text-and-text-box-to-aligne-2-textelements-precisely/66570 "2024-12-28T18:59:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raffael\_Kramer](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@Raffael\_Kramer](https://forum.wixstudio.com/u/Raffael_Kramer)\
**Post date:** [December 28, 2024, 6:59pm UTC](https://forum.wixstudio.com/t/how-can-i-delet-spacing-between-text-and-text-box-to-aligne-2-textelements-precisely/66570/1 "2024-12-28T18:59:55Z")

</div>

**Question:**  
I want to align my text in the section to my logo in the header.  
You can see here what i mean:

 ![Screenshot 2024-12-28 194312](https://us1.discourse-cdn.com/wix/original/3X/b/9/b9dd79ef0204d42ca6aae5c7a7a9328e6c01c9e9.png)  
I want to align the text “PORTFOLIO” with my logo “raffa’el”.  
So when scrolling letter P and r align perfectly with a space of 40px to the left.

In order to do that, I need to delet the spacing between the text box and the text “portfolio” itself.

**Product:**  
Wix Studio

**What are you trying to achieve:**  
I want to be able to align 2 textelements of different sizes precisely - and to stay like that on all screensizes.

**What have you already tried:**  
I tried to to set the distance of the textbox manually so that the text aligns with the logo. But once I change screen size the text size changes - and then the spacing between textbox and text changes…can anyone help me here? This should be possible I hope…

**Additional information:**  
Thanks for any advice!

---

<div class="post-metadata">

**Author:** ![V-Blog](https://avatars.discourse-cdn.com/v4/letter/v/898d66/32.png) [@V-Blog](https://forum.wixstudio.com/u/V-Blog)\
**Post date:** [December 30, 2024, 10:19am UTC](https://forum.wixstudio.com/t/how-can-i-delet-spacing-between-text-and-text-box-to-aligne-2-textelements-precisely/66570/2 "2024-12-30T10:19:13Z")

</div>

First Hold Shift key and select your logo and text, Then an option to stack the elements together will show up on screen, choose it. It will stack the elements together.

Finally, choose the text and logo individually and align them to the left. You can now select the entire stacked element and place it anywhere, the elements will be always aligned.

Here is a video I made for stacking elements, hope it helps -

[![](https://us1.discourse-cdn.com/wix/original/3X/2/0/2054926b1825e193b147d3a3b97dde9f45648b13.jpeg "Wix Studio Tutorial - How to Stack Elements and Make Website Responsive") ](https://www.youtube.com/watch?v=4rOmARnBUf8)
