Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Make posts stay put WordPress

  • SOLVED

Hi,

Something in my theme makes the post on pages like this http://www.newyorkinspiration.com/midrange-hotel-new-york/
to put them under the widget when you make the browser window smaller.

On category pages it works fine - http://www.newyorkinspiration.com/category/bocker-om-new-york/

What shall I do to make the posts stay put when you make the browser window smaller?

Thanks!
Charlotte

Answers (1)

2013-01-09

Arnav Joy answers:

can you share single.php and category.php


Arnav Joy comments:

there is some problem in html

this div

<div class="post post-box page-content" id="page">

should be inside

<div id="container">

but it is not , so check it


Charlotte Raboff comments:

Hi there,

I have sent the single.php as a message...


Arnav Joy comments:

go to

http://www.newyorkinspiration.com/wp-content/themes/shaken-grid-premium/custom.css

and find line no. 87 and find

#page.page-content

you will see it as

#page.page-content {
margin-right: 0 !important;
width: 660px !important;
}

add one more css to it

margin-top:12px

so replace whole with following

#page.page-content {
margin-right: 0 !important;
width: 660px !important;
margin-top:12px !important;
}