|
#1
Oct 13, 2012, 02:54 PM
|
|
Hi,
I just started using the Atahualpa Theme v 3.7.9. and I'm just getting familiar with it and coding. This may seem like a simple question but how do you increase the spacing between the menu items? I would like to increase the spacing between the words Home, About, Contact, etc...
I looked under
Atahualpa Theme Options
- Header Area
- Menu 1 (Page Menu)
And I don't see a setting to increase the spacing. I looked all over and can't seem to find it(unless I'm over looking something)
Can anyone inform me on how to do this? I would assume it's a simple thing, since almost everything else on this theme is pretty much easy to configure.
thanks in advance!
|
#2
Oct 13, 2012, 03:39 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
did you try a search of the forum?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
Oct 14, 2012, 01:27 PM
|
|
yeah..I searched the forum and didn't find a response to what I was looking for. Some posts were talking about inserting code...but I have no idea
1. what the code means
2. where you would insert it
Isn't there a way to increase the spacing using the options under "Atahualpa Theme Options" somewhere?
Thanks!
|
#4
Oct 14, 2012, 06:03 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
You need to add some CSS to add padding or margins to the sides of the menu elements. You can do it by adding CSS inthe CSS inserts option
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Last edited by lmilesw; Oct 16, 2012 at 08:54 AM.
|
#5
Apr 30, 2013, 07:53 PM
|
|
|
201 posts · Jul 2010
Kentucky
|
|
Can you tell me the css code to add that will put space between the page menu items? They are very crowded. You can see it here:
HomesForSaleWinchesterKy.com
Thank you!
|
#6
Apr 30, 2013, 08:38 PM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
Just add side margins to the list items of #rmenu2
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#7
May 12, 2013, 11:08 AM
|
|
|
201 posts · Jul 2010
Kentucky
|
|
Where do I go to do that, please? I went here in the Editor:
bfa_new_wp3_menus.php
Tried margin: 5 auto, then margin 15 auto, the just margin 15 and no difference. I must be in the wrong place...
------------
if ( $theme_location == "menu2" )
$before_menu = '<div id="bfa_cat_menu"><table cellpadding="0" cellspacing="0" style="margin: 0 auto"><tr><td align="center">';
$after_menu = '</td></tr></table></div>';
}
------------
Then tried adding this to the stylesheet and nothing.
.rmenu2 {
margin-right: 5px;
}
------------
Need more hints...
|
#8
May 12, 2013, 11:12 AM
|
|
|
201 posts · Jul 2010
Kentucky
|
|
Tried adding to the css inserts box, no change:
.rmenu2 {
margin-right: 5px;
}
also:
.rmenu2 {
margin: 5px;
}
|
#9
May 12, 2013, 11:16 AM
|
|
|
201 posts · Jul 2010
Kentucky
|
|
This worked to add margin to the bottom of the menu:
div#menu1 {
margin-bottom: 10px;
}
What is the word to add margin to the right of a menu item? This will probably move the whole thing off-center, but at least I'd like to give it a shot.
Thank you.
|
#11
May 12, 2013, 02:40 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
what you said, in english, is
Quote:
Put a 10px bottom marging and a 50px right margin on the DIV with the ID of 'menu1'.
|
and if you look at that div in firebug and toggle the margins, you will see the DIV shift.
Now you didn't tell it to do anything about the elements within that DIV
|
#12
May 12, 2013, 06:45 PM
|
|
|
201 posts · Jul 2010
Kentucky
|
|
Only because I don't know what I'm doing Don't know what a div is or firebug... I try to figure out what you and lmiles are saying, search and find code, then copy and paste hoping for the best. That's how I found this:
div#menu1 {
margin-bottom: 10px;
}
I put it in the css inserts box and it worked perfectly to add 10px to the bottom margin of the menu. So I figured it would work for the margin. But "margin-right: 50px" doesn't add 50px of margin to the right of either the menu items or the entire menu. It doesn't do anything.
I need more clues as to what I'm looking for... going to search for "elements within a div."
P.S. I just put a 50 in there so that the change would be so big, I'd know for sure it worked. Probably somewhere between 5px and 10px will be the right amount.
|
#13
May 12, 2013, 07:35 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
|
#14
May 12, 2013, 11:07 PM
|
|
|
201 posts · Jul 2010
Kentucky
|
|
Thank you -- I read thru that. I pasted the page menu item css into the CSS Inserts box, messed with it to try to get a result. Here's what it is now:
/* ================================================ */
/* Page Menu item's background and border */
/* ================================================ */
div#menu1 ul.rMenu {
background: red;
border: 10px;
margin-right: 25px;
}
No change at all to the menu. Not even a red background...
|
#15
May 13, 2013, 05:27 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Sorry, the looks like the color cheat sheet doesn't work wher the menu is centered...
try this in the CSS inserts
HTML Code:
div#menu1 ul.rMenu li {border-left: solid 20px red;}
div#menu1 ul.rMenu li:first-child {border-left: none;}
|
#16
May 13, 2013, 07:56 AM
|
|
|
201 posts · Jul 2010
Kentucky
|
|
Thank you, that did it. Haha, you slipped the red in there and I didn't even see it. Imagine my surprise!
So I just need to figure out the "ul.rMenu" -- that must identify the elements in the div? I'm taking the coding classes at htmldog that was recommended somewhere else.
|
#17
May 13, 2013, 08:06 AM
|
|
|
201 posts · Jul 2010
Kentucky
|
|
Ok, I can't change the color to white (or to any other color so far). When I deleted the word "red", it changed to black. Now it won't even go back to red.
How do I make the border white? I have my background set to white, border set to white, everything set to white except hover to gray and link text to black. Thank you!
Last edited by Sally; May 13, 2013 at 08:14 AM.
|
#18
May 13, 2013, 08:13 AM
|
|
|
201 posts · Jul 2010
Kentucky
|
|
If you could reach me, you would slap me. As I was looking for why the background was black between the menu items, I saw that in my border criteria, I left out the word "solid" (or "dashed") so it read: "5px #ffffff" instead of "solid 5px #ffffff". When I added the word solid, the menu spaced to 5px apart right away.
That was in addition to the 10px in the code you gave me, so I deleted that and now it's spaced as it should be.
Thank you!!!
|
|