Discussion on Centum - Responsive HTML Template

Discussion on Centum - Responsive HTML Template

Cart 3,928 sales
Well Documented

Vasterad does not currently provide support for this item.

723 comments found.

Good morning Vasterad! I have an issue. When the site is resized to 480×800 which Dreamweaver uses for the smart phone dimensions, all of my top menus disappear. How do I fix this?

The problem is with Dreamweaver I guess. Check it on Chrome/Firefox. On 480×800 there should be dropdown menu for mobile devices.

This is a great theme. Quick question – How do I make the images on the layer slider hyperlinks to certain pages? I can make the description text link but am having no luck linking the actual images.

Also bold [ something bold ] does not work.

You need to define “layer-ls” for your href.

<a href="#" class="layer-ls">Link</a>

Hello Vasterad,

I recently emailed you in regards to my contact.php issue. Ihave added additional fields but receiving an ‘Sorry, unexpected error. Please try again later’ error when posting.

My form can be viewed at http://www.elumanation.com/contact5.html

My php code is as follows…

<?php //Retrieve form data. //GET - user submitted data using AJAX //POST - in case user does not support javascript, we'll use POST instead $name = ($_GET['name']) ? $_GET['name'] : $_POST['name']; $company = ($_GET['company']) ? $_GET['company'] : $_POST['company']; $email = ($_GET['email']) ?$_GET['email'] : $_POST['email']; $phonenumber = ($_GET['phonenumber']) ?$_GET['phonenumber'] : $_POST['phonenumber']; $message = ($_GET['message']) ?$_GET['message'] : $_POST['message']; //flag to indicate which method it uses. If POST set it to 1 if ($_POST) $post=1; //Simple server side validation for POST data, of course, you should validate the email if (!$name) $errors[count($errors)] = 'Please enter your name.'; if (!$company) $errors[count($errors)] = 'Please enter your company.'; if (!$email) $errors[count($errors)] = 'Please enter your email.'; if (!$phonenumber) $errors[count($errors)] = 'Please enter your phone number.'; if (!$message) $errors[count($errors)] = 'Please enter your message.'; //If the errors array is empty, send the mail if (!$errors) { // ====== Your mail here ====== // $to = 'Elumanation <info@elumanation.com>'; // Sender $from = $name . ' <' . $email . '>'; //subject and the html message $subject = 'Elumanation LED Lighting Solutions'; $message = ' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head></head> <table> <tr><td>Name:</td><td>' . $name . '</td></tr> <tr><td>Company:</td><td>' . $company . '</td></tr> <tr><td>Email:</td><td>' . $email . '</td></tr> <tr><td>Phone Number:</td><td>' . $phonenumber . '</td></tr> <tr><td>Message:</td><td>' . nl2br($message) . '</td></tr> </table> '; // Send the mail $result = sendmail($to, $subject, $message, $from); //if POST was used, display the message straight away if ($_POST) { if ($result) echo 'Thank you! We have received your message.'; else echo 'Sorry, unexpected error. Please try again later'; //else if GET was used, return the boolean value so that //ajax script can react accordingly //1 means success, 0 means failed } else { echo $result; } // If the errors array has values } else {} // Simple mail function with HTML header function sendmail($to, $subject, $message, $from) { $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n"; $headers .= 'From: ' . $from . "\r\n"; $result = mail($to,$subject,$message,$headers); if ($result) return 1; else return 0; } ?>

Please advise as I require these two extra fields.

Thank you in advance.

Jamen

I am now using your non customized cotnact form and I am still receiving the same error. Please advise to why this might be?

www.elumanation.com/contact2.html

contact.php code as follows.

