Showing posts with label how-to. Show all posts
Showing posts with label how-to. Show all posts

28/10/2009

how-to number three: blog prettification (part 2)

one of the biggest pet peeves i have about not being fluent in html is the fact that i know what i want out of my blog - i know exactly what i want it to look like, and have very strong opinions about what looks good and what looks ridiculous, and not quite knowing exactly what to do with it (or what the proper terminology is to google in order to find the solution).

and so, one of those nagging little features that bothered me was that, whenever i tried to upload a photo with a link to anything in my sidebar, it would never align the way i wanted it to. that is, it'd be all higglety-pigglety.

and if there's one thing i hate most, it's higglety-piggletyness. i like my images to line up nicely, one after the other.

and so, ladies and jellybeans, i bring you part two in my blog prettification series:

de-higglety-piggletying your sidebar (or more commonly known as adjusting the sidebar justification).

as per usual, go under template > edit html, and scroll to any part of the segment. copy the following code and past it into the template.

/* Sidebar Boxes */

.sidebar img {
margin-left:25px;
border:5px solid #e8baba;
}

the portion in blue adjusts the position of the image - you can change it to margin-right too, if you'd like. The attribute text-align:center; is tricky since it's not supported in some browsers, so i stayed away from it given the difficulties i had with browser compatibility when i first started blogging. (it sucks to find out that all of the poor firefox users weren't seeing things the way i was while using IE.. i promptly switched over and try to fix any overly problematic old posts as i need to)

while i didn't do this particular part of the coding for my blog, the text in
red is the styling that you can do as an additional option - for example, you can use this if you want the sidebar pictures to be different from the blog post pictures, with a different coloured border.

you can play around with border thickness and colour, if it's what floats your boat - just be sure to do with with the 'preview' button in the template tab rather than by saving the changes and then having to go back and manually revert them one by one if you don't like it.

special thanks goes out to this site for the step-by-step instructions on how to get my sidebars rockin' again.

my next step is to create a navigation bar in blogger - that'll have to be my next research project, and don't you worry - i'll be sure to simplify and share my discoveries here with you too!


27/10/2009

how-to number two: blog prettification (part 1)

holla! so this post took me a lot longer than i'd expected it to , but better late than never, right?

my blog has gone through a series of design changes and steps since i started it a year and a half ago, and will continue to be in flux while i figure out everything i need to know about design, html coding and typography in order to make it look just the way i like it. i'll document it all here - but for now, here's how to add or change a background in blogger. (woot!)

step one to this whole process is by far the easiest one ... find an image that you'd like to use. if you know how to use photoshop or illustrator, i just looked up some swatches and patterns that i liked and then did them as a small sample image using the paint bucket, then saved it to my desktop.

however, if you don't know how to use either of these programs, you can always google 'tileable background images/textures/patterns' and find something that suits your fancy. save the image to your computer so that you have your own copy of it, and let's get this show on the road.

for step two, you need to upload your image to the interweb. you can do this using photobucket or flickr, but if you don't have an account with either, you can start a new post in blogger, upload the image as a photo in that draft post, and save it - don't publish it.

while you're still in edit mode, preview your draft post. you should see your image displayed in the preview page. right click this image and view the properties, then click on 'copy image location' in order to copy the photo's url to the clipboard. you'll need this url to paste into the HTML template in the next step. alternatively, if you've uploaded the image with flickr or photobucket, take the same steps with right-clicking and saving the image location.



now you can safely delete this draft. Choose not to delete the image when prompted, otherwise you will be unable to use this url for referencing your background image.

step three is adding the background image to your template code.

to do this, we'll need to edit a small part of your template's html code to add this image to the background. before you do this, go to layout > edit html in your blogger dashboard, and download a copy of your current template for safekeeping.

once your original template is safe and sound on your computer, look for the following lines in the code:

body {
background:$bgcolor;
you'll find it near the top, just below the 'variable definitions' section of code.

in order to get the image to show as the background image, we need to paste the url from step two (since it's still copied to the clipboard, right?) into the code, using the following format:
url(the_url_of_your_image)
In my demonstration template, the additional code appears like this:


of course, your own url will be different from mine listed up there. just be sure to follow the same format, and make triple sure that the semi-colon (;) appears at the end of the statement. (this is an important step - i forgot it the first few times round and couldn't figure out why the changes weren't reflected in the preview).

now, preview your blog to see the changes. do you like what you see?

sometimes adding a texture or patterned background to your blog makes it tough to read the text - which is pretty counterproductive to redecorating, right? you've uploaded a kick-ass image for your background but nobody can read what you're trying to say. how unfortunate!

the solution to this is to customize the background colour of the main body.

to work with this part of your blog, find this line in your template's HTML code:

#outer-wrapper {



(in some templates, this may be "#outer-wrap" instead). directly below this line, add the following line of code:
background: #ffffff;
this adds a white background to the main content of your blog (which includes both the blog posts and the sidebar). you can easily use a different color if you prefer by changing the hex value for white (#ffffff) to a different hex value instead. you'll need to know the code that corresponds with each colour, but a nifty little firefox add-on that i came across that you can use is colorzilla - it lets you use an eyedropper tool on any website to pull the corresponding colour code. once you have that specific code, you can use it in your template.

i opted to use a plain white background, so the code i used was #fffff, but if you wanted to use a different colour (like light blue), your complete code would look a little something like this:

#outer-wrapper {
background: #E3F2FB;
width: 660px;
margin:0 auto;
padding:10px;
text-align:$startSide;
font: $bodyfont;
}

furthermore, if you want to make the foreground stand out even more from the background image, you can add a border to the left and right hand sides of the outer wrapper by adding the line (highlighted in red) to the same section we've been working with, which would make it look like this when you're done:

#outer-wrapper {
background: #E3F2FB;
border-left: 2px solid #cccccc;
border-right: 2px solid #cccccc;

width: 660px;
margin:0 auto;
padding:10px;
text-align:$startSide;
font: $bodyfont;
}
and that, my darlings, is what took me forever to figure out on saturday night at three in the morning. special thanks to this site for the oh-so-helpful information, which i've based this post on.

(am i a computer programmer yet?)

09/03/2009

point-and-shoot product photography 101




hello monday!

what a productive sunday i had. not only did i get rolling on my chair reupholstery project, but i got a bunch of new product shots done for my shop despite the extremely overcast day on sunday.

to that end, i've had a few emails with questions about my photo-taking process, so i'll answer them here today for you all to see.

now, i don't consider myself anything close to a pro photographer but i do know that some types of overcast days can be pretty good for picture taking, cause it eliminates harsh shadows in the picture that are caused by the bright bright sunshine. sometimes, though, it's a bit too much and it casts a bluish tone in the shots which really affects the colour of the photo.

what i do to remedy this is to arrange my photo setup as close as possible to a window and get the product to face the light source (i find that backlighting is a pain in the butt to digitally correct and is super easy to avoid witha little forethought). all of these pictures were taken just with natural sunlight; no inside lights whatsoever. they cast a orangey-yellow hue - even if your primary source is natural light - so i just avoid them whenever possible.

(for the record: i've tried using full-spectrum bulbs before, but i found that instead of the yellow hue that the tungsten bulb gives, pics taken with this type of lighting often need to be colour-corrected for the overabundance of magenta. i try my best to avoid touch-ups from the get-go, so i'd highly recommend using natural light, especially for beginners. it means less "post-production" work.)

with these paintings in particular, i was having some troubles with glare from the glass in the picture frames, so i took the glass out. from there on in, i experimented with a few props to add some visual interest - i try to have varying heights, textures and colours in the shot, and generally try to avoid straight-on shots since i find that they look somewhat flat. angles are where it's at - and besides, people can see the simple 'head on' shot with the scans that i use as alternate images in my shop.

something else that i always do when taking product photos is take a slew of pictures with different setups, props and angles. really, i do this for a variety of reasons, but mostly because what works in my minds eye doesn't always translate the same way on the camera lens; little details jump out at you more when you're seeing the enlarged photo on your computer screen rather than your viewfinder. for this particular photoshoot, i took about 15-20 pictures. i've no clue if this is bordering obsessive and just plain weird or not, but it's what works for me.

(plus when you're taking pictures with a dinky lil point-and-shoot with no flash in overcast lighting and no tripod, sometimes your pics end up blurry. you've gotta plan for this.)

anyhow, once i've got a few pics that i like, i'll touch them up a bit with photoshop adjusting a mix of the levels, colour balance, curves or saturation. once i've got their colours looking as close as possible to real life, i post 'em up in the shop.

finito!


ps - another weekend highlight:
i got my triple the teal necklace featured on etsy's front page, and wouldn't even have known it if it weren't for sweet miss holly of winklepots letting me know. (did you know there was a front page flickr group?! thanks to holly's inside scoop, i was able to experience the moment in retrospect, which was awesome.)

LinkWithin

Related Posts with Thumbnails