Need help to remove some unknown codings from site

Hi,

I’m using Renew.
However there are some “Authentic Jersey” words and links appearing on my site around the footer.
I think it’s inside the style.css, how can I remove this?

Please refer to image attached.

Can somebody give me a custom css coding to overwrite this or something?

Thank you.

Hi Suleen,

Thank you for reaching out to us. If you know where these links are then the best way is to find them and remove both links directly from your content. However you can hide them with CSS too. Add the following code in the Theme Options > CSS:

a[href="http://www.footballcardinalsofficials.com/Authentic-Chad-Williams-Jersey"], a[href="http://www.sabresteamprostores.com/Matt_Moulson_Jersey"] {
    display: none;
}

Don’t forget to clear all caches including your browser’s cache after adding the code. Let us know how this goes!

Hi Nabeel,

Thank you for replying!
It works!

I think the these links are inside style.css file, how do I remove them without using the control panel?

Thank you.

Hello Suleen,

You are having this issues because you have modified the template in your child theme and you added this lines:

<a href="http://www.sabresteamprostores.com/Matt_Moulson_Jersey">Matt Moulson Authentic Jersey</a>&nbsp;nbsp;
<a href="http://www.footballcardinalsofficials.com/Authentic-Chad-Williams-Jersey">Chad Williams Authentic Jersey</a>&nbsp; 

If you can remove this codes, then the given css is no longer necessary.

I checked my child theme. Style.css is empty.
Whereas functions.php has only these:

<?php

// =============================================================================
// FUNCTIONS.PHP
// -----------------------------------------------------------------------------
// Overwrite or add your own custom functions to X in this file.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Enqueue Parent Stylesheet
//   02. Additional Functions
// =============================================================================

// Enqueue Parent Stylesheet
// =============================================================================

add_filter( 'x_enqueue_parent_stylesheet', '__return_true' );



// Additional Functions
// =============================================================================
// 
// Add Ad above the navbar
// =============================================================================
function ad_leatherboard(){ ?>
  
  <div class="custom-ad max width center-text pam">
    <!-- Ad Leatherboard -->
    <a href="http://www.aftershockpc.com" target="_blank"><img src="http://www.thepcshow.com.sg/wp-content/uploads/AfterShock.png" alt="Ad Image" class="right" style="padding:0px 0px 10px 0px;"></a>
  </div>

<?php }
add_action('x_after_view_global__nav-primary', 'ad_leatherboard');

So I guess it’s not in my child theme like what you said?

Hello Suleen,

If you do not have any template files in the child theme, then the links must have been added in the parent theme. If you can give me access to your site, I would be happy to find it and remove it for you. You can insert the WP credentials in a secure note in your next reply. To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Best Regards.

Hi yes please assist to remove them.

Thank you!

Hello Suleen,

Just as I expected, the code is in the footer.php of the parent theme.

I went ahead and removed it already. The custom css is no longer necessary so you can remove the custom css now.

Please check your site now.

Thank you so much RueNel! :slight_smile:

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.