<?php //Retrieve form data. //GET - user submitted data using AJAX //POST - in case user does not support javascript, we'll use POST instead $name = ($_GET['name']) ? $_GET['name'] : $_POST['name']; $email = ($_GET['email']) ?$_GET['email'] : $_POST['email']; $message = ($_GET['message']) ?$_GET['message'] : $_POST['message']; //flag to indicate which method it uses. If POST set it to 1 if ($_POST) $post=1; //Simple server side validation for POST data, of course, you should validate the email if (!$name) $errors[count($errors)] = 'Please enter your name.'; if (!$email) $errors[count($errors)] = 'Please enter your email.'; if (!$message) $errors[count($errors)] = 'Please enter your message.'; //If the errors array is empty, send the mail if (!$errors) { // ====== Your mail here ====== // $to = 'Your Name <info@elumanation.com>'; // Sender $from = $name . ' <' . $email . '>'; //subject and the html message $subject = 'Message from your website'; $message = ' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head></head> <table> <tr><td>Name:</td><td>' . $name . '</td></tr> <tr><td>Email:</td><td>' . $email . '</td></tr> <tr><td>Message:</td><td>' . nl2br($message) . '</td></tr> </table> '; // Send the mail $result = sendmail($to, $subject, $message, $from); //if POST was used, display the message straight away if ($_POST) { if ($result) echo 'Thank you! We have received your message.'; else echo 'Sorry, unexpected error. Please try again later'; //else if GET was used, return the boolean value so that //ajax script can react accordingly //1 means success, 0 means failed } else { echo $result; } // If the errors array has values } else {} // Simple mail function with HTML header function sendmail($to, $subject, $message, $from) { $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n"; $headers .= 'From: ' . $from . "\r\n"; $result = mail($to,$subject,$message,$headers); if ($result) return 1; else return 0; } ?>

I believe this issue is in the custom.js however I never altered that file. Please advise why? Its returning the error code from the custom.js file not the php file

Could you provide a link to your site?

I don’t Have PayPal account and i am trying to buy this template from few days with my debit card (which is VISA verified international shopping card) but i get this message “The card you entered cannot be used for this payment. Please enter a different debit or credit card number.” I am keenly interested in this template but i could not go for it because of payment issues.

Hi, unfortunately I’m afraid I can’t help in this matter because I don’t receive payments. It’s Envato’s role

Hello,

I just purchased this template I look forward to starting with it. Previously my only experience with webpage building is Microsoft Front Page 2003. What program do I need to start customizing this template and is there a step by step guide for a first time user? Like how to set up and edit the pages after downloading the product? Thanks :)

It’s HTML template so keep in mind that you need some knowledge about HTML/CSS. I’ll suggest to use Dreamweaver or just any text editor for devs like Notepad++.

I can’t find the number codes for LayerSlider

Could you clarify?

My website… Thank Vasterad.

http://www.cittàdiagrigento.it

I am having trouble with the layerslider on the index page. I added 3 more images for a total of 6 slides. Only the first three will show up. I went to the source page you included in the documentation and it says we can add slides, so I copied the code for the 3rd slide, and pasted it three more times and renumbered the slides 4, 5, and 6. I changed the image numbers to 04, 05 and 06 and still it will not recognize the additional slides. I can get it to work fine in flexslider, but the transitions in flexslider are very choppy, and I just don’t like it as well as the layerslider. What am I doing wrong?

Well, now it does. I did a view source and copied the code for the layerslider, and it works perfectly. I don’t know what I did wrong, and I thank you profusely for fixing whatever I did!

You’re welcome

I’m missing the skins for the layerslider in the package. Due to the missing skins a 404 is the result.

Please update the package by adding the missing skins.

    $(document).ready(function(){
        $('#layerslider').layerSlider({
            skin                    : '',
            responsive              : true,
            navPrevNext             : true,
            showBarTimer            : false,
            showCircleTimer         : true,
            navButtons              : false,
            navStartStop            : false,
            hoverPrevNext           : false,
            autostart                : true,
            firstlayer                : 1 
        });
    });

Try this code in custom.js. It works on my demo preview: http://vasterad.com/themes/centum/

Yes!!! That one did the trick. Guess the firstlayer option was the missing option.

Thanks Vasterad for the quick and professional responses!

You’re welcome.

Hello,

I am trying to create an indented list within a list but the point on the first list places in the middle instead of the top as you can see here… http://www.womenssatnav.co.uk/for-you.php

How can I have it so that the ‘tick’ is in line with ‘Have specific challenges…’?

Thanks Matt

You need to adjust background position in inline CSS – style="background-position: 0% 4%". Of course add this inline CSS only for that list element which has centered “tick” icon.

Thank you very much, the template is perfect and valid in w3c.
My site with this template realy is very beauty.

Thanks!!!

My Site : http://www.e-zafeiropoulos.com/

Thanks for kind words, nice site. :)

I love the theme. Is it possible to get the small sicial icons at top right hand corner to appear in iPhone version? They not appear at the moment?

Perfect. Done. works – Thank you

I was trying to find where I rate your service to 5 stars! But I cannot see where to do this?

