# Stile personalizzato per \>Blockquote

**URL:** <https://meta.discourse.org/t/custom-styling-for-blockquote/103028>\
**Category:** Product Support\
**Created:** [28 Novembre 2018, 9:43pm UTC](https://meta.discourse.org/t/custom-styling-for-blockquote/103028 "2018-11-28T21:43:12Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jord8on](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jord8on/32/166809_2.png) [@jord8on](https://meta.discourse.org/u/jord8on)\
**Post date:** [28 Novembre 2018, 9:43pm UTC](https://meta.discourse.org/t/custom-styling-for-blockquote/103028/1 "2018-11-28T21:43:12Z")

</div>

I’ve created the following custom styling for my blockquotes on [this forum page](https://community.jewelbound.com/t/do-not-let-your-fire-go-out/110). But I’m having some issues as outlined below. Here’s my CSS overrides…

```
blockquote {
  display: block;
  border-width: 2px 0;
  border-style: solid;
  border-color: #f7d4de;
  padding: 1.7em 30px;
  position: absolute;
  background-color: #fbeaee;
  border-radius: 5px;
}

blockquote:before {
  content: '\201C';
  position: absolute;
  top: 0em;
  left: 50%;
  padding: 5px 0 0 0;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 3rem;
  height: 2rem;
  color: #B7234C;
  font: 2.45em/1.1em 'FontAwesome';
  text-align: center;
  border-radius: 50px;
  background-color: #f7d4de;
  box-shadow: 0 1px 5px #888888;
}

```

When the code is like that ⬆︎ the blockquote appears exactly as I’d like, but it covers the text that follows the blockquote!

e.g.

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/b/0b4b9c80166834029476ad375ab09beedc5aea57.png)

When I change the blockquote {position: absolute;} to {position: relative;} then the text is no longer tucked up, under the blockquote as illustrated in the image above. But you can see that the blockquote:before element is cut off.

e.g.

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/2/12543f278d5c4fc0edcf2f1937a0e773c1388e6a.png)

What’s the best way to optimize my code to put a little bit of a margin after the blockquote, before the rest of the text displays, while also pulling down the “blockquote” so that the “before” element is not getting cut off?

Thanks in advance for anyone willing to help!!

---

_[View the full topic](https://meta.discourse.org/t/custom-styling-for-blockquote/103028)._
