Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1295830
    Wardo_SD
    Participant

    Hello!

    We’ve recently imported a website to a new domain and are having some issues with the X Child Theme.

    Whenever the X child theme is active on the site the site’s footer will not display on any page although it is enabled. There is also an additional scroll bar on the site’s product pages.

    Once we switch back to the parent X theme file these issues disappear and the site functions as normal. Everything on the site is running on the latest version.

    In the hundreds of X theme sites we’ve created, we’ve never ran into this issue. Can you please guide us in the correct direction to troubleshoot. All the needed information for this website is in the reply below.

    Thank you so much and cheers!

    #1295831
    Wardo_SD
    Participant
    This reply has been marked as private.
    #1295915
    Joao
    Moderator

    Hi There,

    Is this a fresh Child Theme or have you made changes to it? If you haven´t made any changes please delete and install a new one´s.

    If that does not solve, please provide your FTP credentials.

    Thanks

    Joao

    #1298325
    Wardo_SD
    Participant
    This reply has been marked as private.
    #1298939
    Lely
    Moderator

    Hello There,

    Upon checking the footer code is there on your page source code. See this:http://screencast-o-matic.com/watch/cDlYnDQOuo. So there might be some structure issues that was causing this. Digging further, I have notice that the footer code is inside the header widget area. This means that your header widget code has structure issues. There missing closing div.

    From this:

    		<div class="module-inner">
    				<!--  Beginning Module : Acajoom News 5.1.0   -->
    
    				<script language="javascript" type="text/javascript">
    				<!--
    					function submitacajoommod1(formname) {
    						var form = eval('document.'+formname);var place = form.email.value.indexOf("@",1);var point = form.email.value.indexOf(".",place+1);
    						if (form.name.value == "" || form.name.value == "Name") {
    							alert( "Please enter your name." );return false;
    						} else
    				 if (form.email.value == "" || form.email.value == "E-mail") {alert( "Please enter a valid e-mail address." );return false;
    							} else {if ((place > -1)&&(form.email.value.length >2)&&(point > 1)){form.submit();return true;
    										} else {alert( "Please enter a valid e-mail address." );return false;}}}
    				//-->
    				</script><form action="http://aloharv.wpengine.com/acajoom/" method="post" name="modacajoomForm1">
    			<div class="" ><input type="hidden"  value="1" name="subscribed[1]" />
    <input type="hidden" name="sub_list_id[1]" value="1" />
    <input type="hidden" name="acc_level[1]" value="0" /><input id="wz_11" type="text" size="10" value="Name" class="inputbox" name="name" onblur="if(this.value=='') this.value='Name';" onfocus="if(this.value=='Name') this.value='' ; " />
    <br /> 
     <input id="wz_12" type="text" size="10" value="E-mail" class="inputbox" name="email" onblur="if(this.value=='') this.value='E-mail';" onfocus="if(this.value=='E-mail') this.value='' ; " />
    <br /> 
     <input id="wz_2" type="checkbox" class="inputbox" value="1" name="receive_html"  checked="checked"  /> Receive HTML?
    <br /> 
     <input id="aca_22" type="button" value="Signup for News & Specials" class="button" name="Signup for News & Specials" onclick="return submitacajoommod1('modacajoomForm1');" />
    <br /> 
     
    					</div>

    I have update that part to this:

    
    		<div class="module-inner">
    				<!--  Beginning Module : Acajoom News 5.1.0   -->
    
    				<script language="javascript" type="text/javascript">
    				<!--
    					function submitacajoommod1(formname) {
    						var form = eval('document.'+formname);var place = form.email.value.indexOf("@",1);var point = form.email.value.indexOf(".",place+1);
    						if (form.name.value == "" || form.name.value == "Name") {
    							alert( "Please enter your name." );return false;
    						} else
    				 if (form.email.value == "" || form.email.value == "E-mail") {alert( "Please enter a valid e-mail address." );return false;
    							} else {if ((place > -1)&&(form.email.value.length >2)&&(point > 1)){form.submit();return true;
    										} else {alert( "Please enter a valid e-mail address." );return false;}}}
    				//-->
    				</script><form action="http://aloharv.wpengine.com/acajoom/" method="post" name="modacajoomForm1">
    			<div class="" ><input type="hidden"  value="1" name="subscribed[1]" />
    <input type="hidden" name="sub_list_id[1]" value="1" />
    <input type="hidden" name="acc_level[1]" value="0" /><input id="wz_11" type="text" size="10" value="Name" class="inputbox" name="name" onblur="if(this.value=='') this.value='Name';" onfocus="if(this.value=='Name') this.value='' ; " />
    <br /> 
     <input id="wz_12" type="text" size="10" value="E-mail" class="inputbox" name="email" onblur="if(this.value=='') this.value='E-mail';" onfocus="if(this.value=='E-mail') this.value='' ; " />
    <br /> 
     <input id="wz_2" type="checkbox" class="inputbox" value="1" name="receive_html"  checked="checked"  /> Receive HTML?
    <br /> 
     <input id="aca_22" type="button" value="Signup for News & Specials" class="button" name="Signup for News & Specials" onclick="return submitacajoommod1('modacajoomForm1');" />
    <br /> 
     
    				</div></form></div>
    

    You can see that I have added </form></div> at the end of the code. Closing tag of your form and closing tag of the div from the very start is missing. That was the cause of the issue. Footer content is now showing as expected.

    Cheers!

    #1299426
    Wardo_SD
    Participant

    Hi Lely!

    Thank you so much for your assistance! You’re a project saver!

    With that, I was curious about this code. Is the code you edited normally found in X theme? I do not remember ever adding this to the website. I am thinking perhaps it was our client that added it?

    Where exactly is this code located? Sorry for the questions I’m just very curious.

    Thank you again!

    #1299475
    Christian
    Moderator

    It is a custom code in your Header 1 Widget Area (see attachment).

    Thanks.

    #1300595
    Wardo_SD
    Participant

    Thank you so much!

    #1300618
    Rahul
    Moderator

    You’re most welcome!

    Let us know if we can help with anything else.

    Thanks for choosing the X-theme.

  • <script> jQuery(function($){ $("#no-reply-1295830 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>