January 7, 2013 at 12:22 pm #10147
I”m using the Crystal Child theme, which I’ve made quite a few CSS changes to. For my menu, I am using a different background image and a different menu highlight image for the active page. I uploaded the new images to my server and they are named the same as the child theme’s, so I didn’t have to change anything in the CSS. For some reason the background image works, but the highlight image does not. I can’t figure out why, does anyone have any idea?
This is the site with the menu bar as it should look: lanadil.com
This is the dev site where I’m converting it to wordpress: lanadil.evibedesigns.com
January 7, 2013 at 11:29 pm #10287January 7, 2013 at 11:42 pm #10292
You want to style for the class
January 8, 2013 at 12:00 am #10293
Thank you, but maybe I’m still not doing it right. That didn’t work either.
January 8, 2013 at 11:38 am #10394January 8, 2013 at 5:46 pm #10502
I’m not familiar with pastebin.com, but I just created an account. Now what do I do, lol? Create a paste and then what, provide a link to my paste here?
January 8, 2013 at 5:51 pm #10507
Let me know if this works: http://pastebin.com/uS49WvGH
I’ve edited the Crystal child theme, and I don’t think I changed anything in the css except change the background and highlight images. The code you gave me is in there at the top, maybe it’s fighting against other code.
Thanks for looking at it for me.
January 8, 2013 at 6:35 pm #10531
I cannot see your site any more since you have it redirecting to the admin, or are requiring people to log in. Move the code to the bottom of that section and replace .menu.menu-primary with #nav I believe.
January 8, 2013 at 8:26 pm #10564
Oops, I deactivated all of the plugins and forgot to leave that one off when I reactivated them.
I did try changing to #nav and moved the code to the bottom of that section in the css, but still nothing.
January 9, 2013 at 2:47 pm #10780
In Firebug, the ‘menu_highlight.gif’ fails to load. Yet, I have double checked on my server and the file is there and I have the correct url. The permissions are set to readable also. I’ve even tried to upload it again to see if that changes anything, but it did nothing. All other images seem to load. I’m stumped.
January 9, 2013 at 3:25 pm #10803
Have you placed an image called menu_highlight.png in your child theme images folder (that’s what your CSS is calling)? If you made a *.gif, then it probably won’t work calling a *.png.
January 9, 2013 at 3:33 pm #10806
The topic ‘Menu – Highlight Image Not Working’ is closed to new replies.