![]() |
WP CSS Problem w/ Desktop and iPad Safari
I'm currently using the Genesis Framework for WordPress for the construction of a CONCEPT SITE. Everything looks to be fine, except for some weird things Safari seems to be doing on both the desktop and iPad versions.
1.) On the desktop version, if you hover over "Chromatics" in the nav menu a drop-down menu appears. Code:
.sub-menu a {Code:
.sub-menu a {2.) On the iPad I seem to be having a weird zooming problem. I'm not sure where it came from, but it's almost as if the iPad starts zoomed in at a 1:1 ratio instead of giving me a 100% zoomed out fit to frame view like it normally does with other sites. I've found SOME workarounds, but they're hard to apply because of the framework I'm utilizing. Another problem I seem to be having on the iPad is the menu in the footer. I have it enough of a width in order to display all on one line. This seems to not be the case though as in either position the iPad renders it like it didn't receive enough space and has to move down. What did I do wrong here? |
Hello Psionicsin,
I'm not sure what min-height: auto; will do for you as that is invalid. See min-height property here. I don't have Safari to see what your issue is. Seems to look fine in FF18. Maybe you should specify what min-height or line-height instead of leaving it up to the browser? You may also need to be more specific with this bit of CSS as well - Code:
.menu-primary a, #header .menu a { |
Quote:
I have this coding for the primary navigations anchor links: Code:
.menu-primary a,Code:
.sub-menu a { |
Quote:
|
Quote:
Is there an alternate way to accomplish what I'm try to achieve? Maybe changing the getting rid of min-height, but still being able to retain the position of the sub-menu to line up with the bottom of the menu? For some reason I'm having a difficult time wrapping my head around their css usage. |
Here's a PasteBin of the edits I've made thus far:
My PasteBin File Please let me know if something is erroneous or whatever. |
Quote:
|
Quote:
Also I'm not even sure why I started using min-height to begin with. Well the min-height with an attached pixel value did work, but I didn't want the value transfered down to the children. And although I COULD specify a pixel value for the children...I can't guarantee that it'll hold based upon what text length is inside of the child areas. Or maybe I'm over thinking this...? |
Quote:
|
Quote:
I think you are making it pretty complicated. I'll work up a little demo that might show you how easy it can be ... I'm off to town right now though. |
Quote:
So far I'm liking it...did I do anything wrong? |
Quote:
It looks like you use both visibility: hidden/visible and position the dropped ul off/on the page to hide or display your ul. You don't need both. Currently, all my examples use visibility: hidden/visible; or display: none/block; to control the dropped menu. I am moving over to positioning off the page as page readers won't see the dropped menu if it's hidden (it's a handicapped access thing). Look at your menu like this (minus the js transition you put on the most recent version). Maybe this can be adapted to your genesis framework, maybe not. It seems much less complex... Code:
<!doctype html> |
I see what you're doing.
However the things you mentioned are apart of the Genesis framework. There are 2-3 menus that come registered by default. It might be for those as well? And this is also the first time I'm working with it, so I'm trying to mess with as few things as possible for fear of breakage lol. They have their default theme (which one buys), and then a suggested child-theme template to build off of. I'm building off of their suggested CTT just to get the hang of this non-sense. Probably WON'T be using it in the future though lol. But I do have one last question...my footer menu doesn't seem to be centering the way I need it to. I'm pretty sure there's some block of code in their BS that's obfuscating what I'm trying to do. Any help with that? |
Quote:
|
Quote:
Thanks a lot for your help @Excavator |
| All times are GMT +1. The time now is 04:51 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.