Jump to content
Sign in to follow this  
nbenson

Adjust distance between navigation pages.

Recommended Posts

nbenson

I want to position my navigations pages closer together instead of spread out as they are by default. How can I adjust the spacing of the navigation pages? Thanks!

Share this post


Link to post
Share on other sites
Rob

Hi, by navigations pages you mean the menu items? Please send a link and describe an example. Thanks.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
nbenson

yes, the menu items natebenson.com/syracuseshows

Share this post


Link to post
Share on other sites
nbenson

I want to adjust the distance/padding between the menu items.

Share this post


Link to post
Share on other sites
Rob

That's a function of CSS. Are you familiar with styling?


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
nbenson

enough to get in trouble, not find a solution.

Share this post


Link to post
Share on other sites
Rob

May I suggest you take a look at http://www.cssplay.co.uk/menus/ and view the source code for any menu that you like. It will give you very specific ideas about how you'd like to style the menu, including the width.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
nbenson

Sure. I guess I'll hit up google again.

Share this post


Link to post
Share on other sites
Rob

There are many excellent sites. The prob for any forum moderator is that we won't know the specifics of the menu you wish to have. We can certainly help you tweak it once you find the model menu you wish and apply the code.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
nbenson

I suppose I wasn't clear. The menue I have is fine. I just want the elements closer together.

Share this post


Link to post
Share on other sites
Rob

The spacing of the elements is a function of styling. There's horizontal padding in menus. To adjust it you need to know the styling element that applies the spacing, but also you need to look at options. This is why I was sending you to those sites. They're also very educational in teaching how CSS applies to menus, what you can do with it and how to apply it.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
nbenson

I think we're splitting hairs here. I have the styling I want. I have the custom code already modifying the menu. I just want the elements closer. Wither its padding or spacing - whatever you want to call it. I'm all for education, and learning css. But I'm looking for specifics. I respect the fact that you're looking for me to learn coding, I get that. But folks come here based on the fantastic support from the Pagelines crew. 9 times out of 10 its a simple line, or a few lines of code that the development team are able to provide. Again, I get you want me to figure it out. But I normally don't post here unless I do a thorough search online. And the information I have found regarding this are long lessons on coding that I'm simply not interested in. I know this will end up being a few lines of custom CSS to adjust, and I was simply looking for the starting point. I appreciate your assistance though. Feel free to close the thread.

Share this post


Link to post
Share on other sites
Jenny
.main_nav ul li {
	    padding: 0 5px 0 0;
	}

will add 5px padding to the right of each menu item. You can adjust the amount or even change the others as well. The order of the numbers is top, right, bottom, left padding. Hope that helps!


Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×