Wednesday, January 8, 2014

TEEESTING





You've been blogging along for a while now, inserting your images into your blog posts and sizing them to fit nicely into the template that you've selected. A few hundred posts later you decide it's time to make some changes to your template... the unfortunate part? Now all of the images in all of your posts have a set size leaving a gap in your blog posts. Note: this article also applies to you if you simply want all of your images to go full width for the content column. You have 3 options: You can live with it and/or change your template back You can go back and edit the images in each post You can add a script which will resize the images automatically for the viewer, but leave the underlying post untouched. The script below uses JQuery to automatically find the width of your Blog1 element (the standard place where blog posts are displayed), then manipulate all of the images within the post-body elements within your page. Here is the clean version of the code. Please this code into your template before the tag.

A 14 years old web designer from Kairouan, Tunisia. And then you write some more information about yourself like this to fill out the space that is left.

Next
This is the most recent post.
Previous
This is the last post.

0 comments:

Post a Comment