<p>Finally figured this out! GoDaddy was adding some random JavaScript to my page because my client had purchased a "Search Engine Visibility" package from them. When I turned off that package inside GoDaddy, my page worked as expected.</p>

CC BY-SA 4.0
2019-03-08T17:10:30.960Z
2019-03-08T17:10:30.960Z
Jon Weedin
<p>Your <code>&lt;div class="cell small-12 medium-7 large-5 circle-container"&gt;</code> is well displayed in the source code, but not in the inspector; Try to remove and/or fix what interfere with this piece of HTML (JS?).</p>

<p>Edit: If I disable JavaScript on my browser, everything is fine on your site.</p>

CC BY-SA 4.0
2019-02-07T17:28:41.903Z
It appears that **jshint** (the last `<script>` tag in the `<head>`) is being injected into my site, but that's not in my template. I'm only loading Google Analytics, jquery, and a custom app.js; when I removed those three `<script>` tags from my _layout, it still had the same issue. Any idea on how to remove this random `<script>` that shouldn't be on my site?
Jon Weedin
CC BY-SA 4.0
2019-02-08T14:38:09.307Z
You have no control on that JS? Is it hooked by some Craft tag, try to put your JS in the footer (or remove the `{{ head() }}` function for test purpose.
Maxime Lafrenière
CC BY-SA 4.0
2019-02-06T21:44:41.740Z
2019-02-07T02:07:57.953Z
2019-02-07T02:07:57.953Z
Maxime Lafrenière
<p>One of my clients' sites is <a href="https://anovaworks.com/" rel="nofollow noreferrer">https://anovaworks.com/</a>. The second section on the homepage looks like this:
<a href="https://i.sstatic.net/7wpax.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7wpax.png" alt="https://anovaworks.com/"></a></p>

<p>There's some small black text in the top left of the image that's coming from a matrix field.</p>

<p>It's supposed to look like this, and if you go to <a href="https://anovaworks.com/index.php" rel="nofollow noreferrer">https://anovaworks.com/index.php</a> or <a href="https://anovaworks.com/?" rel="nofollow noreferrer">https://anovaworks.com/?</a>, it looks correct:
<a href="https://i.sstatic.net/FyogU.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/FyogU.png" alt="https://anovaworks.com/index.php"></a></p>

<p>I cannot figure out what's causing this. Anyone have any ideas?</p>

<p>Template code:</p>

<pre><code>&lt;section class="homepage-tagline"&gt;
  &lt;div class="grid-container"&gt;
    &lt;div class="grid-x"&gt;
      &lt;div class="cell small-12 medium-7 large-5 circle-container"&gt;
        {# blue circle svg #}
        {% for matrix in entry.homepageTagline.all() %}
          &lt;h2&gt;{{ matrix.firstLine}}&lt;br&gt;{{ matrix.secondLine }}&lt;/h2&gt;
        {% endfor %}
          &lt;a href="{{ entry.homepageTaglineButtonLink.one().url }}"&gt;&lt;button class="button"&gt;{{ entry.homepageTaglineButtonText }}&lt;/button&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/section&gt;
</code></pre>

CC BY-SA 4.0
2019-02-06T17:29:44.763Z
Not much info to go on here, can you share the template code for that div?
Roi Agneta
CC BY-SA 4.0
2019-02-06T18:31:05.013Z
The container <div class="cell small-12 medium-7 large-5 circle-container"> is not showing up in the case where the circle does not appear, suggesting that there is some kind of routing issue and multiple templates. Make sure there are no routes and that Settings > Section specifies the correct path to your template
Roi Agneta
CC BY-SA 4.0
2019-02-06T18:48:37.907Z
I don't have any routes, and the section is using the correct template.
Jon Weedin
CC BY-SA 4.0
2019-02-06T19:45:20.260Z
There is definitely something going on in terms of the template that is being loaded. The <head> section of the page is different for the version that works. Which version of Craft are you running?
Roi Agneta
CC BY-SA 4.0
2019-02-06T21:39:40.513Z
I'm on Craft 3.1.8.
Jon Weedin
CC BY-SA 4.0
2019-02-06T21:41:43.853Z
If you remove the SVG like you did in your question, is it all ok? The error seems to come before your {# comment #} and since the only thing after `<div class="cell small-12 medium-7 large-5 circle-container">` is your SVG; it may lead to something.
Maxime Lafrenière
CC BY-SA 4.0
2019-02-06T22:24:09.323Z
@MaximeLafrenière I changed the SVG into an `<img>`, and it's still having the issue at https://anovaworks.com/, but the new `<img>` is showing just fine at https://anovaworks.com/index.php
Jon Weedin
CC BY-SA 4.0
2019-02-07T00:22:57.150Z
Is the template code you provided verbatim, or are there some includes in the actual template? The strange thing is the HTML on the page that works shows the matrix content inside a div with a class of 'circle content', which does not appear in the code you printed above. That div, and it's parent div.circle, do not appear in the HTML for a page that exhibits the problem, so there are either two different templates or something happening with includes.
Roi Agneta
CC BY-SA 4.0
2019-02-07T02:06:40.327Z
@RoiAgneta everything is in the source code (dont look at the inspector preview, but the code itself.
Maxime Lafrenière
CC BY-SA 4.0
2019-02-07T02:06:43.543Z
@JonWeedin look at my answer, its really your javascript that cause your issue.
Maxime Lafrenière
<craft3>
Page ignoring template
# Page ignoring template

(Asked by: username_0 on 2019-02-06)

One of my clients' sites is https://anovaworks.com/. The second section on the homepage looks like this:

There's some small black text in the top left of the image that's coming from a matrix field.
It's supposed to look like this, and if you go to https://anovaworks.com/index.php or https://anovaworks.com/?, it looks correct:

I cannot figure out what's causing this. Anyone have any ideas?
Template code:

  
    
      
        {# blue circle svg #}
        {% for matrix in entry.homepageTagline.all() %}
          {{ matrix.firstLine}}{{ matrix.secondLine }}
        {% endfor %}
          {{ entry.homepageTaglineButtonText }}

**Tags:** craft3

> **Comments:**
> **username_1**: Not much info to go on here, can you share the template code for that div?  
> **username_1**: The container <div class="cell small-12 medium-7 large-5 circle-container"> is not showing up in the case where the circle does not appear, suggesting that there is some kind of routing issue and multiple templates. Make sure there are no routes and that Settings > Section specifies the correct path to your template  
> **username_0**: I don't have any routes, and the section is using the correct template.  
> **username_1**: There is definitely something going on in terms of the template that is being loaded. The <head> section of the page is different for the version that works. Which version of Craft are you running?  
> **username_0**: I'm on Craft 3.1.8.  
> **username_2**: If you remove the SVG like you did in your question, is it all ok? The error seems to come before your {# comment #} and since the only thing after `<div class="cell small-12 medium-7 large-5 circle-container">` is your SVG; it may lead to something.  
> **username_0**: @MaximeLafrenière I changed the SVG into an `<img>`, and it's still having the issue at https://anovaworks.com/, but the new `<img>` is showing just fine at https://anovaworks.com/index.php  
> **username_1**: Is the template code you provided verbatim, or are there some includes in the actual template? The strange thing is the HTML on the page that works shows the matrix content inside a div with a class of 'circle content', which does not appear in the code you printed above. That div, and it's parent div.circle, do not appear in the HTML for a page that exhibits the problem, so there are either two different templates or something happening with includes.  
> **username_2**: @RoiAgneta everything is in the source code (dont look at the inspector preview, but the code itself.  
> **username_2**: @JonWeedin look at my answer, its really your javascript that cause your issue.  

---

## 2 answers

### Answer by username_0 on 2019-03-08. Score: 1 | Accepted answer

Finally figured this out! GoDaddy was adding some random JavaScript to my page because my client had purchased a "Search Engine Visibility" package from them. When I turned off that package inside GoDaddy, my page worked as expected.


---

### Answer by username_2 on 2019-02-06. Score: 2

Your  is well displayed in the source code, but not in the inspector; Try to remove and/or fix what interfere with this piece of HTML (JS?).

Edit: If I disable JavaScript on my browser, everything is fine on your site.

> **Comments:**
> **username_0**: It appears that **jshint** (the last `<script>` tag in the `<head>`) is being injected into my site, but that's not in my template. I'm only loading Google Analytics, jquery, and a custom app.js; when I removed those three `<script>` tags from my _layout, it still had the same issue. Any idea on how to remove this random `<script>` that shouldn't be on my site?  
> **username_2**: You have no control on that JS? Is it hooked by some Craft tag, try to put your JS in the footer (or remove the `{{ head() }}` function for test purpose.  

---

