Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: New template: DkBlog  (Read 13319 times)

David

  • Hero Member
  • *****
  • Karma: 7
  • Posts: 567
New template: DkBlog
« on: April 21, 2007, 12:58:24 AM »

Hello all,

This time I made a simple dark design with 3 columns...easy to port to sNews  :cool:



Thanks for your comments.

Fred, could you test it with Safari? thanks :)
Logged

Fred K

  • Still trying to learn stuff
  • ULTIMATE member
  • ******
  • Karma: 130
  • Posts: 2728
    • Personal
New template: DkBlog
« Reply #1 on: April 21, 2007, 02:03:22 AM »

oh, it looks very good, in both Safari 2.0.4 (latest official release) and the nightly build from a week ago.
One problem area that I can see: there's no padding on the body and/or margin on the container, so everything gets slammed against the browser walls if you open it in a window smaller than 1000+px (or have a smaller screen than 1024px).

As a side note, I would at least incorporate "Helvetica Neue" in the main font family. I tested on my Powerbook where I've removed Arial so instead the page served up in Geneva. Not bad, but not as intended. Adding Helvetica Neue (because it's better cut than Helvetica) will catch users like me and serve the page looking properly... :D

It reminds me a little of a template I saw Andreas Viklund preview a good while back ... and that's meant as a compliment. I like it.
Logged

Sasha

  • Hero Member
  • *****
  • Karma: 28
  • Posts: 938
    • cssanarchy.com
New template: DkBlog
« Reply #2 on: April 21, 2007, 02:19:06 AM »

good template maybe best one :)
Logged
Every morning, I get up and look through the 'Forbes' list of the richest people in America. If I'm not there, I go to work. | If you love your job, you haven't worked a day in your life. snews with ♥

mosh

  • Hero Member
  • *****
  • Karma: 77
  • Posts: 510
  • Awesome day :)
    • cms-zen
New template: DkBlog
« Reply #3 on: April 21, 2007, 06:15:29 AM »

i love it avenir  :D
thanks again for great templates  :cool:

piXelatedEmpire

  • MIA
  • ULTIMATE member
  • ******
  • Karma: 37
  • Posts: 1401
  • currently MIA
New template: DkBlog
« Reply #4 on: April 21, 2007, 10:00:30 AM »

looking good avenir :)
Logged
my apologies to the sNews crew, but I will be MIA for the forseeable future

David

  • Hero Member
  • *****
  • Karma: 7
  • Posts: 567
New template: DkBlog
« Reply #5 on: April 21, 2007, 10:38:29 AM »

Thanks Fred!, I will add the helvetica font soon :) thank you for your input and compliment.

Thank you guys :) I'm glad you like it ;)
Logged

DustinB

  • Newbie
  • *
  • Karma: 0
  • Posts: 6
New template: DkBlog
« Reply #6 on: April 29, 2007, 09:35:55 PM »

I agree with everyone, this template is awesome!

What do I have to do to get you to make this snews ready!!??
Logged

Sasha

  • Hero Member
  • *****
  • Karma: 28
  • Posts: 938
    • cssanarchy.com
New template: DkBlog
« Reply #7 on: April 29, 2007, 09:45:08 PM »

you need for start to use some css code from snews css core files and play with them :)
Logged
Every morning, I get up and look through the 'Forbes' list of the richest people in America. If I'm not there, I go to work. | If you love your job, you haven't worked a day in your life. snews with ♥

DustinB

  • Newbie
  • *
  • Karma: 0
  • Posts: 6
New template: DkBlog
« Reply #8 on: April 29, 2007, 09:54:28 PM »

ahhhh but that wasn't the question....

What do I need to do to get Avenir to make this template Snews ready???

$$ Avenir?
Logged

centered

  • Guest
New template: DkBlog
« Reply #9 on: April 29, 2007, 11:19:05 PM »

Here, just rename index.html to index.php and add this code:

