-
AuthorPosts
-
awakedesignstudios Friend
awakedesignstudios
- Join date:
- June 2011
- Posts:
- 14
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 5
June 8, 2011 at 9:07 pm #165002Hello,
I want the main menu to be centered, I have only 4 menu items and it aligned on the right so its not centered now. Where should I add the code to push the menu over?
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
June 9, 2011 at 1:40 am #395380File Path: /templates/ja_droid/css/menu/mega.css
you need to add this code in this file. you can increase the 50px in the below code to untill you get the menu centered
.ja-megamenu { margin: 0 50px !important; padding: 0; }
Note: If you Find my Post useful please click on the Thanks Icon
1 user says Thank You to chavan for this useful post
June 27, 2011 at 6:56 pm #398706<em>@Chavan 245792 wrote:</em><blockquote>File Path: /templates/ja_droid/css/menu/mega.css
you need to add this code in this file. you can increase the 50px in the below code to untill you get the menu centered
.ja-megamenu { margin: 0 50px !important; padding: 0; }
Note: If you Find my Post useful please click on the Thanks Icon</blockquote>
Is there a way to make a horizontal main menu completely auto-width to 100%? I’m hoping there’s CSS that will work cross-browser such as { width: auto; } or { width: 100%; }, or to give a parent DIV a specific pixel width, and assign 100% or auto to the individual menu items.
Thanks!
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
June 29, 2011 at 7:32 am #399033why do you want to this ? Please explain me with a screenshot about your Fix.
June 29, 2011 at 10:25 am #399077It’s something I’ve wanted to do before, but now I’ve had several clients ask me for it. Screenshots attached of what it is and what I want. I also want to leave my client with the option to potentially add another menu item in the future without having to make CSS adjustments to a stylesheet. For instance, if another short menu item is added, the existing menu items will auto compensate L and R padding to accommodate it.
Thanks in advance for any help..
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 3 voices, and was last updated by artcop 13 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum