"Everyone can master a Grief but he who has it”
William Shakespeare
"They are taking the Kingdom of Heaven by storm and doing it violence.”
Jesus
Greed is an incredibly contagious disease 🦠 And, it’s a shame when anyone catches it.
Zippi

Saturday, August 30, 2008

Blog header Tutorial for all Us little Tweakers

The new blog header was made from a flower photo that I had laying around from the time that DH bought flowers at the Farmer's Market. The lettering was inserted with a photo shop sort of program, and when I saved this header n Blogger I chose the "instead of description" option on the new Gadget that flings code out into your blog.

Many of you may already be convinced I'm a crazed tweaker, but this is fun stuff to do and harmless if you are careful to save the Code before hand.

Before you change anything, be sure to save your template code. I sort of don't bother with this step anymore because I've learned to switch back and forth between the Preview page and the Edit HTML page on my bar. Blogger will auto save a copy anyway, since it knows we mess things up sometimes. But I would still save a page in Word.

This is what the code looks like in your widgets and I've commented, BELOW each one, for each section:

#header-wrapper {
margin:0 11% 10px;
border:5px solid $bordercolor;
}

I changed this to 11% after Blogger shrunk my 740 pixel wide image down to whatever they shrink to. That shrinking leaves the two ends of the border hanging out in space. So, I started with the original % number, which will be on your code, and played with it until it fit, at 11%. Yours may be different.
--------------------------------------------------------
#header-inner {
background-position: center;
margin-$startSide: 1px;
margin-$endSide: 1px;
}

Here, I played with the px numbers so that I would get 1px surround on the inner wrapper ends, instead of what was there when it was far too large a space. I found 1px to be my perfect number but yours may be larger.

-------------------------------------------------

#header {
margin: 5px;
border: 1px solid $bordercolor;
text-align: center;
color:$pagetitlecolor;

Here, after the word "margin", I changed the margin to 5 pix for a wider outer wrapper. You can leave this alone if you like the thin outer wrapper, or REAAALLY crank up that outer margin. If you go too wide with it, though, it can get problematic, just so you are aware of this limit. heehee

When you are done with each section, and are happy with it, then save your work. I do this after each section because I don't want to lose what I'm already happy with.

Enjoy playing if you are so inclined.

PS. See Seitherin's comment about what happens on wide screen monitors. I'll come back tomorrow and mess around with this thing some more. Thanks, Seitherin, for the heads up.

6 comments:

  1. I have a wide screen monitor so your picture header has a lot of whitespace at both ends inside the frame. I suspect this is because you used a % in your configuration instead of a fixed amount.

    Just an FYI in case you're interested.

    ReplyDelete
  2. Oh I am interested. But now I don't know how to fix it. DH has a wide screen monitor so I'll have him look at it and maybe tweak it more. Mine is a regular screen, Fat Back. :)

    Thanks for your suggestions, and you are right, I need to get rid of the percentage altogether.

    ReplyDelete
  3. Have you tried just substituting the actual pixel width of your graphic where you have the %? I don't know if that will fix the problem but it seems like a logical first step - assuming there's anything logical about computers ~smirk~.

    Thanks for popping in for a visit to my blog. I was dumbfounded when I heard about what was going on. Why I should have been dumbfounded I don't know since that behavior is just par for the course the last 8 years.

    ReplyDelete
  4. I'm afraid that we've gotten ever so much closer to a police state, Seitherin. Sad, and very dangerous, isn't it? I think it was planned.

    As to the header. I see the problem now on wide screens, so I tried replacing the % with the pixel value but that didn't work.

    So, then in the "image" part of the HTML, I did put a 0 in place for the "auto" setting and it moved the image all the way to the left of the borders on the wide screen monitor.

    It still displays correctly on my Fat screen monitor.

    Before I started tweaking the border vals, they were hanging out on both sides just as they are NOW on the the wide monitors

    *Sigh* There's something they aren't telling us! haha I really hope all of the above makes sense..

    Thanks, really, for pointing out the problem and trying to help with a fix, but I suppose that I can't have it both ways unless there's some other magic fix out there.

    ReplyDelete
  5. I will be perfectly happy with my blog header the way it is, because I need my brain. Thank you.

    ReplyDelete
  6. ah, well it works perfectly for a someone who doesn't know about what's happening on the wide screens.. tee hee...

    ReplyDelete

I’m going through some stuff but I will peek in now and then and will be back when it’s over..