How to make the featured image without a fixed position?

I already know how to style the featured image and give it a class, but I don't want it to have a fixed position. Instead, I want it to have a custom position for every post (I set the position manually for every post). How possibly can I achieve that ?


Add this code in your post loop, to make as way you want :

if ( has_post_thumbnail() )
echo '<img src="' . trailingslashit( get_stylesheet_directory_uri() ) . 'images/default-   thumbnail.png' . '" alt="" />';

Similar questions

How to add fixed position in menu class for Twenty Twelve theme?
I have already looked at many jquery examples on how to make the menu sticky. I have applied these tutorials on clean html pages and they have worked perfectly. However, when I try to apply it on the Twenty Twelve theme, nothing happens. The fixed attribute doesnt get added to the menu class. This is the CSS: This is my menu: This is the JQUERY: Am...
My header is in fixed position and i have a Disqus issue.
My Situation: I have a non moving header which stays in place whenever i scroll down. I have a div at the bottom just before the footer. This DIV contains the Disqus Commenting System. The problem is: whenever i scroll down at the bottom, the DIV run smoothly as expected (right under the Header) BUT the Disqus Commenting System GOES ABOVE the heade...
Internet Explorer fixed position is not working properly
my navigation bar and twitter box are not displaying properly. These are fixed in position. If you see they are at the bottom of the page currently. Where they should not be. On other pages of my website these two elements work fine even in IE. My home page has a different header and footer than the rest of my pages so I tried to pinpoint the probl...
how do you stop a Fixed position div from overlapping?
How do I make my fixed position box not underlap the footer? I want to add padding or something to stop it short of overlapping. Anyone have a solution ? where would I add the padding ? Thanks so much!
Header With position:fixed is not staying in front of images
I am experimenting with customizing a WordPress template and I have things close to the way I want them. One of the last issues is that I have a header that has position:fixed so it floats at the top the whole time. It works but when it floats past an image, it goes behind the image. How do I get it to stay in the foreground the whole time while sc...
Iframe/ Youtube scrolltop position fixed
Hi all looked all over but can't find anybody with the same problem or maybe I'm searching on the wrong description. It comes down to this. I am working on this site it has a menu under the header wich sticks on top. All this works fine except for when I embed a youtube video.Than it screws up it seems that it changed all...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.