By Dan Kennedy • The press, politics, technology, culture and other passions

Calling all code warriors

Now that I’ve got a template I like, I was wondering if anyone out there in Media Nation could help me with a small tweak. I would like to change the template so that content in the center well doesn’t actually touch the line separating it from the right-hand column. I want a margin of a few pixels on the right, matching the margin on the left. (You can really see what I mean in my second Dylan post.)

The template I’m using is called Sand Dollar, and you’ll find it here.

Sunday morning update: Problem solved. Thanks, Steve. And thanks to Jess as well.


Discover more from Media Nation

Subscribe to get the latest posts to your email.

Previous

Much better

Next

Follow the money

15 Comments

  1. acf

    This is much nicer and clearer. One thing I would like to see is for the line/link for comments to be bolder or better defined. At present, it just disappears into the post. Otherwise, nice work.

  2. Dan Kennedy

    Acf: I just changed the footer color to red, but it doesn’t seem to extend all the way through. Does it help?

  3. acf

    As an edit to my above post, I looked at some of the templates at the blogcrowds link and find the Rounders(x) series provides for both a stronger highlight for the comments line of text, and also distinctly defines each of your posts as a separate item, instead of one page long series of paragraphs.

  4. Dan Kennedy

    Acf: You are correct, but I’d been using a Rounders template for years, and I was sick of it. Plus, I find the three-column Rounds templates to be hideous, though they do separate the content very clearly.

  5. acf

    Dan: I just saw your reply. The red footer color does help. As I mentioned in my 11:45 post, I like the concept of a highlight band for that footer which would also accomplish post separation. In any case, I could get comfortable with what you’ve done so far.

  6. acf

    I’m probably reacting to just being comfortable with the way things were. Hey, I’m adaptable, Ill adjust.

  7. Dan Kennedy

    Acf: Thanks. This is all template-driven. My ability to change the template is extremely limited.

  8. Jess

    Re your margin issue — in the CSS under @media all, changemargin:0 1%;tomargin:1%;and you’ll have an even margin all around. You can increase the percentage to make it bigger.

  9. Dan Kennedy

    Jess: I just tried it, and it didn’t change anything. Thanks for the suggestion, though — it made sense.

  10. Steve

    Dan try this:In the section:@media all {div#main {float:left;width:55%;margin:0 1%;padding:30px 0 10px 1em;border-left:dotted 1px #777777;border-right:dotted 1px #777777;[…]change the padding line to:padding:30px 1em 10px 1em;(padding is top right bottom left)

  11. Steve

    As to the look – It’s Very American! Red white and blue, baby! (Or maybe it’s Very French? Bleu blanc et rouge? Tres chic.)Anyway – it’s readable, it works well and it’s pleasant on the (aging) eyes. I read on a desktop or laptop, so I can’t give an opinion at how it looks and works on the handhelds.Actually I was reading the blog just *before* you threw in the towel Friday night, and I thought that template was cool. I didn’t spend enough time with it to evaluate how it worked, but it looked great. I was just about to comment on it, refreshed, and I was back to the old style! I hate it when that happens! 🙂

  12. Dan Kennedy

    Steve: It worked! Thank you. And Jess, thank you again for your help, too.

  13. Gladys Kravitz

    Dan I love this new template! I would like to steal it for myself as I am bored of rounders too, and would like to add a large photo header. Where on earth did you find it??

  14. Dan Kennedy

    Hi, Gladys: It’s called Sand Dollar, and you’ll find it here.

  15. Dan Kennedy

    Steve: Could you send me your e-mail? I’ve got another question that I’m sure you know the answer to. Thanks.

Powered by WordPress & Theme by Anders Norén