Not all Wordpress pages are displaying menus correctly - wordpress

I am having a specific issue with my wordpress site that I'm trying to resolve.
The site is at www.dontforgetthebubbles.com
As you will see the homepage looks fine.
But many posts are not displaying correctly. As an example:
http://www.dontforgetthebubbles.com/2013/08/cradle-cap/#
The menu columns are all showing simultaneously (hover over 'Clinical' and compare this to the home page to see what I mean)
The 'toggle' button is not working (see http://www.dontforgetthebubbles.com/2013/07/intubating-with-stridor/ for an example of a post where it does work correctly).
I think the issues are related to more recent posts (and the older posts are ok) but it is affecting around 15 posts.
Could anyone suggest what my be causing this?
Thanks

You must have a CSS or plugin causing conflict. I can see that you're loading many stylesheets. Probably have a lot of plugins? Try disabling them one by one, beginning with the most recently installed to narrow it down.

Check all the Javascript files. Looks like some are missing on the pages with the problems. For example, superfish.js or sprite.js. My guess is one of them handles the dynamic menu features with is why <ul class="sub-menu">...</ul> under Clinical doesn't have by default the display:none property unlike your home page.

Related

Search plugin breaking parts of theme

I've been asked to add a search function to a website. I'm trying this out on a testing site at http://www.somethingchronic.org.uk (the password to view is Entrand0s1).
I've installed a search plugin which works on all pages except the home page. On that page it clashes with the script in the slider plugin and when I tried deactivating the slider plugin I also lost the four large buttons at the bottom of the page which are part of the theme itself. Both the slider plugin and the theme are old but I'm hoping to keep the site going for a little while longer if I can. I asked for advice from the search plugin developer who said it's to do with the slider loading an older version of the jQuery library. I searched on here for jQuery library conflicts - one answer linked to the learn.jquery website with a list of options for avoiding library conflicts. There were a number of options for adding code - I tried adding some of these to the header.php document but each time the site broke completely and truth is I don't know enough about jQuery to know which is the correct piece of code to try. Any advice appreciated - would be great to know if there is a way to get the search plugin to also work on the home page whilst keeping the current slider. Many thanks

CSS gets messed up after Ajax page load

I have a website in wordpress. I recently download a plugin called Advanced Ajax Page Loader. It refreshes you content when clicked on other page without refreshing the whole site(header, footer). I tried to get my answer from plugins developer and wordpress support forum, but none responded.
I read that if ajax jquery call is used then all scripts should be reloaded again, for that the plugin have a place where I should put those codes. Until that everything works correctly, except one thin. When I go from a category to category, everything works fine, but when I open a single Post it completely screws up all my css for that page, when I refresh it, everything looks fine but then again, if I open one of the big categories with many posts, then that pages css is messed up.
I though that I could somehow refresh whole css by putting some code in the "Reload code" box, but I have no idea how to do that using scripts. English isn't my native language, therefore I'm having difficulty finding my answer on google, I tried, but my vocabulary is limited. How can I do it?
are you adding CSS classes to your elements via Javascript? If so, then the styles you add will only affect those elements which are part of the DOM at that point in time, so you might be experiencing a race condition, that actually happens to work in Chrome and Safari, but not Firefox.
second try to validate your markup and CSS and see if you have any error in your css syntax ?

Installing a new, custom theme has "broke" current Wordpress installation

I've just finished creating a new custom theme based on the underscores framework, and It's ended up breaking my current wordpress installation after applying it.
Although everything is running fine on the front end, the back end is running really weird.
The following issues have presented themselves:
Trying to add a new post (either regular, or one of the new custom post types I've defined) just results in a blank page. Although the post has been created, the admin section gets stuck on the wp-admin/post.php page.
My media library no longer shows up in the media browser. Although all 6,000+ images are still there, none show up.
When logged in, it takes ages for the page to load in the Wordpress admin bar, as it appears it can no longer display the site stats (it just shows the broken image icon after it's finally finished loading in, when the new theme is selected).
I've tried to refresh the permalinks, but this hasn't worked.
Any ideas? I was hoping to re-launch my website today, but it looks like I might have to put it on hold...
Get ahold of the devs for your framework. Your experience is not an uncommon one. It has happened to my sites several times. Unless you want to tweak the php yourself, they will have to help you.
Managed to sort this out. Turns out a function I had written to add a custom field to menu items broke the entire back end. Thanks for the help everyone!

Cufontext not hiding in IE after being replaced by cufon

This is my site: http://travel.web2c.eu
it is a wordpress installation and the theme is using cufon fonts.
The problem is that in the main page (which is in Greek) the cufontext is not hiding when replaced by cufon. So when the page loads I see every title twice.
This happens only in the main page. Inner pages although they use the same template as the main page are displaying correctly.
The error is displayed when i enable some plugins such as WP UI, GT tabs, sociable, sexybookmarks etc. I tried to avoid plugins that cause the problem, but almost 80% of wp plugins are causing this so I decided to search for a solution.
I posted the error at the theme support page but still no answer.
This is the link: http://support.ait-themes.com/discussion/4172/display-error-in-ie9-probably-with-the-fonts
You can see two screenshots, the first one is with most pluginis disabled, and the second one has GT Tabs enabled (it's the current state of the site).
I would be grateful if anyone could help.
Thanks in advance.

Named anchors issues with Safari and wordpress nav menu

Hey guys, I've tried asking this at the wordpress forums, but I'm not getting much useful assistance...
I've recently built a site for someone, which I'm currently testing (http://www.audaciousdreaming.com/test/), and I'm having a bit of an issue with Safari.
Basically, as can be seen on the site, the drop down menu links are just linking to named anchors within each page. This works perfectly with Firefox, Opera and IE, but Safari doesn't seem to 'see' the hashtag for the anchor in the link. It seems happy enough with the 'top of page' links, but the menu items do not play nice. I've tried with named anchors, named spans, using the 'name' parameter as well as 'id', but nothing works.
I found a forum post somewhere (which I've now managed to lose) that said that if there is some sort of redirect in the page header that Safari will pick this up and lose it's memory of #tags in a way that other browsers won't- I don't know if this is a known issue with Safari? Is there any easy fix?
Interesting -- you can actually see the site redirecting from
http://www.audaciousdreaming.com/test/index.php?page_id=18#Volunteers
to
http://www.audaciousdreaming.com/test/?page_id=18
... so presumably it's the rewriting out of the index.php that's causing the problem. mod_rewrite, from what I remember, can't "carry across" the fragment, so relies on the browser to do that, and Safari isn't doing it.
As a quick and dirty solution, could you simply change the links so they already omit the index.php and therefore don't get rewritten? That will presumably stop your site doing an unnecessary redirect, too, which can't be a bad thing...
I had a similar problem linking to in-page anchors. However, my problem involved javascript that was overwriting the link to the specific anchor and resetting the page to the top of the window.
Have you tried browsing the stack exchange site WordPress Answers? Here's my question there...with a jQuery solution to scroll to a named post id on a page.

Resources