Code: [Select]
<?php session_start(); include('snews.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <?php title(); ?>
    <meta http-equiv="Content-Language" content="English" />
    <meta http-equiv="Content-Type"
    content="text/html; charset=UTF-8" />
    <meta name="author"
    content="David Herreman (www.free-css-templates.com)" />
    <meta name="description" content="Free Css Template" />
    <meta name="keywords" content="free,css,template" />
    <meta name="Robots" content="index,follow" />
    <meta name="Generator" content="sNews 1.5" />
    <link rel="stylesheet" type="text/css" href="style.css"
    media="screen" />
    <link rel="alternate" type="application/rss+xml"
    title="RSS 2.0" href="rss/" />
  </head>
  <body>
    <div id="topbar" class="content">
      <div id="icons">
        <a href="/index.html" title="Home page"><img
        src="images/home.gif" alt="Home" /></a> <a href="/contact/"
        title="Contact us"><img src="images/contact.gif"
        alt="Contact" /></a> <a href="/sitemap/"
        title="Sitemap"><img src="images/sitemap.gif"
        alt="Sitemap" /></a>
      </div>
      <div class="url">
        <a href="#" title="">www.your-blog.com</a>
      </div>
    </div>
    <div id="top" class="content">
      <div id="menu">
        <ul>
          <?php pages(); ?>
        </ul>
      </div>
      <h1><?php echo s('website_title'); ?></h1>
      <h2>Your Best Slogan here</h2>
    </div>
    <div class="content">
      <div id="main">
        <div class="right_side pad">
          <h3>Thank you for visiting!</h3>
          <p><a href="http://www.free-css-templates.com"
          title="">Free-css-templates.com</a> was created on the 3
          of April 2006 and has already about 3000 unique visitors
          per day!

          <a
          href="http://www.free-css-templates.com/free-css-templates-site-news/thank-you-for-visiting/"
           title="Read more">Read more...</a></p>
          <h3>Last Articles:</h3>
          <ul>
            <? menu_articles(0,3); ?>
          </ul>
          <h3>Latest Comments:</h3>
          <ul>
            <? new_comments(5, 30); ?>
          </ul>
          <a href="/rss/" title="RSS Feed"><img
          src="images/rss.jpg" alt="RSS Feed" /></a>
        </div>
        <div class="right_side pad">
          <h3>Categories:</h3>
          <ul>
            <?php categories(); ?>
          </ul>
          <h3>Directory</h3>
          <p><a href="http://www.links4se.com"
          title="SEO friendly directory">Links4se.com</a> is a
          seo-friendly and human-edited general directory. Featured
          links need to be paid only $4.95 for unlimited time and
          regular links only $1.95!</p>
          <h3>Creative News</h3>
          <p><a href="http://www.creativenews.cn"
          title="Creative News">Creative News</a> is a place for
          web developers searching for fresh news on web
          development with one goal - to put their creativity into
          action.</p>
          <h3>Css Heaven</h3>
          <p><a href="http://www.cssheaven.com"
          title=" CSS Gallery">CSS Heaven</a> has one objective to
          provide you with a central resource to view a wide range
          of eye catching and innovative web design plus inspire
          you to create new and exciting web designs.</p>
          <h3>Premium Templates</h3>
          <p>These <a
          href="http://www.free-css-templates.com/website_templates.html"
           title="Professional Website Designs">website
          templates</a>, flash templates and other products are
          ready-made web designs, that can be used as a basis for
          fast and high-quality website and are completely
          customizable and ready for immediate download!</p>
        </div>
        <div id="left_side">
          <div class="intro pad">
            <?php extra(); ?>
          </div>
          <div class="mpart">
            <? center(); ?>
          </div>
        </div>
      </div>
      <div id="footer">
        <div class="right">
          Copyright 2007, Your Website - Design: <a
          href="http://www.free-css-templates.com">Free Css
          Templates</a>
        </div>
        <a href="/rss/" title="RSS Feed">RSS Feed</a> - <a
        href="http://validator.w3.org/check?uri=referer"
        title="Validate">XHTML</a> - <a
        href="http://jigsaw.w3.org/css-validator/check/referer"
        title="Validate">CSS</a> - <? login_link(); ?>
      </div>
    </div>
  </body>
</html>
« Last Edit: September 26, 2007, 06:53:02 PM by equilni »
Logged

DustinB

  • Newbie
  • *
  • Karma: 0
  • Posts: 6
New template: DkBlog
« Reply #10 on: April 30, 2007, 12:29:30 AM »

Thank You very much.
Logged

centered

  • Guest
New template: DkBlog
« Reply #11 on: April 30, 2007, 12:37:33 AM »

no problem.. Alot of stuff may have to be coded by hand, but if you know what you are doing it should be fine
Logged

ketut

  • Full Member
  • ***
  • Karma: 0
  • Posts: 115
    • Book Bali Hotels
New template: DkBlog
« Reply #12 on: May 17, 2007, 05:22:03 AM »

thank you for your best template, now I will  install sNews Ver 1.6 :cool:

nandu26

  • Newbie
  • *
  • Karma: 0
  • Posts: 8
New template: DkBlog
« Reply #13 on: July 25, 2007, 03:07:07 PM »

Hi centered,

I tested the code posted by you but the login link is not visible. Is there any problem with your code?

Please confirm.
Logged

nandu26

  • Newbie
  • *
  • Karma: 0
  • Posts: 8
New template: DkBlog
« Reply #14 on: July 25, 2007, 04:38:36 PM »

I fixed the problem and now the site is working fine.
Logged