- This topic has 6 replies, 2 voices, and was last updated 5 years, 4 months ago by ScottTalbot.
-
AuthorPosts
-
August 5, 2019 at 9:24 am #178802ScottTalbotParticipant
Hi,
I decided to do a theme reset, but for some reason it has disabled the Header!?
When I inspect the source it says the following: Failed to load resource: the server responded with a status of 404 (Not Found). Can you suggest any way of resolving this, or will I need to delete the theme and start again?
Thanks
Scott
August 5, 2019 at 9:31 am #178803ScottTalbotParticipantI’ve copied the source code for the Head, in the hope it will shed some light…
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<link rel=”profile” href=”http://gmpg.org/xfn/11″>
<script>(function(html){html.className = html.className.replace(/\bno-js\b/,’js’)})(document.documentElement);</script>
<title>Home – Guiding Light</title>
<link rel=’dns-prefetch’ href=’//fonts.googleapis.com’ />
<link rel=’dns-prefetch’ href=’//s.w.org’ />
<link rel=”alternate” type=”application/rss+xml” title=”Guiding Light » Feed” href=”http://localhost/scotttalbotphotography/feed/” />
<link rel=”alternate” type=”application/rss+xml” title=”Guiding Light » Comments Feed” href=”http://localhost/scotttalbotphotography/comments/feed/” />
<script type=”text/javascript”>
window._wpemojiSettings = {“baseUrl”:”https:\/\/s.w.org\/images\/core\/emoji\/12.0.0-1\/72×72\/”,”ext”:”.png”,”svgUrl”:”https:\/\/s.w.org\/images\/core\/emoji\/12.0.0-1\/svg\/”,”svgExt”:”.svg”,”source”:{“concatemoji”:”http:\/\/localhost\/scotttalbotphotography\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.2.2″}};
!function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline=”top”,l.font=”600 32px Arial”,a){case”flag”:return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case”emoji”:return b=d([55357,56424,55356,57342,8205,55358,56605,8205,55357,56424,55356,57340],[55357,56424,55356,57342,8203,55358,56605,8203,55357,56424,55356,57340]),!b}return!1}function f(a){var c=b.createElement(“script”);c.src=a,c.defer=c.type=”text/javascript”,b.getElementsByTagName(“head”)[0].appendChild(c)}var g,h,i,j,k=b.createElement(“canvas”),l=k.getContext&&k.getContext(“2d”);for(j=Array(“flag”,”emoji”),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],”flag”!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener(“DOMContentLoaded”,h,!1),a.addEventListener(“load”,h,!1)):(a.attachEvent(“onload”,h),b.attachEvent(“onreadystatechange”,function(){“complete”===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings);
</script>
<style type=”text/css”>
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>
<link rel=’stylesheet’ id=’dashicons-css’ href=’http://localhost/scotttalbotphotography/wp-includes/css/dashicons.min.css?ver=5.2.2′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’admin-bar-css’ href=’http://localhost/scotttalbotphotography/wp-includes/css/admin-bar.min.css?ver=5.2.2′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’wp-block-library-css’ href=’http://localhost/scotttalbotphotography/wp-includes/css/dist/block-library/style.min.css?ver=5.2.2′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’wp-block-library-theme-css’ href=’http://localhost/scotttalbotphotography/wp-includes/css/dist/block-library/theme.min.css?ver=5.2.2′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’contact-form-7-css’ href=’http://localhost/scotttalbotphotography/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.0.3′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’bold-photography-fonts-css’ href=’https://fonts.googleapis.com/css?family=Open+Sans%3A200%2C300%2C400%2C500%2C600%2C700%2C400italic%2C700italic%7CJosefin+Sans%3A200%2C300%2C400%2C500%2C600%2C700%2C400italic%2C700italic%7COswald%3A200%2C300%2C400%2C500%2C600%2C700%2C400italic%2C700italic&subset=latin%2Clatin-ext’ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’bold-photography-style-css’ href=’http://localhost/scotttalbotphotography/wp-content/themes/bold-photography/style.css?ver=5.2.2′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’bold-photography-block-style-css’ href=’http://localhost/scotttalbotphotography/wp-content/themes/bold-photography/assets/css/blocks.css?ver=1.0′ type=’text/css’ media=’all’ />
<script type=’text/javascript’ src=’http://localhost/scotttalbotphotography/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp’></script>
<script type=’text/javascript’ src=’http://localhost/scotttalbotphotography/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1′></script>
<!–[if lt IE 9]>
<script type=’text/javascript’ src=’http://localhost/scotttalbotphotography/wp-content/themes/bold-photography/assets/js/html5.min.js?ver=3.7.3′></script>
<![endif]–>
<link rel=’https://api.w.org/’ href=’http://localhost/scotttalbotphotography/wp-json/’ />
<link rel=”EditURI” type=”application/rsd+xml” title=”RSD” href=”http://localhost/scotttalbotphotography/xmlrpc.php?rsd” />
<link rel=”wlwmanifest” type=”application/wlwmanifest+xml” href=”http://localhost/scotttalbotphotography/wp-includes/wlwmanifest.xml” />
<meta name=”generator” content=”WordPress 5.2.2″ />
<link rel=”canonical” href=”http://localhost/scotttalbotphotography/home/” />
<link rel=’shortlink’ href=’http://localhost/scotttalbotphotography/?p=162′ />
<link rel=”alternate” type=”application/json+oembed” href=”http://localhost/scotttalbotphotography/wp-json/oembed/1.0/embed?url=http%3A%2F%2Flocalhost%2Fscotttalbotphotography%2Fhome%2F” />
<link rel=”alternate” type=”text/xml+oembed” href=”http://localhost/scotttalbotphotography/wp-json/oembed/1.0/embed?url=http%3A%2F%2Flocalhost%2Fscotttalbotphotography%2Fhome%2F&format=xml” />
<style type=”text/css”>.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
<style type=”text/css” media=”print”>#wpadminbar { display:none; }</style>
<style type=”text/css” media=”screen”>
html { margin-top: 32px !important; }
* html body { margin-top: 32px !important; }
@media screen and ( max-width: 782px ) {
html { margin-top: 46px !important; }
* html body { margin-top: 46px !important; }
}
</style>
</head>August 5, 2019 at 11:52 pm #178828SkandhaParticipant@scotttalbot: Hello Scott,
Can you please post in your site URL so that I can see how it looks after reset.Kind Regards,
SkandhaAugust 6, 2019 at 6:36 am #178858ScottTalbotParticipantHi Skandha,
The site is hosted locally. Does the code not tell you how the site looks? It looks exactly how it would look without a header. No picture, no site title etc.
Below is a screenshot:
<https://www.dropbox.com/s/47w9l41cy57o0u9/Screenshot%202019-08-06%2011.34.11.png?dl=0″ alt=”Screenshot” />
August 6, 2019 at 10:43 am #178873ScottTalbotParticipantI think this has something to do with the Header overlay. I ended up activating another theme, then re-activating this one. I then changed the header overlay to 100, then brought it back down and the header appeared.
August 8, 2019 at 5:18 am #179023SkandhaParticipant@scotttalbot: Hello Scott,
Are you still having this issue?Kind Regards,
SkandhaAugust 8, 2019 at 10:57 am #179069ScottTalbotParticipantHi Skandha,
Not since re-activating the theme.
Many thanks
Scott
-
AuthorPosts
- The topic ‘Theme Reset’ is closed to new replies.