-
AuthorPosts
-
April 29, 2015 at 3:06 pm #205937
First of all, thanks in advance to anyone who can help me out with this. Hopefully it’s a simple fix that I’m just overlooking. So, I want to use the T3 blank template and style from there. I also want to use the megamenu and justify the menu to be the full width of the page. May problem is that when I justify the mega menu, it becomes the full width of the browser page, not the site width. And I can’t figure out the problem.
I think it has something to do with the .container class not being applied to the dropdown menu, but I don’t know how to fix that. I’m pretty familiar with CSS, but not with PHP or coding.
I’ve attached a few screen shots.
The first is the front page in development. I set the site width at 970px. (It’s on a local box, so I don’t have a link.)
The second shows the drop down menu justified and at the full-width of of the browser. It should be justified at 970px, but it extends the full-width of the browser page.
The third image shows where I want the menu to justify to, which is the width of the page.
Thanks,
Joshua- kristaberri Friend
kristaberri
- Join date:
- February 2013
- Posts:
- 22
- Downloads:
- 3
- Uploads:
- 1
- Thanked:
- 11 times in 10 posts
April 29, 2015 at 3:22 pm #568837I added the following css in my css file, worked a treat. It might need a bit of tweaking for different screen sizes, I havn’t got there yet.
.mega-align-justify .mega-dropdown-inner{width:1170px;margin:0 auto;}
Hope that helps.
kristaberri Friendkristaberri
- Join date:
- February 2013
- Posts:
- 22
- Downloads:
- 3
- Uploads:
- 1
- Thanked:
- 11 times in 10 posts
April 29, 2015 at 3:22 pm #733930I added the following css in my css file, worked a treat. It might need a bit of tweaking for different screen sizes, I havn’t got there yet.
.mega-align-justify .mega-dropdown-inner{width:1170px;margin:0 auto;}
Hope that helps.
April 29, 2015 at 3:32 pm #568840Thanks for the tip krista. I tried that already and as you can see the menu background is still full-width.
April 29, 2015 at 3:32 pm #733933Thanks for the tip krista. I tried that already and as you can see the menu background is still full-width.
kristaberri Friendkristaberri
- Join date:
- February 2013
- Posts:
- 22
- Downloads:
- 3
- Uploads:
- 1
- Thanked:
- 11 times in 10 posts
April 29, 2015 at 3:45 pm #568845Aaah yes, sorry I misunderstood you, I wanted my background to be the full width but I wouldn’t mi dknowing tis for future reference. I imagine it will mean tweaking the code and possibly adding a container tag.
kristaberri Friendkristaberri
- Join date:
- February 2013
- Posts:
- 22
- Downloads:
- 3
- Uploads:
- 1
- Thanked:
- 11 times in 10 posts
April 29, 2015 at 3:45 pm #733938Aaah yes, sorry I misunderstood you, I wanted my background to be the full width but I wouldn’t mi dknowing tis for future reference. I imagine it will mean tweaking the code and possibly adding a container tag.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 30, 2015 at 7:58 am #568918@joshuaharris: Can you give me the URL of your site? I will help you to check it directly on your site.
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by kristaberri 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum