# SOLVED: Extra padding in empty cart / icon size with external files

**URL:** <https://forum.bricksbuilder.io/t/solved-extra-padding-in-empty-cart-icon-size-with-external-files/12543>\
**Category:** Bugs\
**Tags:** v1-7-3\
**Created:** [May 27, 2023, 3:58am UTC](https://forum.bricksbuilder.io/t/solved-extra-padding-in-empty-cart-icon-size-with-external-files/12543 "2023-05-27T03:58:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehdimoradi](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/mehdimoradi/32/2401_2.png) [@Mehdimoradi](https://forum.bricksbuilder.io/u/Mehdimoradi)\
**Post date:** [May 27, 2023, 3:58am UTC](https://forum.bricksbuilder.io/t/solved-extra-padding-in-empty-cart-icon-size-with-external-files/12543/1 "2023-05-27T03:58:13Z")

</div>

Hi  
There is an extra side padding in empty cart template need to be fixed  
Watch the video please

> **[71e7cf5e-14fe-4fbf-b098-6cd4341c9497.webm](https://drive.google.com/file/d/1_yOQ2xE6WBjwaCvmCSLrZuyMKuTdzrB6/view?usp=sharing)**
>
> Google Drive file.

Also some of the icons in the empty cart template lose their styling, look at the question icon!

 ![Screenshot_2023-05-27-07-44-10-078_com.android.chrome](https://forum.bricksbuilder.io/uploads/default/original/2X/0/0f11bb4dee2ef57744b6d1c579f5e253adab12a3.jpeg)

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [May 30, 2023, 7:55am UTC](https://forum.bricksbuilder.io/t/solved-extra-padding-in-empty-cart-icon-size-with-external-files/12543/2 "2023-05-30T07:55:56Z")

</div>

Hi Mehdi,  
Thanks so much for your report!

A working live link would be very beneficial. Can you provide me with one?

Best regards,  
timmse

---

<div class="post-metadata">

**Author:** ![Mehdimoradi](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/mehdimoradi/32/2401_2.png) [@Mehdimoradi](https://forum.bricksbuilder.io/u/Mehdimoradi)\
**Post date:** [June 2, 2023, 12:59am UTC](https://forum.bricksbuilder.io/t/solved-extra-padding-in-empty-cart-icon-size-with-external-files/12543/3 "2023-06-02T00:59:46Z")

</div>

[https://horamanshop.ir/cart/](https://horamanshop.ir/cart/)

You can see that some styling are missed

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [June 2, 2023, 8:24am UTC](https://forum.bricksbuilder.io/t/solved-extra-padding-in-empty-cart-icon-size-with-external-files/12543/4 "2023-06-02T08:24:58Z")

</div>

Hi Mehdi,  
You’ve already overwritten the padding, so what’s the problem?

Also, the question mark “icon” is part of the image 🤷‍♂️

Best regards,  
timmse

![image](https://forum.bricksbuilder.io/uploads/default/original/2X/c/ca69e541512e35a6756d286caa0d05590dc9edd9.png)

---

<div class="post-metadata">

**Author:** ![Mehdimoradi](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/mehdimoradi/32/2401_2.png) [@Mehdimoradi](https://forum.bricksbuilder.io/u/Mehdimoradi)\
**Post date:** [June 2, 2023, 9:54am UTC](https://forum.bricksbuilder.io/t/solved-extra-padding-in-empty-cart-icon-size-with-external-files/12543/5 "2023-06-02T09:54:52Z")

</div>

Lets start again 😅 please check this images and website  
In this template you can see the it adds extra padding to the whole page and also the font-sizes applied for the icons are missed too

 ![IMG_20230602_132121_931](https://forum.bricksbuilder.io/uploads/default/original/2X/0/0ff1e640887d0d2dbe285ee27bf1fdf41f2772ac.png)

 ![cart-2](https://forum.bricksbuilder.io/uploads/default/original/2X/4/4945fdcb18a03f10c7e418500b0f2f040d19b4b2.png)

[https://test.horamanshop.ir/cart](https://test.horamanshop.ir/cart)

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [June 2, 2023, 2:25pm UTC](https://forum.bricksbuilder.io/t/solved-extra-padding-in-empty-cart-icon-size-with-external-files/12543/6 "2023-06-02T14:25:39Z")

</div>

Hey,  
The 20px padding is the default, but you can easily override it as you already did if you don’t want it.

It looks like you’ve set a font-size of 60px on .brxe-icon, so it applies to every icon:

![image](https://forum.bricksbuilder.io/uploads/default/original/2X/1/1878933171c04f1e3f42c2dab641edfb12a989c0.png)

---

<div class="post-metadata">

**Author:** ![Mehdimoradi](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/mehdimoradi/32/2401_2.png) [@Mehdimoradi](https://forum.bricksbuilder.io/u/Mehdimoradi)\
**Post date:** [June 3, 2023, 12:03am UTC](https://forum.bricksbuilder.io/t/solved-extra-padding-in-empty-cart-icon-size-with-external-files/12543/7 "2023-06-03T00:03:51Z")

</div>

Well it adds the side padding to every thing in the empty cart template while you don’t want that padding! So i believe it’s inconvenient

For the icon size i didn’t assign 60px, i applied a var(–text-xl) but it doesn’t work  
So i have to add !important in the styling tab to make it work!

Conclusion: there are some problems in the empty cart template while we don’t see this weird behavior in other pages and templates

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [June 5, 2023, 8:05am UTC](https://forum.bricksbuilder.io/t/solved-extra-padding-in-empty-cart-icon-size-with-external-files/12543/8 "2023-06-05T08:05:45Z")

</div>

Hey Mehdi,  
That’s the way it is with defaults: for some, they are ok, for others not. If you don’t like the default, simply overwrite it.

I have now been able to reproduce the problem with the icon size. It only occurs with external files. With inline styles everything is fine.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [June 16, 2023, 8:46am UTC](https://forum.bricksbuilder.io/t/solved-extra-padding-in-empty-cart-icon-size-with-external-files/12543/9 "2023-06-16T08:46:05Z")

</div>

Hey Mehdi,  
Can you please re-check the icon size issue with Bricks 1.8.1? Should have been solved 🙂

---

<div class="post-metadata">

**Author:** ![Mehdimoradi](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/mehdimoradi/32/2401_2.png) [@Mehdimoradi](https://forum.bricksbuilder.io/u/Mehdimoradi)\
**Post date:** [July 3, 2023, 6:30pm UTC](https://forum.bricksbuilder.io/t/solved-extra-padding-in-empty-cart-icon-size-with-external-files/12543/10 "2023-07-03T18:30:48Z")

</div>

hi sorry for late reply, i just checked it on 1.8.2 version and it hasn’t been fixed. I still have the extra padding
