-
Search Results
-
Hi,
How can I define “the point of page scroll” where I want the video background in a color section to autoplay?
That is, I want the video not playing until the scroll/video reaches a certain point (and then autoplay).
Thanks very much,
OSCAR
Follow these steps for error creation:
Or send me the correct CSS code:Create a dummy site, or on your version, please allow the logo and menu activated on mobile:
.responsive #top #header {
position: fixed !important;}
Now that you see a logo and social bar on the mobile potrait and landscape both.
Step 2
=======
Create a page which has a 1st section as parallax, with a learn more scroll button, which goes to anchor below on next color sections.=====
Step 3Click on the learn more from mobile version.
======
Step 4,
you will see… perfect alignment of the section.Step 5.
======
Here I want to reduce the logo height and white area, as its taking too much space specially on landscape, you dont have much left to read the website.
So reduce the logo area..
.responsive #top #header .logo
{
padding-top:0px;
margin:0px auto 0px;
padding-bottom:0px;
margin-bottom:0px;
height: 30px!important;
}
.responsive #top #main {
padding-top: 60px !important;
padding-bottom:0px !important;
margin-bottom:0px !important;
}now the logo looks nice, but try scrolling using the learn more / go to the below anchor…
the below section does not alignHello!
I wonder if it is possible to make the load more button on masonry (not masonry gallery) load less posts if you are on a mobile device?I’m also wondering if it is possible to make the load more thing happen automaticlly when you scroll down? Like infinite scroll.
Thanks in advance!
Topic: Mobile Menu Search Function
Hello,
I have customized the mobile Menu of enfold to show the header area. Result is live here:
cop-morrien.deDue to client request I added a search icon to the mobile-header. The search Icon links to the search-field
in the sidebar (under the main-content in mobile view). Everything works fine so far. The only thing, that I can not manage to get to work is the following case:
When the menu is open and the user clicks the search icon in the header (next to the mobile menu toggle icon) I want the menu to hide and the page to scroll to the search field. The scroll does work, but I can not get the menu to hide at the same time.This is my code in js > avia.js (which I have copied to my child theme):
$html.on('click', '#add-search-icon', function() { container.removeClass('show_mobile_menu'); container.css({'height':"auto"}); });But this sadly doesn’t work. I also tried:
$(#add-search-icon).click(hide_menu);Can you please check what is wrong.
Thanks
Topic: Separated layer elements
RE: http://screencast.com/t/0CFhDbWeF4
Any obvious reason why the backgrounds for screen capture above would act as independent blocks?
The content of the layer is http://screencast.com/t/hEzHpz9pp.
<h2 class="sliderhead sliderbox" style="box-shadow: 0px 4px 10px -5px black; text-shadow: none; font-weight: normal; opacity: 0.75; text-align: right; padding: 25px 30px 25px 40px; font-family: inherit; font-size: 16px; line-height: 18px; color: rgb(255, 255, 255); background: none repeat scroll 0% 0% rgb(56, 48, 48); width: auto; height: auto; border-width: 0px;">Label Design</h2> <p class="sliderbox" style="box-shadow: 0px 4px 10px -5px black; text-shadow: none; font-weight: normal; opacity: 0.75; text-align: right; padding: 25px 30px 25px 40px; font-family: inherit; font-size: 16px; line-height: 18px; color: rgb(255, 255, 255); background: none repeat scroll 0% 0% rgb(56, 48, 48); width: auto; height: auto; border-width: 0px;">Packaging, labels and POS displays that give your product the attention it deserves.</p>Hi!
After updating the theme I’m having problems with Avia Layout Builder. When I drag&drop an element the whole page stop working. I can’t scroll up or down, causing me to not reach the save/update button. I have to reload the page, and if I’m lucky, WordPress have auto-saved the page for me.
I did not experience this issue on the previous theme version. I am using Safari on Mac, and I have tried another computer. It works fine in Chrome.
Can you help?
Topic: Mobile Site Shop Layout
The Issue:
Using the Enfold theme, I have an IFrame positioned about halfway down my sales page which I have inserted via the Code Block Content Element. When I load the page on my mobile device, Enfold automatically scrolls down to the location of the IFrame. I have confirmed that the IFrame is the cause by eliminating the IFrame from the page and reloading. When I do this, the page loads as expected with the headline at the top.
What I’ve done:
Aside from removing the IFrame to determine that it was the cause, I’ve checked the source code of the IFrame itself to see if there was anything that might be triggering the behavior. Nothing was immediately apparent but something is causing Enfold to behave in this way.
What I need:
I need the sales page to load as normal, with the headline at the top. I don’t want the page to auto scroll to the location of the IFrame.
I’ve included that source below. Thanks for any help you can provide.
<!DOCTYPE html> <!-- saved from url=(0013)about:internet --> <html> <head><meta content='IE=Edge' http-equiv='X-UA-Compatible'> <meta http-equiv='Content-Type' content='text/html;charset=UTF-8' /> <meta name='GENERATOR' content='SpreadsheetConverter version 7.8.6078.0)' /> <!-- The parts of this webpage that is defined by the original spreadsheet have the same copyright as the original spreadsheet. --> <!-- The generic Excel-related parts of this page is Copyright © 2002-2013 Framtidsforum I&M AB, Sweden. --> <title>Invisalign Calculator</title> <link rel="stylesheet" href="assets/app.min.css" /> <script type="text/javascript" src="assets/app.min.js"></script> <script type="text/javascript"> $(function(){ var calendar_dateFormats = {}; var defaultDateFmt = 'm/d/yy'; postcode(); var tabWiz = $('#tab').tabs(); var focusCtrl=$('input:not(":hidden,:button,[readonly=readonly],:disabled"),select,a.ui-slider-handle,textarea,a.ui-state-active'); <!-- to prevent popup dialog to appear in page load.--> if(focusCtrl!= undefined && focusCtrl.filter(':first').hasClass('hasDatepicker')==false){ focusCtrl.filter(':first').focus(); } }); </script> <link rel='stylesheet' type='text/css' href='' media='print' id='printallcss' /> </head> <body onload='LoadFromQueryString();GetCookies();recalc_onclick("");' onunload='SetCookies();'> <noscript style='color:#F15623;'> The webpage is not working since JavaScript is not enabled. Most likely, you are viewing using Dropbox website or another limited browser environment. </noscript> <form id='formc' name='formc' method='post' action='' target='_top'> <input type='hidden' id='xl_spreadsheet' name='xl_spreadsheet' value='Invisalign Calculator' /> <input type='hidden' id='xl_client' name='xl_client' value='x7.8.6078.0' /> <div id='tab'> <div id='sheet-1' style='padding: 1em 1.4em;'> <table width= '817' cellspacing='0' cellpadding='0' style='border-spacing:0;' onkeydown='javascript:navigate(event);'> <col width='162'/> <col width='11'/> <col width='113'/> <col width='11'/> <col width='520'/> <tr style='height:13pt'> <td class='ee100' style='height:13pt;'> Cost of Treatment </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee106' style='height:13pt;'> <fieldset id='FS1$price' style='border:0;padding:0;'> <select name='price' id='price' class='ee108' style=' width:100% ' tabindex='1' onchange="recalc_onclick('price')" size='1' data-sheet='1' data-row='1' data-col='3'> <option data-value='n:0' selected > $ - </option> <option data-value='n:2500' > $ 2,500</option> <option data-value='n:3000' > $ 3,000</option> <option data-value='n:3500' > $ 3,500</option> <option data-value='n:4000' > $ 4,000</option> <option data-value='n:4500' > $ 4,500</option> </select> </fieldset> </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> </tr> <tr style='height:13pt'> <td class='ee109' style='height:13pt;' colspan = '5'> Most Invisalign® cases will cost between $2,500 and $4,500 </td> </tr> <tr style='height:13pt'> <td class='ee100' style='height:13pt;'> Insurance Coverage </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee106' style='height:13pt;'> <fieldset id='FS1$insurance' style='border:0;padding:0;'> <select name='insurance' id='insurance' class='ee108' style=' width:100% ' tabindex='2' onchange="recalc_onclick('insurance')" size='1' data-sheet='1' data-row='3' data-col='3'> <option data-value='n:0' selected > $ - </option> <option data-value='n:500' > $ 500</option> <option data-value='n:1000' > $ 1,000</option> <option data-value='n:1500' > $ 1,500</option> <option data-value='n:2000' > $ 2,000</option> <option data-value='n:2500' > $ 2,500</option> <option data-value='n:3000' > $ 3,000</option> <option data-value='n:3500' > $ 3,500</option> </select> </fieldset> </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> </tr> <tr style='height:13pt'> <td class='ee109' style='height:13pt;' colspan = '5'> Some insurance providers offer coverage up to $3,500 </td> </tr> <tr style='height:13pt'> <td class='ee100' style='height:13pt;'> FSA Contribution </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee106' style='height:13pt;'> <fieldset id='FS1$fsa' style='border:0;padding:0;'> <select name='fsa' id='fsa' class='ee108' style=' width:100% ' tabindex='3' onchange="recalc_onclick('fsa')" size='1' data-sheet='1' data-row='5' data-col='3'> <option data-value='n:0' selected > $ - </option> <option data-value='n:500' > $ 500</option> <option data-value='n:1000' > $ 1,000</option> <option data-value='n:1500' > $ 1,500</option> <option data-value='n:2000' > $ 2,000</option> <option data-value='n:2500' > $ 2,500</option> </select> </fieldset> </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> </tr> <tr style='height:13pt'> <td class='ee109' style='height:13pt;' colspan = '5'> With a Flexible Spending Account (FSA), you can put up to $2,500 towards treatment </td> </tr> <tr style='height:13pt'> <td class='ee100' style='height:13pt;'> Your Down Payment </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee106' style='height:13pt;'> <fieldset id='FS1$down' style='border:0;padding:0;'> <select name='down' id='down' class='ee108' style=' width:100% ' tabindex='4' onchange="recalc_onclick('down')" size='1' data-sheet='1' data-row='7' data-col='3'> <option data-value='n:0' selected > $ - </option> <option data-value='n:250' > $ 250</option> <option data-value='n:500' > $ 500</option> <option data-value='n:1000' > $ 1,000</option> <option data-value='n:1500' > $ 1,500</option> <option data-value='n:2000' > $ 2,000</option> <option data-value='n:2500' > $ 2,500</option> <option data-value='n:3000' > $ 3,000</option> <option data-value='n:3500' > $ 3,500</option> <option data-value='n:4000' > $ 4,000</option> <option data-value='n:4500' > $ 4,500</option> </select> </fieldset> </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> </tr> <tr style='height:13pt'> <td class='ee109' style='height:13pt;' colspan = '5'> Making a down payment can reduce your montly costs </td> </tr> <tr style='height:13pt'> <td class='ee100' style='height:13pt;'> Your Total Out of Pocket </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee121' style='height:13pt;'> <input id='XLEW_1_9_3' type='text' readonly='readonly' value='-' class='ee121' style='overflow:hidden; border:0px solid #000000; width:100% ' name='XLEW_1_9_3' tabindex='-1' /> </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td> </tr> <tr style='height:13pt'> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee123' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td> </tr> <tr style='height:13pt'> <td class='ee124' style='height:13pt;' colspan = '5'> Complete the fields below to estimate your monthly payment if you are financing your treatment. </td> </tr> <tr style='height:13pt'> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee123' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td> </tr> <tr style='height:13pt'> <td class='ee100' style='height:13pt;'> Monthly Payment </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee126' style='height:13pt;'> <input id='XLEW_1_13_3' type='text' readonly='readonly' value='-' class='ee126' style='overflow:hidden; border:0px solid #000000; width:100% ' name='XLEW_1_13_3' tabindex='-1' /> </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> </tr> <tr style='height:13pt'> <td class='ee109' style='height:13pt;' colspan = '2'> Estimated monthly payment </td> <td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td> </tr> <tr style='height:13pt'> <td class='ee100' style='height:13pt;'> Payment Periods </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee106' style='height:13pt;'> <fieldset id='FS1$Period' style='border:0;padding:0;'> <select name='Period' id='Period' class='ee108' style=' width:100% ' tabindex='5' onchange="recalc_onclick('Period')" size='1' data-sheet='1' data-row='15' data-col='3'> <option data-value='n:12' selected >12</option> <option data-value='n:18' >18</option> <option data-value='n:24' >24</option> </select> </fieldset> </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> </tr> <tr style='height:13pt'> <td class='ee109' style='height:13pt;' colspan = '3'> Choose between 12, 18 or 24 month financing </td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee109' style='height:13pt;'><div style='overflow:hidden'></div></td> </tr> <tr style='height:13pt'> <td class='ee100' style='height:13pt;'> Est. Interest Rate </td> <td class='ee123' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee106' style='height:13pt;'> <fieldset id='FS1$interest' style='border:0;padding:0;'> <select name='interest' id='interest' class='ee108' style=' width:100% ' tabindex='6' onchange="recalc_onclick('interest')" size='1' data-sheet='1' data-row='17' data-col='3'> <option data-value='s:.00' selected >.00</option> <option data-value='s:.01' >.01</option> <option data-value='s:.02' >.02</option> <option data-value='s:.03' >.03</option> <option data-value='s:.04' >.04</option> <option data-value='s:.05' >.05</option> <option data-value='s:.06' >.06</option> <option data-value='s:.07' >.07</option> <option data-value='s:.08' >.08</option> <option data-value='s:.09' >.09</option> <option data-value='s:.10' >.10</option> </select> </fieldset> </td> <td class='ee123' style='height:13pt;'><div style='overflow:hidden'></div></td> <td class='ee103' style='height:13pt;'><div style='overflow:hidden'></div></td> </tr> <tr style='height:13pt'> <td class='ee109' style='height:13pt;' colspan = '5'> Choose your estimated interest rate (0% financing is available) </td> </tr> </table> </div> </div> </form> </body> <script type="text/javascript"> var co = new Object; function recalc_onclick(ctl) { if (true) { co['price']=eegetdropdownvalue(document.getElementsByName('price'));co['insurance']=eegetdropdownvalue(document.getElementsByName('insurance'));co['fsa']=eegetdropdownvalue(document.getElementsByName('fsa'));co['down']=eegetdropdownvalue(document.getElementsByName('down'));co['Period']=eegetdropdownvalue(document.getElementsByName('Period'));co['interest']=eegetdropdownvalue(document.getElementsByName('interest'));calc(co);if(typeof ls_ !== 'undefined'){ssc.liveshare.coUpdate(co,ctl);}document.getElementById('XLEW_1_9_3').value=eedatefmt(fmtdate1,co['XLEW_1_9_3']);document.getElementById('XLEW_1_13_3').value=eedatefmt(fmtdate1,co['XLEW_1_13_3']); };}; var arr1xC3C7=new Array(5);for(var ii=0;ii<5;ii++){arr1xC3C7[ii]=new Array(1);for(var jj=0;jj<1;jj++){arr1xC3C7[ii][jj]=0}};var eecm1=new Array(new Array(arr1xC3C7,4,0,4,0),new Array(arr1xC3C7,2,0,2,0),new Array(arr1xC3C7,0,0,0,0));function calc(data){var c1C17=data['interest'];var c1C15=data['Period'];arr1xC3C7[4][0]=data['down'];arr1xC3C7[2][0]=data['fsa'];arr1xC3C7[0][0]=data['insurance'];var c1C1=data['price'];arr1xC3C7[1][0]=(0);arr1xC3C7[3][0]=(0);var c1C9=(((c1C1)-(sumgeneral(3,0,0,eecm1))));var c1C13=(((pmt((v2n(c1C17)),(c1C15),(c1C9),(0),(0)))*(-1)));data['XLEW_1_13_3']=c1C13;data['XLEW_1_9_3']=c1C9;}; function postcode() { }; function TriggerOnchange(hiddenId) { var e = jQuery.Event('change'); $('#'+hiddenId).trigger(e); } var eeisus=1;var eetrue="TRUE";var eefalse="FALSE";var eedec=".";var eeth=",";var eedecreg=new RegExp("\\.","g");var eethreg=new RegExp(",","g");var eecurrencyreg=new RegExp("[$]","g");var eepercentreg=new RegExp("%","g"); var fmtdaynamesshort=new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); var fmtdaynameslong=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); var fmtmonthnamesshort=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); var fmtmonthnameslong=new Array("January","February","March","April","May","June","July","August","September","October","November","December"); var fmtstrings=new Array("$"); var fmtdate1=[32,25,0]; function eegetdropdownvalue(ctl) { var control = $(ctl); var tag = control.get(0).tagName; var val; if (tag == 'INPUT') { val = $('input[name=' + control.attr('name') + ']:checked').attr('data-value'); } else if( tag == 'SELECT'){ val = control.find(':selected').attr('data-value'); /* data-value contains type and value, eg. n:100 (number), b:true (bool), s:ram (string) */ } else { val = control.val(); } return (val == undefined) ? 0 : eeunpackdropdownvalue(val); } function myIsNaN(x){return(isNaN(x)||(typeof x=='number'&&!isFinite(x)));}; function mod(n,d){return n-d*Math.floor(n/d);}; function round(n,nd){if(isFinite(n)&&isFinite(nd)){var sign_n=(n<0)?-1:1;var abs_n=Math.abs(n);var factor=Math.pow(10,nd);return sign_n*Math.round(abs_n*factor)/factor;}else{return NaN;}}; function sum2(arr,rt,rb){var sum=0;for(var ii=rt;ii<=rb;ii++){sum+=arr[ii]};return sum};function sum3(arr,rt,ct,rb,cb){var sum=0;for(var ii=rt;ii<=rb;ii++){for(var jj=ct;jj<=cb;jj++){sum+=arr[ii][jj]}};return sum}; function sumgeneral(cnt,vsum,vcnt,x){var sum=vsum;for(var ii=0;ii<x.length;ii++){sum+=sum3(x[ii][0],x[ii][1],x[ii][2],x[ii][3],x[ii][4]);};return sum;}; function s2n(str){str=String(str).replace(eedecreg,".");str=str.replace(eethreg,"");str=str.replace(eecurrencyreg,"");var res=parseFloat(str);if(myIsNaN(res))res=0;if(str.search(eepercentreg)>=0)res=res/100;return res;} function v2n(v){switch(typeof v){case "number":return v;case "string":return s2n(v);case "boolean":return v?1:0;case "object":if(v.constructor==Number){return v;};if(v.constructor==String){return s2n(v);};if(v.constructor==Boolean){return v?1:0;};return Number.NaN;default:return Number.NaN;}}; var near0RegExp=new RegExp("[.](.*0000000|.*9999999)");function eedisplayFloat(x){if(myIsNaN(x)){return Number.NaN;}else{var str=String(x);if(near0RegExp.test(str)){x=round(x,8);str=String(x);}return str.replace(/\./g,eedec);}}; function eedisplayScientific(x,nd){if(myIsNaN(x)){return Number.NaN;}else{var str=String(x.toExponential(nd));return str.replace(/\./g,eedec);}}; function eedisplayFloatND(x,nd){if(myIsNaN(x)){return Number.NaN;}else{var res=round(x,nd);if(nd>0){var str=String(res);if(str.indexOf('e')!=-1)return str;if(str.indexOf('E')!=-1)return str;var parts=str.split('.');if(parts.length<2){var decimals=('00000000000000').substring(0,nd);return(parts[0]).toString()+eedec+decimals;}else{var decimals=((parts[1]).toString()+'00000000000000').substring(0,nd);return(parts[0]).toString()+eedec+decimals;}}else{return res;}}}; function eedisplayPercent(x){if(myIsNaN(x)){return Number.NaN;}else{return eedisplayFloat(x*100)+'%';}}; function eedisplayPercentND(x,nd){if(myIsNaN(x)){return Number.NaN;}else{return eedisplayFloatND(x*100,nd)+'%';}} function eedisplayFloatNDTh(x,nd){if(myIsNaN(x)){return Number.NaN;}else{var res=round(x,nd);if(nd>0){var str=String(res);if(str.indexOf('e')!=-1)return str;if(str.indexOf('E')!=-1)return str;var parts=str.split('.');var res2=eeinsertThousand(parts[0].toString());if(parts.length<2){var decimals=('00000000000000').substring(0,nd);return(res2+eedec+decimals);}else{var decimals=((parts[1]).toString()+'00000000000000').substring(0,nd);return(res2+eedec+decimals);}}else{return(eeinsertThousand(res.toString()));}}}; function eedisplayPercentNDTh(x,nd){if(myIsNaN(x)){return Number.NaN;}else{return eedisplayFloatNDTh(x*100,nd)+'%';}} function eeinsertThousand(whole){if(whole==""||whole.indexOf("e")>=0){return whole;}else{var minus_sign="";if(whole.charAt(0)=="-"){minus_sign="-";whole=whole.substring(1);};var res="";var str_length=whole.length-1;for(var ii=0;ii<=str_length;ii++){if(ii>0&&ii%3==0){res=eeth+res;};res=whole.charAt(str_length-ii)+res;};return minus_sign+res;}}; function eedatefmt(fmt,x){if(!isFinite(x))return Number.NaN;var padding=0;var tmp=0;var res="";var len=fmt.length;for(var ii=0;ii<len;ii++){if(fmt[ii]>31){res+=fmtstrings[fmt[ii]-32];}else{switch(fmt[ii]){case 2:res+=eemonth(x);break;case 3:tmp=eemonth(x);if(tmp<10){res+="0";};res+=tmp;break;case 4:res+=fmtmonthnamesshort[eemonth(x)-1];break;case 5:res+=fmtmonthnameslong[eemonth(x)-1];break;case 6:res+=eeday(x);break;case 7:tmp=eeday(x);if(tmp<10){res+="0";};res+=tmp;break;case 8:res+=fmtdaynamesshort[weekday(x,1)-1];break;case 9:res+=fmtdaynameslong[weekday(x,1)-1];break;case 10:tmp=year(x)%100;if(tmp<10){res+="0";};res+=tmp;break;case 11:res+=year(x);break;case 12:res+=hour(x);break;case 13:tmp=hour(x);if(tmp<10){res+="0";};res+=tmp;break;case 14:tmp=hour(x)%12;if(tmp==0){res+="12";}else{res+=tmp%12;};break;case 15:tmp=hour(x)%12;if(tmp==0){res+="12";}else{if(tmp<10){res+="0";};res+=tmp;};break;case 16:res+=minute(x);break;case 17:tmp=minute(x);if(tmp<10){res+="0";};res+=tmp;break;case 18:res+=second(x);break;case 19:tmp=second(x); if(tmp<10){res+="0";};res+=tmp;break;case 21:case 22:if(hour(x)<12){res+="AM";}else{res+="PM";};break;case 23:res+=eedisplayFloat(x);break;case 24:tmp=fmt[++ii];res+=eedisplayFloatND(x,tmp);break;case 25:tmp=fmt[++ii];res+=eedisplayFloatNDTh(x,tmp);break;case 26:res+=eedisplayPercent(x);break;case 27:tmp=fmt[++ii];res+=eedisplayPercentND(x,tmp);break;case 28:tmp=fmt[++ii];res+=eedisplayPercentNDTh(x,tmp);break;case 29:tmp=fmt[++ii];res+=eedisplayScientific(x,tmp);break;case 30:padding=fmt[++ii];tmp=hour(x)+Math.floor(x)*24;tmp=tmp.toString();if(tmp.length<padding){res+=('00000000000000').substring(0,padding-tmp.length);}res+=tmp;break;};};};return res;}; function eeunpackdropdownvalue(val) {if (val.length<2) return val;var typ = val.substring(0, 2);var data = val.substring(2);if (typ == 'b:') return data.toLowerCase() == 'true';if (typ == 'n:') return parseFloat(data);if (typ == 's:') return data;return val; }; function leap_gregorian(year){return((year%4)==0)&&(!(((year%100)==0)&&((year%400)!=0)));}var GREGORIAN_EPOCH=1721425;function gregorian_to_jd(year,month,day){return(GREGORIAN_EPOCH-0)+(365*(year-1))+Math.floor((year-1)/4)+(-Math.floor((year-1)/100))+Math.floor((year-1)/400)+Math.floor((((367*month)-362)/12)+((month<=2)?0:(leap_gregorian(year)?-1:-2))+day);}function jd_to_gregorian(jd){var wjd,depoch,quadricent,dqc,cent,dcent,quad,dquad,yindex,year,yearday,leapadj;wjd=Math.floor(jd);depoch=wjd-GREGORIAN_EPOCH-1;quadricent=Math.floor(depoch/146097);dqc=mod(depoch,146097);cent=Math.floor(dqc/36524);dcent=mod(dqc,36524);quad=Math.floor(dcent/1461);dquad=mod(dcent,1461);yindex=Math.floor(dquad/365);year=(quadricent*400)+(cent*100)+(quad*4)+yindex;if(!((cent==4)||(yindex==4))){year++;}yearday=wjd-gregorian_to_jd(year,1,1);leapadj=((wjd<gregorian_to_jd(year,3,1))?0:(leap_gregorian(year)?1:2));var month=Math.floor((((yearday+leapadj)*12)+373)/367);var day=(wjd-gregorian_to_jd(year,month,1))+1; return new Array(year,month,day);} function eeday(serial_number){if(!isFinite(serial_number))return Number.NaN;if(serial_number<1){return 0;}if(serial_number>60)serial_number--;var res=jd_to_gregorian(serial_number+2415020);return res[2];}; function hour(serial_number){if(!isFinite(serial_number))return Number.NaN;var res=Math.floor((serial_number-Math.floor(serial_number))*86400+0.5);return Math.floor(res/3600);} function minute(serial_number){if(!isFinite(serial_number))return Number.NaN;var res=Math.floor((serial_number-Math.floor(serial_number))*86400+0.5);return Math.floor(res/60)%60;}; function eemonth(serial_number){if(!isFinite(serial_number))return Number.NaN;if(serial_number<1){return 1;}if(serial_number>60)serial_number--;var res=jd_to_gregorian(serial_number+2415020);return res[1];}; function second(serial_number){if(!isFinite(serial_number))return Number.NaN;var res=Math.floor((serial_number-Math.floor(serial_number))*86400+0.5);return res%60;}; function weekday(serial_number,return_type){if(!isFinite(return_type)||!isFinite(serial_number))return Number.NaN;if(return_type<1||return_type>3)return Number.NaN;var res=Math.floor(serial_number+6)%7;switch(Math.floor(return_type)){case 1:return res+1;case 2:return(res+6)%7+1;case 3:return(res+6)%7;};return "hej";}; function year(serial_number){if(!isFinite(serial_number))return Number.NaN;if(serial_number<1){return 1900;}if(serial_number>60)serial_number--;var res=jd_to_gregorian(serial_number+2415020);return res[0];}; function pmt(rate,nper,pv,fv,type){if(rate==0){return-pv/nper;}else{var pvif=Math.pow(1+rate,nper);var fvifa=(Math.pow(1+rate,nper)-1)/rate;var type1=(type!=0)?1:0;return((-pv*pvif-fv)/((1+rate*type1)*fvifa));}}; function eequerystring(){ var variable,key,value,ii,querystring,variables;querystring=document.location.search; if(querystring.length>0){ variables=querystring.substring(1).split('&'); for(ii=0;ii<variables.length;ii++){ variable=variables[ii].split('='); key=unescape(variable[0]) value=unescape(variable[1]); if(document.formc[key]!=null) document.formc[key].value=value; } } } function LoadFromQueryString(){ eequerystring(); }; function navigate(e){var t=e.keyCode|e.which;if(t!=13&&t!=40&&t!=38)return;var n=$(e.target||e.srcElement);if(n.is("textarea"))return;if(n.is("select")&&(t==38||t==40))return;var r=parseInt(n.attr("data-sheet"),10);var i=parseInt(n.attr("data-row"),10);var s=parseInt(n.attr("data-col"),10);var o=false;var u=$("#sheet-"+r+"");var a='input:not(":hidden,:button,[readonly=readonly],:disabled"),select,a.ui-slider-handle,textarea';var f=i+1;var l=i-1;var c=f;var h=l;while(t==40&&f<=c||t==38&&l>=h){var p=u.find(a).filter("[data-sheet="+r+"][data-row="+(t==38?l:f)+"][data-col="+s+"]");if(p.length>0){p.focus();if(p.is("input:text, textarea"))p.select();o=true;break}else{var d;if(u.data("col"+s)==undefined){d=u.find(a).filter("[data-sheet="+r+"][data-col="+s+"]").map(function(){return parseInt($(this).attr("data-row"),10)}).toArray();u.data("col"+s,d)}else{d=u.data("col"+s)}c=d[d.length-1];h=d[0];var v="indexOf"in Array.prototype?d.indexOf(i):$.inArray(i,d);if(t==40&&i<c){f=d[v+1]}else if(t==38&&i>h){l=d[v-1]}else{break}}}if(!o){var m;if(t==38)m=parseInt(n.attr("tabindex"),10)-1;else m=parseInt(n.attr("tabindex"),10)+1;var g=u.find(a).filter("[data-sheet][data-row][data-col][tabindex="+m+"]");if(g.length>0){if(g.is(":radio"))g=g.filter(":checked");if(g.length>0){g.focus();if(g.is("input:text, textarea"))g.select()}}else{var y=u.find(a).filter("[data-sheet][data-row][data-col][tabindex]:first");y.focus();if(y.is("input:text, textarea"))y.select()}}e.preventDefault?e.preventDefault():e.returnValue=false} var ssccf1n = function(op,id,css,data1){ switch(op) { case 'image': $('#' + id).attr('src',$('#'+data1).attr('src')); break; } }; var ssccf4n = function(op,id,colors,data1,data2,data3,data4){ switch(op) { } }; </script> </html>Topic: Full hight doesn't work
Hi Kriesi-Team,
together with your support I added the following:
#galerie .container {
width: 100% !important;
height: auto !important;
margin-top: -47px;
}Now I’m having 2 issues here:
1. Do I really have to add “margin-top: -47px;” as I would like to keep it 100% responsive without any absolute px-values.
2. In the gallery it first looks good, but as soon as I scroll down I start to see a line at the bottom of the header (I’m testing it with Chrome)Topic: 3 small issues
• magazine version of the blog on the home page, is there a way we can show first few words of the story

