• Resolved sandra408

    (@sandra408)


    Hi.

    I started to test my new site (was based on TwentyTen theme) and while testing on IPhone, came across this problem: the last page link (along with its vertical-link-divider image) from my header menu is pushed under the menu itself. I figure it is because the menu letters size stayed the same in the IPhone viewing window. Or is the anything else I am missing. How to fix this problem?? Does anyone know? Thanks for any input.
    Below is the CSS for my menu:

    #access {
        background: url("images/menu_bg.png") no-repeat scroll 0 0 transparent;
        display: block;
    	float: right;
        width: 563px;
    	height: 53px;
        margin: 34px auto 0 auto;
    }
    #access .menu-header,
    div.menu {
    	font-size: 18px;
    	text-transform: uppercase;
    	margin-left: 2px;
    	width: 563px;
    }
    #access .menu-header ul,
    div.menu ul {
    	list-style: none;
    	margin: 0;
    }
    #access .menu-header li,
    div.menu li {
    	float: left;
    	position: relative;
    }
    #access a {
    	color: #fff;
    	display: block;
    	line-height: 53px;
    	padding: 0 28px;
    	text-decoration: none;
    }
    #access ul ul {
    	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    	display: none;
    	position: absolute;
    	top: 53px;
    	left: 2px;
    	float: left;
    	width: 180px;
    	z-index: 99999;
    }
    #access ul ul li {
    	min-width: 180px;
    }
    #access ul ul ul {
    	left: 100%;
    	top: 0;
    }
    #access ul ul a {
    	background: #F84E10;
    	line-height: 1em;
    	padding: 10px;
    	width: 160px;
    	height: auto;
    }
    #access li:hover > a {
    	color: #fff;
    }
    #access ul ul :hover > a {
    	background: #F58B41;
    	color: #fff;
    }
    #access ul li:hover > ul {
    	display: block;
    }
    #access .menu-header li, div.menu li
     {
     float: left;
     position: relative;
     background-image:
     url(images/ver.png);
     background-repeat: no-repeat;
     }
     div.menu li:first-child
     {
     background:none;
     }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to adjust letter sizing in the menu-header div for viewing in IPhone.’ is closed to new replies.