wow, Since St. Patricks day is around the corner, go and support the 317 proposition. they need 1 million signatures, when they get it they will go to Washington DC and lobby for a new national holiday. awesome, I think everyone needs more holidays anyways, we in the us alone have the least amount of holidays. whilst Europe has plenty. Even in my wifes Mother country of Japan, they go and have a few weeks off at a time (i’m exaggerating, but its almost like that.)
proposition317
wordpress new gallery feature [gallery]
so word press has a new gallery feature and it kinda doesn’t go with what your theme is right? the borders are all off, and they are spaced all strange. well with a bit of knowledge in CSS and PHP you can make these changes.
first off what i did to find this bit of code was use the grep command on the command line.
this basically returns all your grepped information into a text file with the appropriate line number in the file name, this way you can see where yo locate this bit of code you need to change.
it basically told me that i needed to find this file “wp-content/shortcodes.php”
in this code on line 133 you will find the short codes function or called gallery_shortcode
inside this function you will see this bit of code.
<style type=’text/css’>
.gallery {
margin: auto;
}
.gallery div {
float: left;
margin:10px;
text-align: center;
}
.gallery img {
border: 0px;
}
</style>
";
this is the gallery css code. you can change it as i have above, or make it which ever way you want.
i chose to remove the width, and mak it all float over the side. it looks better in my eyes. if you want to center your gallery images, just add text-align:center to the gallery css portion. remove the float, and add “width:100px; display:inline;” and they should line up magically.
have fun gallerying!
i was thinking that i need to create a new logo or something for flowerpoop.com. and i was thinking since flowers and poop go well together. why not have a big pile of shit and have a flower grow right out of it. inkscape time I say. you say whats inkscape? well its a simple vector graphic. or “SVG” creating tool. those cool looking flash animated movies, and some instances of illustrator are .svg. but inkscape a derivative of sodipodi its predecessor is powerful to draw with, i know alot of icon makers use inkscape for this. I personally use inkscape or illustrator to design websites. you can draw pretty much anything you want. add gradients, transparencies, its pretty awesome. and it uses hex plus alpha controls to control color. so #FFFFFF is white, i call hex short hand for alpha they add another set of FF’s so it would look like #FFFFFF00 for white with no transparencies and #FFFFFFFF for basically white being transparent.
so in a few days in the evening, i will have the new plower poop looking thing ready.
here is some flowers’poop
- poop
- daisy
oh the poop is a foot.


