Support › Forums › White – HTML Template › "video" page problem
- This topic has 15 replies, 2 voices, and was last updated 7 years, 6 months ago by
CreaboxThemes.
-
AuthorPosts
-
November 20, 2015 at 11:42 pm #4946
dardar21
ParticipantHello, on the video.html page, when opening the html file, an error javascript message displays,saying javascript alert : requested page not found (404) . If clicking on Ok, the video page appears but first, the error message appears.What an i do for the message to disappear? Thks =)
November 21, 2015 at 10:47 am #4947CreaboxThemes
KeymasterHi dardar21,
that problem happens because you are not loading the website in a php server (in your local server for example). The twitter feed uses php to load the tweets. Try to upload the theme to a server, and check the problem doesn’t happen.
Regards
November 22, 2015 at 1:05 am #4948dardar21
ParticipantOkay, thank you very much for your answer.
I’ve some other questions about this amazing template :1)how can i do to change the progression of the horizontal bar graphs ?(percent-layer general_bg percent-..) because I want it to be at 100 % for one bar ;
2)Can I do something for the video background be restarted when finished?
3)How can I change the skills image background?
Many thanks,
Truly yours
November 23, 2015 at 9:49 am #4949CreaboxThemes
KeymasterHi dardar61,
- If you want to change the progression of a horizontal bar, you have to edit its css class. For example, the first percentage has the class percent-1, in the css file styles.css, edit that class:
.percent-1 { width: 60%; }
- What kind of video background do you use?
- In the css file styles.css, edit the attribute background:
.aboutme .skills{ background: url('http://placehold.it/1280x1213&text=Skills+background+image'); ... }
-
This reply was modified 7 years, 6 months ago by
CreaboxThemes.
November 23, 2015 at 11:20 am #4951dardar21
ParticipantMany thanks for your answer ;
I use the video background with the “video.html” page, that is with a .mp4 video in the “vids” directory,directly on the server.November 23, 2015 at 2:17 pm #4952CreaboxThemes
KeymasterOK. You have to edit the file video.js in the folder js. Remove all the code and paste the next:
"use strict"; //set your video options var source = 'vids/video.mp4', sound = true, image_replacement = true; //start the video functios. if (image_replacement == true){ //If you want the option with image replacement if( !device.tablet() && !device.mobile() ) { (function($) { var BV = new $.BigVideo(); BV.init(); if (sound == true){ BV.show(source,{doLoop:true}); } else { BV.show(source,{ambient:true,doLoop:true}); } })(jQuery); } else { $('#bgimg').addClass('poster-image'); } } else{ //If you don't want the option with image replacement (function($) { // initialize BigVideo var BV = new $.BigVideo(); BV.init(); if (sound == true){ BV.show(source,{doLoop:true}); } else { BV.show(source,{ambient:true,doLoop:true}); } })(jQuery); }
Regards
November 24, 2015 at 8:17 pm #4953dardar21
ParticipantThank you very much for your answer, the only last thing I’ve a problem with is the contact page : The “about me”,work, and contact sections don’t appear in white but in black on the black color of the contact page and nothing happens when clicking on “send” . Why do you believe it makes that ?
November 25, 2015 at 7:27 am #4954CreaboxThemes
KeymasterHi,
can you send me your url to check the problem?
Regards
November 25, 2015 at 5:57 pm #4955dardar21
ParticipantYes, for sute, the url of the website is : http://www.sitecv.netau.net (i will make the website on another host once i finish it) .
November 25, 2015 at 6:20 pm #4956dardar21
ParticipantHi, yes, here the url : http://sitecv.netau.net/ (i will take the website on another real hosting provider once I finish it) ; another problem is that after sending the message, nothing happens (it writes it is sent but it doesn’t send it whereas i configured it with a smtp.gmail.com/gmais account and password). Regards,
November 25, 2015 at 6:24 pm #4957dardar21
ParticipantHere is the url (i will host the website on another paid provider once i finish the website) ; another problem with the contact page is that nothing happens once i click on send (it writes it is sent but in fact,it doesn’t send anything, but I configured the file by adding smtp.gmail.com ; my gmail account and password.) Regards,
November 26, 2015 at 10:12 am #4960CreaboxThemes
KeymasterHi,
edit the file contact.php (folder php) and change the code in the line 34 to his one:
34 ... $mail->SetFrom(TO_EMAIL,TO_NAME);
Then, edit the file default.php (folder php/template) and remove all the code and paste this one:
<? ob_start(); ?> <html> <head></head> <body> <div><strong>Name: </strong><? echo $name; ?><br/></div> <div><strong>Email: </strong><? echo $email; ?><br/></div> <div><strong>Message: </strong><? echo $message; ?><br/></div> </body> </html> <? $contents=ob_get_contents(); ob_end_clean(); return($contents); ?>
Regards
November 26, 2015 at 5:08 pm #4964dardar21
ParticipantHi,
thank you for your answer;
nevertheless, it’s still not written in white; do you believe that’s normal ? (so we can’t see “about me”,etc…)Regards
November 27, 2015 at 9:25 am #4966CreaboxThemes
KeymasterOk, I have checked you website and you main file index.html and you have to change the code in the line 87 to this one:
<li><button class="pt-trigger left-margin css3Animate" data-animation="22" data-goto="6" data-style="lightNav" data-style2="blogNav">Contact<span class="line css3Animate"></span></button></li>
Remember: the style is set in the attribute data-style. In your case, you have the option darkNav and you have to change it to lightNav.
And it woul be great if you remove the line 88 with this code:
<li><button class="pt-trigger css3Animate" data-animation="22" data-goto="" data-style="lightNav" data-style2="contactNav"><span class="line css3Animate"></span></button></li>
Regards
November 27, 2015 at 12:11 pm #4967dardar21
ParticipantThank you very much for your answers !
Regards
- If you want to change the progression of a horizontal bar, you have to edit its css class. For example, the first percentage has the class percent-1, in the css file styles.css, edit that class:
-
AuthorPosts
- You must be logged in to reply to this topic.