• Resolved barnez

    (@pidengmor)


    Hi,

    I have a site with the Academica theme installed, and am having a minor issue with a back_menu_hover.png call when the page loads. With the Redirection plugin installed I found I was receiving 20+ 404 errors daily for the following url https://www.englishlc.com/wp-content/themes/academica-1/images/back_menu_hover.png.

    I have searched through the wp-content folder in the cPanel but have been unable to find the image file. So I decide to set up a 301 redirection to the homepage. That redirection is busy, and has notched up 344 hits in past few months. When I check the site loadup on https://pingdom.com, I see the empty call for the /wp-content/themes/academica-1/images/back_menu_hover.png taking up o.5 seconds on every load, while waiting for an image file which doesn’t exist.

    I’ve tried blocking the file in the robots.txt file, but that doesn’t seem to make any difference. I am thinking that somewhere in my theme’s code there is a call for this file every time a page loads, but I’m not sure where to hunt for it? Style.css?

    Any signposts would be great at this point.

    Thanks

    Site: https://www.englishlc.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • That file is called in line 36 of your style.css

    #menuhead a:hover, #menuhead .current-menu-item > a {color: #fff; text-shadow: #b86d21 1px 1px 0; background: #6E7849 url(images/back_menu_hover.png) repeat-x top left; }

    just delete that url(images/back_menu_hover.png)

    Thread Starter barnez

    (@pidengmor)

    Found, removed and resolved!

    Plus, I have a new understanding of the relationship between the calls from my site and the code in the style.css file.

    Thanks for your help zex2911. Very much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mystery of the back menu hover.png call’ is closed to new replies.