Title: issue lining up Entry Content with css?
Last modified: August 24, 2016

---

# issue lining up Entry Content with css?

 *  [zigvt85](https://wordpress.org/support/users/zigvt85/)
 * (@zigvt85)
 * [11 years ago](https://wordpress.org/support/topic/issue-lining-up-entry-content-with-css/)
 * I have been trying to wrap my head around this I am trying to make a mobile theme
   for a friend. Everything works find until you shrink the browser the content 
   will slide under the featured image. I want it to stay where it is not slide 
   like this [http://i.imgur.com/iXYH4vJ.png](http://i.imgur.com/iXYH4vJ.png).
 * The codes I have used my content and image with are the following not sure if
   I forgot something or need to add something. I am coming to you guys for help.
 * **Entry Content Code**
 *     ```
       .entry-content,
       .entry-summary {
       	width: 90.5%;
       	float: right;
       	padding: auto auto 0;;
       }
       ```
   
 * **Post Thumbnail and Main**
 *     ```
       .attachment-post-thumbnail {
       	float: left;
       	height: auto;
       	margin: 0 15px 5px 0;
       	max-width: 40%;
       	width: auto;
       }
       .attachment-post-thumbnail img{
       	 display: block!important;
       	 margin-left: auto!important;
       	 margin-right: auto!important;
       }
       #main {
       	clear: both;
       }
       ```
   
 * **Global Page Code**
 *     ```
       #page {
       	background: url(images/bg.png);
       	background-repeat: no-repeat;
           background-attachment: fixed;
           background-position: right;
       	background-color: #FFF;
       	padding: 3px 0 0;
       }
       ```
   
 * If you could kindly tell what I am doing wrong that would be great I gave you
   what I think would be helpful to you to help me in my issue. The content just
   keep sliding under the image I want it to stay in place and remember its a mobile
   them it can not have a scroll bar on the bottom so no overflow :).
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Thread Starter [zigvt85](https://wordpress.org/support/users/zigvt85/)
 * (@zigvt85)
 * [11 years ago](https://wordpress.org/support/topic/issue-lining-up-entry-content-with-css/#post-6176305)
 * Never mind I got it to work finally lol.

Viewing 1 replies (of 1 total)

The topic ‘issue lining up Entry Content with css?’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [zigvt85](https://wordpress.org/support/users/zigvt85/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/issue-lining-up-entry-content-with-css/#post-6176305)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