on the download page. :)

If someone of you have PROBLEM WITH CONTACT FORM the solutions is below. Some servers with new Apache versions do not allows to start those php formular. To repair it you have to change contact.php, line 22 and 25

IT IS: $to = ‘Your Name <email@example.com>’;

$from = $name . ’ <’ . $email . ’>’;

IT HAVE TO BE $to = ‘email@example.com’; (in the apostrophe write your mail)

$from = “From: $name <”.$email.”\r\n”; (allowed line)

Now your form will fork.

Vasterad – in my opinion you should update that formular. As you know there are many customers with same problem. With my change it will work problably in all hostings

Thanks for the info. :)

Hello,

I am using the boxed.css and i have a problem where if the webpage is greater than 906px i believe the white body disappears and the bg image shows, once you minimize the browser or look on through a mobile device the white body behind the text re-appears. The website is www.allurarenovations.com

thanks

Remove

< / div> <!-- 960 Container / End --> just after <!-- Navigation / End -->


and add ending tag after

< / div> <!-- Wrapper / End -->

works like a charm! thanks

You’re welcome

HI the default width of the webpage is 960px can we increase it

It’s possible by changing media queries. You can use them from Astrum http://vasterad.com/themes/astrum/css/responsive.css and adjust to Centum

Dear Sirs,

The slider is not much stable at index page. Faced recently some problems (reasons i contacted you 3 days ago). I reinstalled everything. And today while adding 4 more images ther slider collapsed again.

Kindly let me know how to fix it. It is necessary to upload source files every 3 days?

testing website is www.tiemposderenovacion.es (you can access source code directly there)

Currently with PHP http://www.tiemposderenovacion.es/ (I supposed CENTUM was compatible and stable at PHP) In html it seems it works but template looses stability once is saved as PHP http://www.tiemposderenovacion.es/index_html.html . It would be useful if you can provide a solution over layerslider. If layerslider is troublesome kindly let me know clearly. I would appreciate. Thks

Hi Author. the Html files works fine. As soon as i change to php Layerslider became unestable. DONT WORK. Tried with index page and with the single_project.html file. SAME PROBLEM. Also read along the comments of this template that if you add too many slides, slider became crazy. As suggested and demanded two days ago could you please confirm this fact to avoid me losing time and efforts? I would really appreciate a sincere answer. Best Regards. You can check what i am saying here PHP Incompatibility (http://www.tiemposderenovacion.es/, http://www.tiemposderenovacion.es/aove_el_cabezo.php) HTML fine (http://www.tiemposderenovacion.es/index_html.html, http://www.tiemposderenovacion.es/single_project.html). The unique difference among the files is that at PHP I have created a common header (includes). BUT the code being used for slider at index is EXACTLY the same, but seems template do not work well on PHP. As requested kindly do confirm in order to allow me to progress. Thank you very much in advance. Appreciate

Hi, sorry for delay. Did you try to put layerslider’s (part of code from custom.js and main scripts of layerslider) script not in common header but in content? Or try to move all scripts to the footer.

Can you tell me how to increase the size of the email and phone number at the top right of this template?

I should have included “font” size.

It’s not possible because these icons are images

Why centum at www.tiemposderenovacion.es is not working. Slider does not work even in local server i am using for testing

Kindly let me know

Santiago. Tks

Hi, downloaded again and now it seems it works properly. Is there any option to easily add new slides? any instructions. Copied and pasted the slides code but it seems just 3 of them are working properly. The default slides. Kindly let me know where to adjust the code. tks

Ok. Got It already…

Ok, I’m glad you solved it

Vasterad, thank you for such an amazing template. I’m working on the LayerSlide feature and require transition configurations. would you kindly provide me with documentation / instructions on this please? Many thanks!

There might be problem because Centum includes an older version of layerslider than currently available on codecanyon.

Hi, just downloaded and great theme, I too however am having the same as issue as many others with regards to the Sorry unexpected error message when you try to submit the contact form.

PHP is fine on the server

Looks like the custom.js is where its stopping even before it hits the php page to send. Did you ever get a resolution on this please?

Thank you.

It’s usually related with hosting provider’s setup (SMTP auth). I’m not an author of this script (it was MIT licensed free script) and can’t provide any solution right now. Changing contact form script isn’t difficult so I’d recommend to use well-developed premium script from CodeCanyon. ;)

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey