-
AuthorPosts
-
March 23, 2012 at 11:55 am #175325
How can I center the menu bar at the top in this template? I imagine that I’ve to edit a css but I’d appreciate if someone tell me where and how.
Thanks…
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 23, 2012 at 12:39 pm #445326Can you give me a link to your site so I can take a look. The menu should already be centered.
March 23, 2012 at 2:39 pm #445347Thanks Phil but now is on a local machine since it’s in development but the menu bar is not centered, not even in your demo site.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 23, 2012 at 2:46 pm #445350It is centered on the overall screen but not in the bar itself. That is by design.
You can moce it by changing
.ja-megamenu ul.level0 {
margin: 0;
padding: 0;
}to
.ja-megamenu ul.level0 {
margin: 0 0 0 30px;
padding: 0;
}Where the 30px you would need to adjust the value to position well.
March 23, 2012 at 3:47 pm #445359Thanks but exactly in what file?
March 23, 2012 at 3:50 pm #445360The only two possible changes are in mega.css here
/* lv - 0
-----------------------------------*/
.ja-megamenu ul.level0 li.active a.mega {
color: #fff;
}.ja-megamenu ul.level0 li.over a.over {
background: #3C5189;
}but are different from what you’re writing
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 23, 2012 at 4:16 pm #445369The code would be in mega.css line 22 in the plugin folder but if you just add the above to the end of your templates>ja_droid>css>menu>mega.css that would do the trick.
March 23, 2012 at 5:01 pm #445383Solved thanks!!!
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 2 voices, and was last updated by andreamarucci 12 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Centering the menu bar
Viewing 8 posts - 1 through 8 (of 8 total)