Title: apply background with same text width
Last modified: June 4, 2017

---

# apply background with same text width

 *  Resolved [Mousa-iebs](https://wordpress.org/support/users/mousa-iebs/)
 * (@mousa-iebs)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/apply-background-with-same-text-width/)
 * 
    [Here](http://www.saudiindutries.com/product-category/major-industrial-cities/dammam-second/plastic-dammam-second/)
 * [here 2](http://www.saudiindutries.com/product-category/major-industrial-cities/dammam-first/aluminum-steel-dammam-first/)
 * I want to apply the text background to be fit with the text width
 *     ```
       h4{
   
       text-align: center;
       color: white !important;
           background: linear-gradient(65deg , transparent 50%,rgb(183, 65, 14) 50%) left no-repeat, linear-gradient(0deg , rgba(136, 3, 3, 0.7),rgb(183, 65, 14)) 30px 0 no-repeat;
           background-size: 50px 100%, 100% 100%;
           width: 210px;  
           padding: 0 20px;
           position: relative;
           font-family: "Open Sans";
           line-height: 24px;
           font-weight: 400;
           font-style: normal;
           color: #ffffff;
           font-size: 18px;
           opacity: 1;
           visibility: visible;
   
           transition: opacity 0.24s ease-in-out;
       }
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Mousa-iebs](https://wordpress.org/support/users/mousa-iebs/)
 * (@mousa-iebs)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/apply-background-with-same-text-width/#post-9195113)
 * What I want to do actually is making the text-align: justify; but to start after
   the shape cut.
 *  Thread Starter [Mousa-iebs](https://wordpress.org/support/users/mousa-iebs/)
 * (@mousa-iebs)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/apply-background-with-same-text-width/#post-9195145)
 * I solved it! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘apply background with same text width’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [Mousa-iebs](https://wordpress.org/support/users/mousa-iebs/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/apply-background-with-same-text-width/#post-9195145)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
