
“
Elegant Press” is a
clean,
minimal and
modern website template. It is
fast loading and
cross browser compatible. It is created to suit all kinds of businesses. It is made using
HTML5 and
CSS3 and has inbuilt
web fonts, along with
working contact form, necessary
jQuery plugins and much more. You are free to use it for your personal as well as commercial projects. It is released under
New BSD License, read more about it
here.
Features
- Uses HTML5 and CSS3.
- W3C Validated HTML5.
- Cross Browser Compatible.
- Working PHP contact form.
- Uses ChunkFive and Artifika, loaded from Google Web Fonts.
- Has essential jQuery plugins like prettyPhoto.
- Multiple layouts: Right Sidebar, Full Width, Gallery, Portfolio, etc.
- Read Me included.
- Totally Free! Released under New BSD License.
Preview(Click for larger image)

Latest Version: 1.2.1- 1.0: Stable Version
- 1.2: W3C Validated HTML5
- 1.2.1: Minor Fixes
- 1.2.5: More CSS3 Properties
Just open it using dreamweaver and do “Commands” >> “Apply Source Formatting”
very nice
Perfect, thank you!!
A great theme, I found a dashboard theme made in HTML5 and CSS3
hi, its very cool web page……. i like it….. thanks for sharing
Thanks for the template! Just wondering, is the navigation all CSS or is it JavaScript? I want to use it on a different page with some modifications. Can you help me out
Hello, I’m trying to use Elegant Press but but does not work in Microsoft browser. Firefox, opera and chrome it’s ok. What could be happening?
+1 as Alicia said.
Superb layout and great combination of well places elements, but it has no use as template does crash in Explorer.
Regards,
Helmuts
Superb template!!
The solution to add more slides to index.html is:
Add a line adiccional: ” ” for each slide you’re going to add
You can see that in the original file there are three equal lines because it has three slides
Also you must add slides (#slide1, #slide2, #slide3. ♥5slide4…) in the CSS file to make them look the captions.
Of course we also have to add also the slides that we need in the div # mySlides (index.html).
That’s all, thanks for this great template.
Hi Pritesh,
Very nice template. I am testing it out for a new website I am in the process of creating and it appears to be rendering correctly except for some of the fonts… The H1 font is not rendering correctly in the header and the slide heading font is not rendering correctly either. You can take a look at it here: http://www.soccerlegion.com
I’ve tested it in Safari, Opera, and IE — all with the same issue. I haven’t touched the css or anything other than a little bit of the text and the slide images… Any idea about what the problem might be?
Thank you, Corey
Dear Sir,
This template very nice !
But I have some problem when I apply this template to my website ASP.NET MVC 4.0 the reason are :
- I have use script like this : in my _Layout.chtml (razor) view
- When I browse my project with browser I got Image Slider (3 Top image feature) go out side. Not this play animation
Can you help me ?
Thanks, Khun
This template confuse with jquery-1.6.2.js
Can you help me ?
Hi, currently changing some stuff in the code, but I have the same problem as chris (http://www.priteshgupta.com/templates/elegant-press/comment-page-2/#comment-959)
The slider goes crazy after slide 12 and I can’t seem to fin where the lock is ? is it the script ?
Working on the contact.php form of the Elegant Press template, and when I test it I get this error message:
“Fatal error: Call to undefined function: stripos() in /homepages/18/d247512640/htdocs/seanborja/contact.php on line 25″
I have a working understanding of how exactly php works, but am rapidly learning daily at work and now at home. Could you help me?
This is what the php tag looks like above the html tag below (I have actual email and website name with generic ‘XXXXXX’ in place of actual email and website names). Please let me know if you would like to see more of my code:
<?php
// OPTIONS – PLEASE CONFIGURE THESE BEFORE USE!
$yourEmail = "[email protected]"; // the email address you wish to receive these mails through
$yourWebsite = "http://www.XXXXXX.com"; // the name of your website
$thanksPage = ''; // URL to 'thanks for sending mail' page; leave empty to keep message on the same page
$maxPoints = 4; // max points a person can hit before it refuses to submit – recommend 4
$requiredFields = "name,email,comments"; // names of the fields you'd like to be required as a minimum, separate each field with a comma
// DO NOT EDIT BELOW HERE
$error_msg = null;
$result = null;
$requiredFields = explode(",", $requiredFields);
function clean($data) {
$data = trim(stripslashes(strip_tags($data)));
return $data;
}
function isBot() {
$bots = array("Indy", "Blaiz", "Java", "libwww-perl", "Python", "OutfoxBot", "User-Agent", "PycURL", "AlphaServer", "T8Abot", "Syntryx", "WinHttp", "WebBandit", "nicebot", "Teoma", "alexa", "froogle", "inktomi", "looksmart", "URL_Spider_SQL", "Firefly", "NationalDirectory", "Ask Jeeves", "TECNOSEEK", "InfoSeek", "WebFindBot", "girafabot", "crawler", "www.galaxy.com", "Googlebot", "Scooter", "Slurp", "appie", "FAST", "WebBug", "Spade", "ZyBorg", "rabaz");
foreach ($bots as $bot)
if (stripos($_SERVER['HTTP_USER_AGENT'], $bot) !== false)
return true;
if (empty($_SERVER['HTTP_USER_AGENT']) || $_SERVER['HTTP_USER_AGENT'] == " ")
return true;
return false;
}
if ($_SERVER['REQUEST_METHOD'] == "POST") {
if (isBot() !== false)
$error_msg .= "No bots please! UA reported as: ".$_SERVER['HTTP_USER_AGENT'];
// lets check a few things – not enough to trigger an error on their own, but worth assigning a spam score..
// score quickly adds up therefore allowing genuine users with 'accidental' score through but cutting out real spam
$points = (int)0;
$badwords = array("adult", "beastial", "bestial", "blowjob", "clit", "cum", "cunilingus", "cunillingus", "cunnilingus", "cunt", "ejaculate", "fag", "felatio", "fellatio", "fuck", "fuk", "fuks", "gangbang", "gangbanged", "gangbangs", "hotsex", "hardcode", "jism", "jiz", "orgasim", "orgasims", "orgasm", "orgasms", "phonesex", "phuk", "phuq", "pussies", "pussy", "spunk", "xxx", "viagra", "phentermine", "tramadol", "adipex", "advai", "alprazolam", "ambien", "ambian", "amoxicillin", "antivert", "blackjack", "backgammon", "texas", "holdem", "poker", "carisoprodol", "ciara", "ciprofloxacin", "debt", "dating", "porn", "link=", "voyeur", "content-type", "bcc:", "cc:", "document.cookie", "onclick", "onload", "javascript");
foreach ($badwords as $word)
if (
strpos(strtolower($_POST['comments']), $word) !== false ||
strpos(strtolower($_POST['name']), $word) !== false
)
$points += 2;
if (strpos($_POST['comments'], "http://"
!== false || strpos($_POST['comments'], "www.") !== false)
$points += 2;
if (isset($_POST['nojs']))
$points += 1;
if (preg_match("/()/i”, $_POST['comments']))
$points += 2;
if (strlen($_POST['name']) < 3)
$points += 1;
if (strlen($_POST['comments']) 1500))
$points += 2;
// end score assignments
foreach($requiredFields as $field) {
trim($_POST[$field]);
if (!isset($_POST[$field]) || empty($_POST[$field]))
$error_msg .= “Please fill in all the required fields and submit again.\r\n”;
}
if (!preg_match(“/^[a-zA-Z-'\s]*$/”, stripslashes($_POST['name'])))
$error_msg .= “The name field must not contain special characters.\r\n”;
if (!preg_match(‘/^([a-z0-9])(([-a-z0-9._])*([a-z0-9]))*\@([a-z0-9])(([a-z0-9-])*([a-z0-9]))+’ . ‘(\.([a-z0-9])([-a-z0-9_-])?([a-z0-9])+)+$/i’, strtolower($_POST['email'])))
$error_msg .= “That is not a valid e-mail address.\r\n”;
if (!empty($_POST['url']) && !preg_match(‘/^(http|https):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\/?/i’, $_POST['url']))
$error_msg .= “Invalid website url.\r\n”;
if ($error_msg == NULL && $points $val) {
$message .= ucwords($key) . “: ” . clean($val) . “\r\n”;
}
$message .= “\r\n”;
$message .= ‘IP: ‘.$_SERVER['REMOTE_ADDR'].”\r\n”;
$message .= ‘Browser: ‘.$_SERVER['HTTP_USER_AGENT'].”\r\n”;
$message .= ‘Points: ‘.$points;
if (strstr($_SERVER['SERVER_SOFTWARE'], “Win”)) {
$headers = “From: $yourEmail\n”;
$headers .= “Reply-To: {$_POST['email']}”;
} else {
$headers = “From: $yourWebsite \n”;
$headers .= “Reply-To: {$_POST['email']}”;
}
if (mail($yourEmail,$subject,$message,$headers)) {
if (!empty($thanksPage)) {
header(“Location: $thanksPage”);
exit;
} else {
$result = ‘Your mail was successfully sent.’;
$disable = true;
}
} else {
$error_msg = ‘Your mail could not be sent this time. ['.$points.']‘;
}
} else {
if (empty($error_msg))
$error_msg = ‘Your mail looks too much like spam, and could not be sent this time. ['.$points.']‘;
}
}
function get_data($var) {
if (isset($_POST[$var]))
echo htmlspecialchars($_POST[$var]);
}
?>
86 my last comment. I figured it out. If you get the error message I described, one must update their global PHP version to PHP 5. Mine was set at v.4 through my host server.
But don’t go away! I may have more questions for you later…
Hi Pritesh
Thank you for the template, it is working great.
The only issues I have encountered is with the contact form. After submitting a query I get.
Fatal error: Call to undefined function: stripos() in /www/virtual/watchworld.co.nz/htdocs/contact.php on line 25
Is there some where I can go to trouble shoot this?
The template doesn’t work in IE8. Anyway to correct this as the layout is thrown out and looks incorrect.
Pretty Good. Thanks!
if you want any type of help pls visit
http://www.assignmentsexperts.com
thanks
assignments experts
Hi
Thanks for this great looking website,
can someone tell me how I could add a background image to the Menu navigation bar please?
Thanks
Nice and i ilke this template
For any help on computer science related topics please visit
http://assignmentdesign.comRegardsassignment helper
I love this template but the search does not work. My website is http://www.eversontroop160.com. Any help is appreciated.
Is there a way to make the search work. You can try it from my website eversontroop160.com and the search does nothing. Any help is appreciated.
Despite the search problem I love this template.