How to remove unwanted text appearing on each page of Debut theme?

Hi,

i need help. Some text is appearing at the top left corner of each page. I don’t know what is wrong. I think it is because i messed up with code. I am using Debut theme.

See attached SS

111_LI.jpg

Store link is: https://resumesstore.com/

1 Like

Hello, @bilalkhan_1

Welcome to the Shopify community!
and Thanks for your Good question.

Please share your site theme.liquid code
So I will check and provide a solution here.

1 Like

  
  
  
  

  {%- if canonical_url != blank  -%}
    
  {%- endif -%}

  {%- if settings.favicon != blank -%}
    
  {%- endif -%}

  {%- capture seo_title -%}
    {%- if request.page_type == 'search' and search.performed == true -%}
      {{ 'general.search.heading' | t: count: search.results_count }}: {{ 'general.search.results_with_count' | t: terms: search.terms, count: search.results_count }}
    {%- else -%}
      {{ page_title }}
    {%- endif -%}
    {%- if current_tags -%}
      {%- assign meta_tags = current_tags | join: ', ' -%} – {{ 'general.meta.tags' | t: tags: meta_tags -}}
    {%- endif -%}
    {%- if current_page != 1 -%}
      – {{ 'general.meta.page' | t: page: current_page }}
    {%- endif -%}
    {%- assign escaped_page_title = page_title | escape -%}
    {%- unless escaped_page_title contains shop.name -%}
      – {{ shop.name }}
    {%- endunless -%}
  {%- endcapture -%}
  

  {%- if page_description -%}
    
  {%- endif -%}

  {% include 'social-meta-tags' %}

  {{ 'theme.scss.css' | asset_url | stylesheet_tag }}

  

  {%- if request.page_type contains 'customers/' -%}
    
  {%- endif -%}

  
  
  

  {{ content_for_header }}

  {{ 'general.accessibility.skip_to_content' | t }}

  {%- if settings.enable_ajax -%}
    {% include 'cart-popup' %}
  {%- endif -%}

  {% section 'header' %}

  

    

    {% section 'footer' %}

    
      {{- 'sections.slideshow.navigation_instructions' | t -}}
    

  

  
    - {{ 'general.accessibility.refresh_page' | t }}

    - {{ 'general.accessibility.selection_help' | t }}
  

@bilalkhan_1

Thanks for code

i have check this code but sorry i can’t find exactly issue on this code so

I need your store login details. Yes, I know your login details are confidential. For this second option, I have added your store to my Shopify partner account so I will check your code easily and manage what you think about it?

1 Like

So what exactly i need to provide you to resolve this problem?

I thought this is because of theme code. But now i change my mind because i install 2 other themes and preview them and same problem is happening. So it means there is not a problem with code but there is something else that is causing this problem.

1 Like

@bilalkhan_1

Yes, maybe try your old theme.code revert other let me know

Yes i revert to original. But it didn’t help. Already tried it

Hi,

What apps have you installed?

What changes have you made that may have caused this?

We can see the code on the page just under the tag on the website. If you have tried different themes, then an app is inserting that code, or you have played with “additional scripts” or half a dozen other things. To go thru each one here will take longer than necessary.

Perhaps you wrote some code for the ‘twitter’ meta tags? Since those characters are each side of that? If so remove the

">

before the twitter meta and

">

after the twitter meta tags.

Hello,

I am having issues across web and mobile with a random line of code appearing at the bottom of the page.

Screenshot attached.

#page h1{ text-align:center } /* change the page titles to be be centered */

https://tonyscollectibles.com/

How do i get rid of this code without messing up the website? Thanks!

1 Like

It’s some random CSS, no one can really tell you where to look. Maybe in theme.liquid in your Layouts folder, maybe footer.liquid in your templates folder, or perhaps a footer-template.liquid in your sections folder. Open those and ctrl + f and search for “#page h1” and see if you can’t find it and delete it.

@Frank_Mancuso

sorry for this issue

can you please remove bottom of the theme.liquid this code

#page h1{ text-align:center } /* change the page titles to be be centered */

and move this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/timber.scss.liquid->paste below code at the bottom of the file.

change the # to /*

so that line becomes

/page h1{ text-align:center } / change the page titles to be be centered */

it looks like you tried to hide that CSS line, if you are lost where to change that line, ask the person who did that change where it is.

Probably online store >> edit code >> assests >> theme.scss or similiar

Msg me if you are lost, and I’ll have to colab in and fix in faster than Isain Bolt

:open_mouth:

Glad that helped :),

dont forget to ‘Accept as solution’ & Smash the like btn !!!

Any other design changes or quirks, just reach out to me. :slightly_smiling_face: