Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9127841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:22:40+00:00 2026-06-17T07:22:40+00:00

I have created a new custom WordPress theme. Stripping out the WordPress drag and

  • 0

I have created a new custom WordPress theme. Stripping out the WordPress drag and drop menu stuff, I have this html:

<div id="navbar">
 <div id="navholder">
  <div id="navbarleft">
  <ul class="sf-menu">
  <li><a href="http://mydomain.com">Home</a></li>
  <li><a href="http://mydomain.com/privacy/">Privacy</a></li>
  </ul>
  </div>
 </div>
</div>

and this CSS:

#navholder {
    float:              left;
    width:              100%;
    font-weight: bold;
}
#navbar {
    width: 960px;
    height: 33px; 
    font-size: 18px;
    color: #eee;
    margin: 0px auto;
    padding: 0px;
    }
#navbarleft {
    width: 950px;
    float: left;
    margin: 0px;
    padding: 0px;
    }
.sf-menu, .sf-menu * {
    margin:         0;
    padding:        0;
    font-size:13px;
    list-style:     none;
}
.sf-menu {

    float:left;
        width:100%;
}
.sf-menu ul {
    position:absolute;
    top:-999em;
    width:15em; 
}
.sf-menu ul li, .topsf-menu ul li {
    width:100%;
}
.sf-menu li:hover, .topsf-menu li:hover {
    visibility:inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
    float:left;
    position:relative;
    background:transparent;
}
.sf-menu a {
    display:block;
    position:relative;
    color: #CCC !important;
    padding:9px 15px;
    text-decoration:none;
    text-transform:uppercase; 
}
.sf-menu li:hover ul, .sf-menu li.sfHover ul {
    left:           0;
    top:            2.5em; 
    z-index:        99;
}
ul.sf-menu li:hover li ul, ul.sf-menu li.sfHover li ul, ul.topsf-menu li:hover li ul, ul.topsf-menu li.sfHover li ul {
    top:            -999em;
}
ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul, ul.topsf-menu li li:hover ul, ul.topsf-menu li li.sfHover ul {
    left:           15em; /* match ul width */
    top:            0;
}
ul.sf-menu li li:hover li ul, ul.sf-menu li li.sfHover li ul, ul.topsf-menu li li:hover li ul, ul.topsf-menu li li.sfHover li ul {
    top:            -999em;
}
ul.sf-menu li li li:hover ul, ul.sf-menu li li li.sfHover ul, ul.topsf-menu li li li:hover ul, ul.topsf-menu li li li.sfHover ul {
    left:           15em; /* match ul width */
    top:            0;
}
.sf-menu ul li a {
    color:              #eee;
    padding:            5px 15px;
    text-decoration:    none;
    border:             1px solid #777;
}
.sf-menu li li {
    background:         #162934;
}
.sf-menu li li li {
    background:         #999;
}
.sf-menu li:hover, .sf-menu li.sfHover, .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
    background:         #162934;
    outline:            0;
}

The menu displays fine in Firefox and IE but Safari places the menu’s text too low.

NOTE: THIS IS ONLY SAFARI ON iOS.

Any ideas why this may be happening?

JSFiddle Demo

Update: Please note, the fiddle demo appears fine on iOS Safari, but the problem happens on this live site with similar template here:
http://www.badassgamereview.com

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T07:22:41+00:00Added an answer on June 17, 2026 at 7:22 am

    I dont see any problems except that in Safar PRIVACY looks kinda like PRIV ACY with a little space but that could be because of the browser cause every browser reads a font differently. you can add line-height: 18px but i’m really not sure what is your problem

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my current set up. I have created a new custom theme with
I have a nib file. In this I created a new custom view (of
I have created a custom control inheriting TextBox . This custom control is a
I have created Custom slideshow post type.Images set as featured images for each new
I am currently working on a Wordpress site I have created some custom Post
I have a register form created by mvc3 scaffolding. e.g. <div class=editor-label> @Html.LabelFor(model =>
I have created a new Custom Control inheriting from Bar control of DevComponents.DotNetBar controls.
I'm very new to using SharePoint. I have created a custom list that I
I have added a custom post and a custom taxonomy to my wordpress theme.
I have created a new custom module and DB table for magento. What is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.