• Hello all

    I’m having some issues with my website. It’s http://www.chronicchronicles.co.uk

    1) I have some stray code at the bottom of my site. It says “ul.nav a { font-size: 25px !important;}”

    I’ve looked through all my .php files and can’t see it anywhere. My friend had a look and said that it looks like a fragment from a CSS file dictating an enforced font size style rule for an UnorderedList for navigation. Any idea how I can fix this please?

    2) The other day my site got an Internal Server Error. I changed the name of the .htaccess file, and the error vanished. I was told to go into settings, permalinks and save it, and it will generate a new one. But it doesn’t seem to be doing that? If I change the name back, the error appears again. Do I need to fix this?

    3) My menu has become really slow. Clicking on a tab takes about 7 seconds to load, instead of instantly. I think it might have happened since the .htaccess issue, could this be the case? If not, how could I fix this please?

    Thanks all in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi there :).

    1. Looking at the location of the stray code, it looks like it could be added in by a plugin. Try disabling all your plugins and see if it goes away.

    2. Is a box being presented when you save your .htaccess saying “Unable to create a .htaccess file, please copy and paste to your .htaccess file”? If so, your htaccess cannot be written. If you can, change the permission settings on your .htaccess to 777 (you can read how to do this here – http://codex.wordpress.org/Changing_File_Permissions#Using_an_FTP_Client), save, and then change the settings back (to 664, or 660). That should work.

    Alternatively, create a file on your computer called .htaccess, copy the code presented in the box at the start of this answer into that file, and upload it.

    3. It could be a numerous number of issues. Again if you have a lot of plugins on your site that can slow down your site. Also could be external factors, such as a server your site being on being slow, even your connection to the internet (though I did feel it was slow).

    You can try having a look at caching plugins to speed it up. For example, WP Super Cache – https://wordpress.org/plugins/wp-super-cache/ – is fairly easy to set up.

    Hope that helps!

    Rhys

    Thread Starter jazabelle

    (@jazabelle)

    Thanks so much! I’ve sorted out the htaccess stuff.

    My menu now seems to be quicker too, which is great. It did seem to go slow when that file corrupted, so glad it’s sorted. Is it quicker for you too please?

    I just need to figure out the stray code now.

    Thread Starter jazabelle

    (@jazabelle)

    I deactivated all plugins, and the code remains.

    It seems quicker :).

    Hmmmmm…. could possibly be in your theme. Open up your footer.php file of your theme (it should be in the wp-content/themes/Magnificent/footer.php), and do a search for that rouge CSS in there….

    Thread Starter jazabelle

    (@jazabelle)

    Thanks!

    Nope, it’s not in that folder. It is a mystery!

    Hmmmmm…..caching maybe? Do you have any caching running on the site (something like WP Super Cache/WP Total Cache)?

    Thread Starter jazabelle

    (@jazabelle)

    No – I did, but deleted it. Have also deactivated all plugins, and it remains.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Three Problems’ is closed to new replies.