• in the blog page, is there a way we can show 3 lines of the story instead of only one?

• for some reason only home page and “about” show the red underline when you go to the page. the rest stay blank
P.S. i have few custom CSS maybe one of them is conflicting with the menu underline
————————————————————————
img.avia-builder-el-1 { margin-top: -51px!important; width: 1210px; }#footer {
padding: 0; }.wpcf7 input[type=text] {
width:180px;
margin-bottom:5px;
font-size:11px;
}.wpcf7 textarea {
height:40px;
margin-bottom:5px;
font-size:11px;
}#top #wrap_all .av-social-link-linkedin a {
color: #fff;
background-color: #419cca;
}
#top #wrap_all .av-social-link-twitter a {
color: #fff;
background-color: #737272;
}
#top #wrap_all .av-social-link-instagram a {
color: #fff;
background-color: #737272;
}
#top #wrap_all .av-social-link-gplus a {
color: #fff;
background-color: #737272;
}
#top #wrap_all .av-social-link-facebook a {
color: #fff;
background-color: #737272;
}
#top #wrap_all .av-social-link-vimeo a {
color: #fff;
background-color: #737272;
}
#top #wrap_all .av-social-link-soundcloud a {
color: #fff;
background-color: #737272;
}
#top .social_bookmarks li a { width: 30px; line-height: 30px; min-height: 30px; }
#top .social_bookmarks li { width: 40px; }.html_header_top.html_bottom_nav_header .main_menu>div, .html_header_top.html_bottom_nav_header .main_menu ul:first-child {
width: auto;
float: right;
}.avia-menu .menu li a{
border: 0 !important;
}#header_main {
border-bottom: none;
}.logo {
top: 16px;
}
.header-scrolled .logo{
top: 0;
}.tab.widget_tab_comments.tab_counter_2 {
display: none !important;
}.av-magazine-thumbnail {
display: none;
}a.slide-image {
display: none !important;
}
————————————————————————


