Title: 2 different widths in one post
Last modified: August 31, 2016

---

# 2 different widths in one post

 *  [heavenlyimage](https://wordpress.org/support/users/heavenlyimage/)
 * (@heavenlyimage)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/2-different-widths-in-one-post/)
 * I have a page that has an image at the top, then text underneath. I had entered
   code so that the image is at full width. I would like the text to not be full
   width, as it doesn’t look good aesthetically. Is there a way to put margins or
   padding around the text without affecting the image? Thank you.
 * [http://www.heavenlyimage.com.au/blog/?page_id=1219](http://www.heavenlyimage.com.au/blog/?page_id=1219)

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

 *  [TouchCoding.net – Øyvind Sæther](https://wordpress.org/support/users/touchcoding/)
 * (@touchcoding)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/2-different-widths-in-one-post/#post-7119887)
 * Hi there heavenlyimage!
    You can easily do this be selecting elements after the
   image, like this:
 *     ```
       .entry-content :first-child ~ p, entry-content :first-child ~ blockquote {
   
       }
       ```
   
 * This selector will not select the image. Use that selector to apply the padding
   and margin you want 🙂
 * I hope that helped you out 😉
 *  Thread Starter [heavenlyimage](https://wordpress.org/support/users/heavenlyimage/)
 * (@heavenlyimage)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/2-different-widths-in-one-post/#post-7120201)
 * Hi there,
    I’m not quite sure how to do what you have described. (im not very
   tech savvy). can you please explain how and where to put this code? Sorry to 
   be such a novice! Thanks so much!!

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

The topic ‘2 different widths in one post’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [heavenlyimage](https://wordpress.org/support/users/heavenlyimage/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/2-different-widths-in-one-post/#post-7120201)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
