navbar css

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

navbar css

Postby callmeandy » 09 Aug 2012, 13:43

Hi,
trying to adjust the navbar heights and ending up with a gap between the children and the top level menu (please ignore the spelling) in the image
menu.jpg
menu.jpg (34.15 KiB) Viewed 286 times
but can anybody advise me where else I need to look. I am guessing this is a margin or padding thing but my CSS is not good!

This in Custom Includes:
#nav a, #nav a:visited {
height: 10px;
line-height: 10px;
}
#nav ul ul li a, #nav ul ul li a:visited {
line-height: 10px;
position: relative;
}




Andy
callmeandy
 
Posts: 30
Joined: 15 Jun 2012, 19:33

Re: navbar css

Postby sayontan » 09 Aug 2012, 14:44

Kind of hard to say with a URL. My hunch is that the #nav ul > ul element needs to have its "top" value reduced to something linke 20px.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10161
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: navbar css

Postby callmeandy » 10 Aug 2012, 00:14

I guess I am not seeing what you mean here!
menu2.jpg
menu2.jpg (37.96 KiB) Viewed 273 times


with
#nav a, #nav a:visited {
height: 10px;
line-height: 10px;
}
#nav ul ul li a, #nav ul ul li a:visited {
line-height: 10px;
position: relative;
top: 20px;
}
callmeandy
 
Posts: 30
Joined: 15 Jun 2012, 19:33

Re: navbar css

Postby Colin » 10 Aug 2012, 04:27

This is what I see and don't see an issue

1.png
1.png (97.95 KiB) Viewed 268 times
Colin
 
Posts: 2858
Joined: 27 Oct 2009, 10:46

Re: navbar css

Postby callmeandy » 10 Aug 2012, 06:05

Appolgies - what you are seeing is an online test site, at a different stage in the development process to what I am looking at - I should have made it clear. I am looking at a local production platform.

As you will notice the top level menu bar is still default sized in what you are looking at.

The relevent part of the html ouput for the example I gave if it helps is :
<ul class="sub-menu">
<li id="menu-item-469" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-469"><a href="http://localhost/blog-spot-2/the-open-blog/">The Open Blog</a></li>
<li id="menu-item-711" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-711"><a href="http://localhost/sites/">Sites</a></li>
</ul>
callmeandy
 
Posts: 30
Joined: 15 Jun 2012, 19:33


Return to Support Requests

Who is online

Users browsing this forum: Google [Bot], KifyIrralay, morselsoflife, tbyylpqk, Traugsnus and 7 guests