test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • joshuaharris Developer
    #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


    1. 20150429-frontpage
    2. 20150429-frontpage-menu-1
    3. 20150429-frontpage-menu-2
    kristaberri Friend
    #568837

    I 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 Friend
    #733930

    I 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.

    joshuaharris Developer
    #568840

    Thanks for the tip krista. I tried that already and as you can see the menu background is still full-width.


    1. 20150429-frontpage-menu-3
    joshuaharris Developer
    #733933

    Thanks for the tip krista. I tried that already and as you can see the menu background is still full-width.

    kristaberri Friend
    #568845

    Aaah 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 Friend
    #733938

    Aaah 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 Moderator
    #568918

    @joshuaharris: Can you give me the URL of your site? I will help you to check it directly on your site.

Viewing 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